The function SUM returns the value of the addition of all the numbers contained in the argument, can be constants, single cells or a range of cells.

Syntax:

=SUM(range of cells)

Range of cells. Can be an array of values, or reference to a single cell or range of cells that contain the values to add up.