From data to report in one minute or less. Ajelix BI is launched! 🚀 Get started for free.

# How To Use SUM function in Excel with Examples

### What is SUM Function in Excel?

The SUM function in Excel adds up values across a range of cells. It can be used to sum up numbers, text, or logical values. Syntax for this formula is =SUM(number1, [number2], …)

### Description

The Excel SUM function calculates the total amount of any given set of values. The function can be used in a variety of ways, from quickly adding up a column of figures to creating complex calculations involving multiple values.

Function is very easy to use. All you need to do is select the range of cells that you want to sum and then use the SUM formula and it will automatically sum the values in the range and return the total.

You can also use the function to calculate more complex calculations such as the weighted average, the standard deviation, and the variance.

The SUM can be used to quickly calculate the total for a range of cells that contain text values. In this case, the formula will return a value of zero if the range contains only text values. This is particularly useful when you are trying to sum up a range of figures that contain some text values.

### Syntax

=SUM(number1, [number2],) ### How to use SUM function in your workbook:

1. Open your Excel document and select the cell where you want to use the SUM formula.
2. Type “=SUM(” into the cell and select the cells you want to add together by clicking and dragging over them with your mouse.
3. Once you have selected the cells you want to add together, close the parentheses at the end of the formula with a “)”.
4. Press “Enter” and the sum of the cells you selected will appear in the cell where you typed the formula.
5. If you want to add more cells to the sum, you can click on the cell with the formula and edit it. Add the additional cells you want to add to the sum within the parentheses.
6. Press “Enter” and the sum of the additional cells you selected will appear in the cell.

What data types can the SUM formula accept?

The SUM function can accept numeric, currency, and date/time data types.

What arguments does the SUM formula accept?

The SUM function accepts two arguments: a range of cells and an optional condition. The range of cells is the set of cells that you want to add together. The optional condition is an expression that will filter the range of cells to only include cells that meet the condition.

How can I troubleshoot a SUM function error?

The first step to troubleshooting a SUM function error is to check the data that is being used in the formula. Make sure all data points are properly formatted and that no fields contain any errors.