Math function

Google Sheets SUM function

Adds up numbers, cells or whole ranges.

Syntax

=SUM(value1, [value2, ...])
value1The first number, cell or range to add.
value2, ...Optional. More numbers, cells or ranges.

Try it

Edit the formula and the result updates instantly. Click a cell to add its reference.

▦ Q1 sales
fx
Result: 2385
ABCDE
1RepRegionProductUnitsRevenue
2AnaEastPens120240
3BenWestPaper80400
4CaraEastPaper45225
5DevNorthPens200400
6AnaEastInk30450
7BenWestPens95190
8CaraEastInk12180
9DevNorthPaper60300

Examples

These use the sample sheet above.

→ 2385

Total revenue for the quarter.

→ 245

Units sold in the first three rows.

→ 1040

Separate ranges and cells can be mixed, separated by commas.

Tips & common mistakes

Related functions