Formula basics · About 4 minutes
Add up a column with SUM
Typing =C2 works, but it gets long. SUM adds up a whole block of cells at once.
A block of cells is called a range. You write it as the first cell, a colon, then the last cell: C2:C6 means "C2 down to C6".
=SUM( reads as "add up everything from C2 to C6". The part inside the parentheses tells SUM which cells to use.
What C2:C6 means
Exercise 1 of 3 · Worked example
In C7, total all the prices. Type =SUM( C2:C6) and press Enter.
| A | B | C | |
|---|---|---|---|
| 1 | Item | Category | Price ($) |
| 2 | Rice | Food | 3.49 |
| 3 | Soap | Home | 1.99 |
| 4 | Pasta | Food | 2.29 |
| 5 | Broom | Home | 8.99 |
| 6 | Tea | Food | 4.49 |
| 7 | Total | (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(. You can mix cells and ranges, like =SUM(.
Can SUM add up a whole column?
Yes: =SUM(. 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.