This post will guide you how to use Excel SUM function with syntax and examples in Microsoft excel.
The Excel SUM function will adds all numbers in a range of cells and returns the sum of these values. You can add individual values, cell references or ranges in excel.
The SUM function is a build-in function in Microsoft Excel and it is categorized as a Math and Trigonometry Function.
The SUM function is available in Excel 2016, Excel 2013, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000, Excel 2011 for Mac.
The syntax of the SUM function is as below:
Where the SUM function arguments are:
- number1 -This is a required argument. A numeric value that you want to sum.
- [number2],…– This is an optional argument. Numbers that you want to find the sum of.
- The SUM function can accept up to 255 arguments
Excel SUM Function Examples
The below examples will show you how to use Excel SUM Function to return the sum of a set of numbers.
#1 To get the sum value of Cell B1 and B2, just using the following excel formula:
- Excel SUMIF Function
The Excel SUMIF function sum the numbers in the range of cells that meet a single criteria that you specify. The syntax of the SUMIF function is as below:=SUMIF (range, criteria, [sum_range])…
- Excel SUMIFS Function
The Excel SUMIFS function sum the numbers in the range of cells that meet a single or multiple criteria that you specify. The syntax of the SUMIFS function is as below:=SUMIFS (sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], …)…
- Excel SUMSQ Function
The Excel SUMSQ function returns the sum of squares of a given set of arguments.The syntax of the SUMSQ function is as below:=SUMSQ(number1, [number2], …)…
- Excel SUMX2MY2 Function
The Excel SUMX2MY2 function returns the sum of the difference of squares between two supplied arrays.The syntax of the SUMX2MY2 function is as below:=SUMX2MY2 (array_x, array_y)…