To sum numbers in Excel, the quickest way is to click an empty cell below or to the right of your numbers and press Alt + = (Windows) or Command + Shift + T (Mac). Excel will insert a SUM formula and highlight the range it thinks you want to add. Press Enter, and the total appears. If you prefer typing, enter =SUM(A1:A10) directly. This guide covers both methods plus filtering, visible cells, and troubleshooting.
What You’ll Need
- Microsoft Excel for Microsoft 365 on Windows (steps differ slightly on Mac and Excel for the web, noted where relevant).
- A worksheet containing the numbers you want to add. They can be in a column, row, or scattered cells.
- Basic familiarity with selecting cells with the mouse or keyboard.
Step-by-Step
Method 1: AutoSum (Fastest)
- Click the empty cell directly below a column of numbers, or directly to the right of a row of numbers. This is where the total will appear.
- Press Alt + = on Windows or Command + Shift + T on Mac. Excel inserts
=SUM()and automatically highlights the contiguous range of numbers above or to the left. - Check the highlighted range (dashed blue border). If it’s correct, press Enter. If not, drag to select the correct range before pressing Enter.
- To use the ribbon instead: go to the Home tab, find the Editing group, and click the AutoSum button (it looks like the Greek letter Σ). Then press Enter.
Method 2: Type the SUM Formula Manually
- Click the cell where you want the total.
- Type
=SUM(. - Select the range of cells to add. For example, click A1, drag to A10, and release. Or type the range directly:
A1:A10. - Type a closing parenthesis
)and press Enter.
Example: With numbers in A1:A10, entering =SUM(A1:A10) returns the sum of those ten cells. If A1:A10 contains 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, the result is 55.
Method 3: Sum Non-Adjacent Cells
- Click the cell for the total.
- Type
=SUM(. - Hold Ctrl (Windows) or Command (Mac) and click each cell you want to include. Excel adds commas between references automatically.
- Type
)and press Enter. Example:=SUM(A1,C1,E1)adds only those three cells.
Method 4: Sum an Entire Column or Row
- Click an empty cell.
- Type
=SUM(A:A)to sum all numbers in column A, or=SUM(1:1)to sum all numbers in row 1. Be careful: this ignores text and blanks, but includes any numbers in the entire column/row, even far below your data. - Press Enter. This is useful when you keep adding rows, but it can accidentally include stray numbers.
Method 5: Sum Only Visible Cells (Filtered Data)
- If your data is filtered (using the filter arrows on column headers), a normal SUM will include hidden rows. To sum only visible cells, use the SUBTOTAL function.
- Click the cell for the total.
- Type
=SUBTOTAL(9,— the 9 tells Excel to use the SUM function while ignoring hidden rows. - Select the range (for example, A1:A10) and close with
). Press Enter. - Example:
=SUBTOTAL(9,A1:A10)sums only the visible cells in A1:A10. If you filter out rows 3 and 7, those numbers are excluded.
Common Mistakes
- Including text or blank cells in the range: SUM ignores text and blanks, so this usually isn’t a problem. But if a cell contains an error like
#N/A, the SUM returns that error. - Using plus signs instead of SUM: Typing
=A1+A2+A3works for a few cells, but it’s tedious and error-prone for large ranges. Also, if you delete a row, the formula may break. - Forgetting to press Enter: If you type a formula and click another cell without pressing Enter, Excel might treat it as text or move the selection.
- Summing the wrong range: AutoSum sometimes guesses incorrectly, especially if there are blank rows. Always verify the highlighted range.
- Using SUM on filtered data: As noted, SUM includes hidden rows. Use SUBTOTAL or AGGREGATE instead.
Tips
- Use the Status Bar: Click any cell in a range of numbers, and look at the bottom-right of the Excel window. The status bar shows the sum, average, and count without any formula.
- Press Ctrl + Shift + Enter is not needed for SUM — it’s a regular formula. Only array formulas need that.
- To sum across multiple sheets, use a 3D reference:
=SUM(Sheet1:Sheet3!A1)sums cell A1 on Sheet1, Sheet2, and Sheet3. - If you need to sum every other row, use
=SUMPRODUCT((MOD(ROW(A1:A10),2)=1)*A1:A10)for odd rows, but this is advanced. - For quick totals, select the range and look at the status bar — no formula needed.
Troubleshooting
- SUM returns 0: Check if the cells contain text that looks like numbers (e.g., leading apostrophes). Select the cells, look for a green triangle warning, and convert to numbers. Or use
=VALUE(A1)in a helper column. - SUM shows #####: The column is too narrow to display the number. Widen the column by double-clicking the right edge of the column header.
- SUM includes hidden rows: Use
=SUBTOTAL(9, range)or=AGGREGATE(9,5, range)to ignore hidden rows. - AutoSum selects the wrong range: Manually type the correct range after the opening parenthesis, or drag to select.
- Formula is not calculating: Check if calculation is set to Manual. Go to Formulas > Calculation Options and set it to Automatic.
- SUM returns #NAME? error: This usually means you misspelled the function name or used a comma instead of a colon in the range. Ensure it’s
=SUM(A1:A10), not=SUM(A1, A10)(unless you want only those two cells).
Frequently Asked Questions
Can I sum a column without typing the formula?
Yes. Click the empty cell below the column, press Alt + =, and press Enter. Or use the AutoSum button on the Home tab.
How do I sum only visible cells after filtering?
Use =SUBTOTAL(9, range) or =AGGREGATE(9,5, range). Both ignore rows hidden by filtering.
What is the difference between SUM and SUBTOTAL?
SUM adds all numbers in the range, including hidden rows. SUBTOTAL with function number 9 adds only visible cells when rows are filtered. SUBTOTAL also ignores other SUBTOTAL formulas in the range, preventing double counting.
How do I sum cells with text and numbers?
SUM ignores text. If you need to extract numbers from text, use functions like NUMBERVALUE or VALUE, but that’s beyond basic summing.
Why does my SUM formula show a zero even though the cells have numbers?
Most likely the numbers are stored as text. Select the cells, click the yellow warning icon, and choose “Convert to Number”. Or use =SUM(VALUE(A1:A10)) as an array formula (press Ctrl+Shift+Enter in older Excel).
Can I sum across multiple sheets?
Yes. Use a 3D reference like =SUM(Sheet1:Sheet3!A1) to sum cell A1 across Sheet1, Sheet2, and Sheet3. All sheets must be adjacent in the tab order.
Related
- Solar Battery Calculator Online: How It Works
- Charting My Path for Future Success: A Practical Guide
- Why Is Maya Not Importing FBX? Fixes & Causes
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Excel Savings Plan Template: Build a Monthly Goal TrackerAn Excel savings plan template can track a target, current savings, monthly deposits, estimated interest, and the balance…
- Google Sheets IF Dropdown Is Selected: Formulas and TipsTo make Google Sheets respond when a dropdown is selected, test the dropdown cell with an IF formula—for…
- Does Google Sheets Have VLOOKUP? How to Use ItYes. Google Sheets has the VLOOKUP function, which searches down the first column of a range and returns…
- How to Delete a Page in Word Without Losing Text SafelyTo delete an unwanted page in Word, show formatting marks if it is blank, remove the extra text,…
- Excel Remove Duplicates: Is Matching Case-Sensitive?No. In Excel for Microsoft 365 on Windows, Data > Remove Duplicates treats text that differs only by…
- Rate Analysis Excel Sheet: Build and Check Unit RatesA rate analysis Excel sheet breaks the cost of one unit of work into materials, labour, equipment, overhead,…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.