Excel SUM Function
The SUM function adds all values you specified. The values can be numbers, cell references, ranges, arrays or a mix of all four.
The SUM function returns a numeric value.
- If there are any error values in any of the arguments, SUM will return the first error value.
- SUM treats blank cells as 0s.
- If a text value that cannot be interpreted as a numeric value is referenced by the SUM function, SUM will treat it as 0; If the text value is supplied directly to the SUM (e.g., =SUM(“kutools”)), the function will return the #VALUE! error.
- If a logical value is referenced by the SUM function, SUM will treat it as 0; If the logical value is supplied directly to the SUM, the function will treat is as a number (TRUE=1, FALSE=0).
To get the sum of the numbers on the first row of the table as shown below, please copy or enter the formula below in cell F3, and press Enter to get the result:
√ Note: In the formula above, we used the actual values. However, in the case that you have a table as shown below, cell references are better choices than the actual values. Since you can just drag the fill handle down to apply the formula to the below cells after entering the formula with cell references in the top cell. The formula with cell references is as followed: