=SUM(number1, [number2], ...)
SUM(range)
=SUM(A1:A10)
This formula adds up all the values in cells A1 through A10 and returns the total.
=SUM(A1:A10,C1:C10,E1:E10)
This formula adds up all the values in cells A1 through A10, C1 through C10, and E1 through E10, and returns the total.
=SUM(A1:A10)-SUM(B1:B10)
This formula subtracts the total of the values in cells B1 through B10 from the total of the values in cells A1 through A10 and returns the difference.
The formula SUM calculates the total sum of a range of numeric values.