SUM Functions in MS Excel
SUM Functions in MS Excel
Functions
in MS Excel
Vishal D.
Aspiring Data Analyst
SUM()
Adds all the numbers in a
range of cells.
SUM(number1,[number2],...)
=SUM(5,5)
=SUMIF(A2:A7,"Vishal",B2:B7)
It finds the SUM of Total Sales by “Vishal”
=SUMIF(A2:A7,"Ch*",B2:B7)
It finds the SUM of Total Sales whose Name starts with “Ch”
SUMIFS()
Adds the cells specified by a given
set of conditions or criteria.
SUMIFS(sum_range, criteria_range1, criteria1,
[criteria_range2, criteria2], ...)
=SUMIFS(C2:C7,B2:B7,"A",A2:A7,"*sh*")
Multiplication of
Sales1 & Sales2
=SUMPRODUCT(B2:B7,C2:C7)
Result=296
=SUMPRODUCT((A2:A7="Vishal")*(B2:B7)*(C2:C7))
Result=73
SUMSQ()
Returns the sum of the squares of
the arguments.
The arguments can be numbers, arrays, names, or references to cells
that contain numbers.
=SUMSQ(B2,C2)
It finds the SUM of SQUARE of given numbers.
Where “8” square is “64” and “6” square is “36”.
SUM of 64+36 = 100
SUMX2MY2()
Sum the differences between the
squares of two corresponding
ranges or arrays.
SUMX2MY2(array_x, array_y)
=SUMX2MY2(A2:A6,B2:B6)
Difference between squares of two arrays.
Arrays 1 Sum=134 and Arrays 2 Sum=107
=134-107 = 27
SUMX2PY2()
Returns the sums total of the sums
of squares of numbers in two
corresponding ranges or arrays.
SUMX2PY2(array_x, array_y)
=SUMX2PY2(A2:A6,B2:B6)
Sums of the sum of squares of two arrays.
Arrays 1 Sum=134 and Arrays 2 Sum=107
=134+107 = 241
SUMXMY2()
Sums the squares of the
differences in two corresponding
ranges or arrays.
SUMXMY2(array_x, array_y)
=SUMXMY2(A2:A6,B2:B6)
Here get the differences between two arrays X and Y
and Squares of different values.
DSUM()
Adds the numbers in the fields
(columns) of records in the database
that match the conditions you
specify.
DSUM(database, field, criteria)
=DSUM(A1:B7,"Customers",A9:A10)
It finds city wise sum of Customers.
IMSUM()
Returns the sum of complex
numbers.
IMSUM(inumber1, [inumber2], ...)
Example1:
=IMSUM(B2,C2)
Example2:
=IMSUM(B3,C3)
If you found it useful
then
THANK YOU
Vishal D.
Aspiring Data Analyst