Week 2 2 Functions SUM SUMPRODUCT Reading
Week 2 2 Functions SUM SUMPRODUCT Reading
Week 2.2.
SUM and SUMPRODUCT Function
SUM function
Use the SUM function in Excel to sum a range of cells, an entire column or non-contiguous cells.
To create awesome SUM formulas, combine the SUM function with other Excel functions.
Sum Range
Most of the time, you'll use the SUM function in Excel to sum a range of cells.
1|P a g e
Data and Computing Skills
Note: you can also use the SUM function in Excel to sum an entire row. For example, =SUM(5:5)
sums all values in the 5th row.
AutoSum
Use AutoSum or press ALT + = to quickly sum a column or row of numbers.
1. First, select the cell below the column of numbers (or next to the row of numbers) you want
to sum.
2. On the Home tab, in the Editing group, click AutoSum (or press ATL + =).
3. Press Enter.
2|P a g e
Data and Computing Skills
You can also use AutoSum to quickly add a total row and a total column.
5. Press ATL + =
3|P a g e
Data and Computing Skills
SUMPRODUCT Function
To calculate the sum of the products of corresponding numbers in one or more ranges,
use Excel's powerful SUMPRODUCT function.
Basic Use
1. For example, the SUMPRODUCT function below calculates the total amount spent.
2. The ranges must have the same dimensions or Excel will display the #VALUE! error.
3. The SUMPRODUCT function treats any entries that are not numeric as if they were zeros.
4|P a g e
Data and Computing Skills
4. If you supply a single range, the SUMPRODUCT function produces the exact same result as the
SUM function.
5|P a g e