SUM

Adds together all the values in a list.

Syntax:

SUM( list )

Returns the sum of all the values in the list.

list may be a range of cells, an array, or a comma-separated list of values (which may contain cell references and also ranges of cells as one or more of its elements).

Formula:

SUM = i 1n xi

where n is the number of values and xi is the i‑th value.

Example:

SUM(B1:B14)

returns the sum of the values of cells B1:B14.