SUM formula

Adds up a range of cells or a list of numbers. It's the first formula most people learn, and still the one used most often in real spreadsheets.

Syntax

=SUM(number1, [number2], ...)

SUM accepts individual cells, ranges, or a mix of both, and it quietly ignores text and blank cells rather than throwing an error — which is exactly why it's so often preferred over manually typing out =A1+A2+A3. The only common trap: if your range accidentally includes a subtotal row, you'll double-count it.

Examples

=SUM(A2:A20)

Totals every value from row 2 through row 20 in column A — a typical "total sales" or "total hours" formula.

=SUM(B2:B10, D2:D10)

Adds two separate ranges together in one formula, useful when the columns you want to total aren't next to each other.

=SUM(A2:A100)-SUM(C2:C100)

Combines two SUM calls to get a net figure — for example, total revenue minus total refunds.

Paste your own SUM formula and get a plain-English explanation, or describe what you need and let FormulaFixer write it for you.

Explain a SUM formula →

More formulas