Add up a column with SUM

Formula basics · About 4 minutes

Add up a column with SUM

Typing =C2+C3+C4+C5+C6 works, but it gets long. SUM adds up a whole block of cells at once.

What C2:C6 meansThe formula =SUM(C2:C6) over a shopping list. The prices from C2 down to C6 (3.49, 1.99, 2.29, 8.99 and 4.49) are shaded and outlined as one block. A bracket beside the block marks C2 at the top and C6 at the bottom: the colon means down to. The total, 21.25, is in C7.=SUM(C2:C6)ABC1234567ItemCategoryPrice ($)RiceFood3.49SoapHome1.99PastaFood2.29BroomHome8.99TeaFood4.49Total21.25C2down toC6

What C2:C6 means

Exercise 1 of 3 · Worked example

In C7, total all the prices. Type =SUM(C2:C6) and press Enter.

ABC
1ItemCategoryPrice ($)
2RiceFood3.49
3SoapHome1.99
4PastaFood2.29
5BroomHome8.99
6TeaFood4.49
7Total (answer cell)

Questions people ask

What is the shortcut for AutoSum?

In Excel for Windows, click the cell under your numbers, press Alt and = together, then Enter. In Google Sheets, use the Functions (Σ) button on the toolbar and choose SUM.

Why is my SUM total too small?

Check that the range reaches the last row and that no numbers are stored as text. SUM skips text, so numbers pasted from a PDF or website are often left out.

How do I add cells that are not next to each other?

Separate them with commas: =SUM(C2,C4,C6). You can mix cells and ranges, like =SUM(C2:C4,C8).

Can SUM add up a whole column?

Yes: =SUM(C:C). Put that formula in a different column, or it includes itself and causes a circular reference.

How do I add only the rows that match something?

Use SUMIF. It adds only the rows that meet a condition, such as one category.

Theme

What C2:C6 means

The formula =SUM(C2:C6) over a shopping list. The prices from C2 down to C6 (3.49, 1.99, 2.29, 8.99 and 4.49) are shaded and outlined as one block. A bracket beside the block marks C2 at the top and C6 at the bottom: the colon means down to. The total, 21.25, is in C7.