In Excel, the SUM function is one of the mathematical and trigonometric functions, which adds all the values. You can add a single value, a cell reference or a range, or a mixture of the three.
For example:
=SUM(A2:A 10)
=SUM(A2:A 10,C 1)
=SUM(A2:A 10,C2:C 10)
=SUM(A2:A 10,3)
=SUM(2,3,4)