SUM, SUBTOTAL, SUMPRODUCT, SUBSTITUTE, SUMIF and SUMIFS formulas in Excel
Excel SUM Series
Here’s a breakdown of the SUM, SUBTOTAL, SUMPRODUCT, SUBSTITUTE, SUMIF
and SUMIFS formulas in Excel, including their usage and examples
- Let's go over each of these Excel functions with examples to help you understand their use:
1. SUM
The SUM function adds
all the numbers in a range of cells.
Formula: SUM(number1, [number2], ...)
Example: =SUM(H2:H101)
2. SUBTOTAL
The SUBTOTAL function returns a subtotal in a list or database. It can perform various
operations like SUM, AVERAGE, COUNT, etc.
Formula: SUBTOTAL(function_num, ref1, [ref2], ...)
Example: =SUBTOTAL(1,H2:H101)
3. SUMPRODUCT
The SUMPRODUCT function multiplies corresponding components in the given arrays and
then sums
the products.
Formula: SUMPRODUCT(array1, [array2], ...)
Example: =SUMPRODUCT(G2:H101)
4. SUBSTITUTE
The SUBSTITUTE
function substitutes new text for old text in a text string.
Formula: SUBSTITUTE(text, old_text, new_text,
[instance_num])
Example: =SUBSTITUTE(K12,"Great","Hitesh")
5. SUMIF
The SUMIF function
adds the cells specified by a given condition or criteria.
Formula: SUMIF(range, criteria, [sum_range])
Example: =SUMIF(E:E,K15,H:H)
6. SUMIFS
The SUMIFS function
adds the cells specified by a set of conditions or criteria.
Formula: SUMIFS(sum_range, criteria_range1, criteria1,
[criteria_range2, criteria2], ...)
Example: =SUMIFS(H:H,E:E,K19,F:F,K20)
Comments
Post a Comment