How to Do Sum Equation in Excel: Step-by-Step Guide
In this article
To do a sum equation in Excel, type =SUM( followed by the range of cells you want to add, then close the parenthesis and press Enter. For example, =SUM(A1:A10) adds every number in cells A1 through A10. You can also use =SUM(A1, B1, C1) to add individual cells, or simply select a range and press Alt + = (Windows) or Command + Shift + T (Mac) to insert an AutoSum formula instantly.
What You'll Need
- Microsoft Excel installed on your computer (desktop version recommended; web version works similarly).
- A worksheet with numbers you want to add.
- Basic familiarity with cell references (e.g., A1, B2).
Step-by-Step
- Open your Excel workbook and click the cell where you want the sum to appear. This is usually below a column of numbers or to the right of a row.
- Type
=SUM(— Excel will display a tooltip showing the syntax. Do not type the closing parenthesis yet. - Select the range of cells you want to add. You can drag your mouse over the cells, or type the range manually (e.g.,
B2:B15). If you type manually, separate the start and end with a colon. - Close the parenthesis by typing
)and press Enter. The cell now shows the total of all numbers in the selected range. - For non-adjacent cells, type each cell reference separated by commas inside the parentheses, like
=SUM(A1, C1, E1). Press Enter to see the result. - Use AutoSum for speed: select the cell directly below a column of numbers, then on the Home tab click AutoSum (the Greek sigma icon). Excel automatically guesses the range and inserts the formula. Press Enter to confirm.
- Copy the formula to other cells if needed. Drag the fill handle (small square at the bottom-right of the cell) down or across. Excel adjusts relative references automatically.
- Check the result by clicking the cell and looking at the formula bar. You should see the complete
=SUM(...)formula. If you see a number instead, you may have accidentally pasted values instead of a formula.
Note: Menu labels and keyboard shortcuts can differ slightly between Excel versions (Microsoft 365, Excel 2019, Excel for Mac) and between desktop and web. The steps above apply to the desktop version; the web version has the same AutoSum button on the Home tab.
Common Mistakes
- Forgetting the equals sign: Without
=, Excel treats your entry as text, not a formula. - Using a comma instead of a colon in a range:
=SUM(A1,A10)adds only two cells, while=SUM(A1:A10)adds all ten. - Including text or blank cells: SUM ignores text and blanks, but if a cell contains a number stored as text (e.g., '5), it will be skipped. Use
VALUE()or convert the cell to a number. - Circular reference: If your sum formula refers to its own cell, Excel shows an error. Check the range does not include the formula cell.
- Not locking references when copying: If you copy a formula and want a fixed range, use absolute references like
$A$1:$A$10.
Tips
- Use Alt + = (Windows) or Command + Shift + T (Mac) to insert AutoSum instantly.
- To sum an entire column excluding the header, use
=SUM(A:A)— but be aware it includes all cells in column A, including any future entries. - For conditional sums, use
SUMIForSUMIFSinstead of plain SUM. - Press F2 to edit a cell and see which cells are referenced (they become colored outlines).
- Use Ctrl + ` (grave accent) to toggle showing formulas instead of results, useful for auditing.
Troubleshooting
- Formula shows as text: The cell may be formatted as Text. Change the format to General or Number, then re-enter the formula.
- Result is 0 or wrong: Check that the range includes the correct cells and that numbers are not stored as text. Use
ISNUMBER()to test. - #VALUE! error: One of the arguments is not a number. Remove text entries or use
SUMonly on numeric ranges. - #REF! error: The range refers to deleted cells. Edit the formula to correct the reference.
- AutoSum picks wrong range: Excel guesses based on adjacent numbers. Drag to adjust the selection before pressing Enter.
- Formula not updating: Check if calculation is set to Manual. Go to Formulas > Calculation Options and select Automatic.
Frequently Asked Questions
Can I sum only visible cells?
Yes, use SUBTOTAL(109, range) or AGGREGATE(9, 5, range) to ignore hidden rows.
How do I sum a column with errors?
Use AGGREGATE(9, 6, range) to ignore errors, or SUMIF(range, "<>#N/A").
What is the difference between SUM and AutoSum?
AutoSum is a shortcut that inserts a SUM formula for you; the result is identical.
Can I sum across multiple sheets?
Yes, use =SUM(Sheet1!A1, Sheet2!A1) or =SUM(Sheet1:Sheet3!A1) for a 3D reference.
Why does my sum show a date?
The cell may be formatted as Date. Change the format to General or Number.
How do I sum with a condition?
Use SUMIF(range, criteria, sum_range) or SUMIFS for multiple conditions.