Add numbers together
=SUM(number1, [number2], [number3], ...)
| Parameter | Description |
|---|---|
number1 |
The first value to sum. |
number2 |
[optional] The second value to sum. |
number3 |
[optional] The third value to sum. |
Typically, the SUM function is used with ranges. For example:
=SUM(A1:A9) // sum 9 cells in A1:A9
=SUM(A1:F1) // sum 6 cells in A1:F1
=SUM(A1:A100) // sum 100 cells in A1:A100
Values in all arguments are summed together, so the following formulas are equivalent:
=SUM(A1:A5)
=SUM(A1,A2,A3,A4,A5)
=SUM(A1:A3,A4:A5)
In the example shown, the formula in D12 is:
=SUM(D6:D10) // returns 9.05
References do not need to be next to one another. For example:
=SUM(A1,F13,E100)