SUM

The SUM function returns the sum of a collection of numbers.

SUM(value, value…)

value: A value. value is a number value, date/time value, or duration value. All values must be of the same value type.

value…: Optionally include one or more additional values.

Notes

Examples

=SUM(A1:A4) adds the numbers in cells A1, A2, A3, and A4.

=SUM(A1:D4) adds the numbers in the square collection of the sixteen cells in the range A1:D4.

=SUM(A1:A4, 100) adds the numbers in A1, A2, A3, and A4 and the number 100.