Syntax
| Parameter | Description |
|---|---|
| value1 | Parameter of the SUM function. |
| [value2 | (Optional.) Parameter of the SUM function. |
| ...] | Parameter of the SUM function. |
Examples
| A | B | |
|---|---|---|
| 1 | Item | Amount |
| 2 | Rent | 1500 |
| 3 | Groceries | 450 |
| 4 | Utilities | 200 |
| 5 | Transport | 150 |
| 6 | Insurance | 300 |
Sum a column of expenses
=SUM(B2:B10)
Sum values from multiple ranges
=SUM(B2:B10, D2:D10)
Sum with individual values
=SUM(A1, A3, A5, 100)
Common Errors
One or more cells contain text that cannot be converted to a number. Check for hidden characters or misformatted numbers.
A referenced cell or range has been deleted. Update the formula to point to valid cells.
Tips
Select a range and look at the status bar at the bottom of your spreadsheet — it shows the SUM automatically without needing a formula.
Use SUM(A1:A100) instead of =A1+A2+A3+... — SUM handles blank cells gracefully and is much easier to maintain.
If your range contains errors, wrap it: =SUM(IFERROR(B2:B10, 0)) to skip error cells.
Try SUM in Viztab
Import your data and use SUM with 370+ other formulas. No signup required.
Open Viztab