How it works.
The SUM function adds all the numbers that you specify as arguments. Each argument can be a range, a cell reference, an array, a constant, a formula, or the result of another function.
💡 In simple terms.
Adds up all the numbers in a selected group of cells to find the total sum.
"Think of this like adding up all the coins you have in different jars to see your total savings."
Formula syntax.
Standard Excel Notation=SUM(number1, [number2], ...)[like_this] are optional; all other arguments are required.Formula arguments.
Every parameter accepted by the SUM function is detailed below.
The first number, cell reference, or range you want to sum.
Example value:B2:B6Additional numbers, cell references, or ranges you want to sum (up to 255).
Simple example.
Step-by-Step ScenarioSum Monthly Expenses
Calculate the total cost of all expenses in column B.
| Expense Item | Cost | Status | Total Cost | |
|---|---|---|---|---|
| Rent | 1200 | Paid | — | — |
| Groceries | 350 | Paid | — | — |
| Utilities | 180 | Paid | — | — |
=SUM(B2:B6)Evaluates SUM over the sample table cells, placing the verified output in cell D2.
Formula generator.
Full Generator WizardCustomize the argument fields below to generate a tailored SUM formula ready to paste directly into your worksheet.
=SUM()Expected result behavior.
Returns number 1500 based on sample evaluation criteria and active cell references.
Best Practices
- You can select an entire column or row by clicking the header (e.g. B:B), which will sum everything in that column.
- SUM ignores blank cells and cells with text, preventing common addition errors.
Common Mistakes
- If any of the cells in the range contain error values (like #VALUE!), SUM will return that error. Use AGGREGATE or SUMIFS to ignore errors.
Platform & version compatibility.
Verified platform compatibility matrix based on actual spreadsheet calculation engine specifications.
Core standard function supported across all modern and legacy Microsoft Excel versions (365, 2021, 2019, 2016, 2013, 2010), as well as Excel for the Web and Mac.
100% compatible with Google Sheets. Uses identical argument order, data types, and standard calculation logic.
Frequently asked questions.
Technical Q&ACan I use SUM across different worksheets in Excel?↓
Yes. You can reference cells located on other sheets by including the sheet name followed by an exclamation mark, for example: =SUM(Sheet2!A2:A10). If the sheet name contains spaces, enclose it in single quotes: ='Q1 Report'!A2:A10.
What is the most common reason for errors in SUM?↓
If any of the cells in the range contain error values (like #VALUE!), SUM will return that error. Use AGGREGATE or SUMIFS to ignore errors.
Does SUM work identically in Google Sheets?↓
Yes, SUM is supported in both Microsoft Excel and Google Sheets with standard evaluation behavior.