The fastest way to sum a column or row in Excel is to press Alt + = (Windows) or Command + Shift + T (Mac). This inserts the SUM function automatically and selects the adjacent range of numbers for you. If you prefer the mouse, go to the Home tab and click the AutoSum button (the Greek sigma symbol, Σ) in the Editing group.
What Exactly Does AutoSum Do?
AutoSum is a built-in Excel feature that inserts the =SUM() formula for you. Instead of typing =SUM(A1:A10) manually, you select a cell and trigger AutoSum. Excel guesses the range you want to total based on the contiguous numbers next to the active cell. For example, if you have numbers in cells A1 through A10 and you place the cursor in A11, pressing Alt + = will insert =SUM(A1:A10) and show a marquee (dashed border) around A1:A10. Press Enter to confirm. If Excel guesses wrong, you can drag to select the correct range before pressing Enter.
How to Use the AutoSum Shortcut (Step by Step)
- Click the cell where you want the total to appear (usually directly below a column of numbers or to the right of a row).
- Press Alt + = on Windows or Command + Shift + T on Mac. Excel will insert
=SUM()and highlight the most likely range. - If the highlighted range is correct, press Enter. If not, click and drag over the correct cells, then press Enter.
- For multiple columns at once: select the empty cells below each column (e.g., A11:C11) and press Alt + =. Excel fills each selected cell with a SUM for its own column.
You can also use the ribbon: go to Home > AutoSum (the Σ icon). On Mac, the shortcut is Command + Shift + T; the ribbon path is the same.
When AutoSum Guesses Wrong (and How to Fix It)
AutoSum only looks at contiguous numbers. If you have blank rows or non-numeric text within the range, it may stop short. For instance, if your data is in A1:A5, then a blank cell A6, then numbers in A7:A10, placing the cursor in A11 and pressing Alt + = will only sum A7:A10, not the entire column. To fix this, either manually adjust the range in the formula bar or select the entire range A1:A10 before pressing the shortcut. Another common issue: if you have a total row already, AutoSum might include that total in the new sum, causing a circular reference. Always check the highlighted range before pressing Enter.
AutoSum vs. Manual SUM Formula
AutoSum is simply a shortcut to type the SUM function. There is no difference in the result—both produce the same total. However, AutoSum is faster and reduces typos. Manual typing gives you more control when you need a non-contiguous range (e.g., =SUM(A1, A5, C10)). For most everyday summing tasks, AutoSum is the better choice. If you need to sum only visible cells after filtering, use =SUBTOTAL(109, range) instead—AutoSum does not ignore hidden rows.
AutoSum Shortcut in Excel for Mac and Web
On Excel for Mac, the shortcut is Command + Shift + T. The AutoSum button is also on the Home tab. In Excel for the web (browser), the shortcut is Alt + = on Windows and Option + = on Mac. The ribbon button works the same. Note that in Excel for the web, the shortcut may not work if you are using a browser that intercepts Alt key combinations (like some browsers on Linux). In that case, use the ribbon button.
Common Problems and Solutions
- AutoSum returns 0: This usually means the cells are formatted as text. Select the cells, click the warning icon, and choose “Convert to Number.”
- AutoSum includes the wrong range: Click and drag to select the correct range before pressing Enter, or edit the formula in the formula bar.
- Shortcut not working: On some laptops, you may need to press Fn + Alt + = if the = key shares a function. Check your keyboard layout.
- AutoSum button is grayed out: This happens if the active cell is not in a worksheet (e.g., you’re editing a chart). Click a cell in the grid first.
Frequently Asked Questions
Does AutoSum work for rows as well as columns? Yes. Place the cursor to the right of a row of numbers and press Alt + =; Excel will sum that row.
Can AutoSum add multiple ranges at once? Yes. Select a block of empty cells that correspond to multiple columns or rows, then press Alt + =. Each cell gets its own SUM for its adjacent column or row.
Why does AutoSum give a different result than my calculator? Check for hidden rows or filtered data. AutoSum includes hidden rows by default. If you want to exclude them, use =SUBTOTAL(109, range) instead.
Is there a way to auto-sum without a shortcut? Yes, click the AutoSum button (Σ) on the Home tab, or type =SUM() manually.
Does AutoSum work in Google Sheets? The shortcut is different: Alt + Shift + = (Windows) or Option + Shift + = (Mac). The function is the same.
Alternatives to AutoSum for Complex Totals
If you need to sum based on conditions, use SUMIF or SUMIFS. For example, =SUMIF(A2:A10, ">100") sums only values greater than 100. For visible cells only, use SUBTOTAL or AGGREGATE. For running totals, use a formula like =SUM($A$1:A1) and drag down. AutoSum is just the starting point—Excel has many other summing tools for specific needs.
Related
- STRING_SPLIT SQL Server Syntax & Examples
- Software for Data Entry: Top Tools Compared
- Generate Random Numbers on Casio Calculator
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- COUNTIF Formula in Google Sheets: How to Use ItThe COUNTIF formula in Google Sheets counts cells that meet a single condition, and its syntax is =COUNTIF(range,…
- Split Syntax in Java: Examples and Common PitfallsJava splits a string with text.split(regex) or text.split(regex, limit), returning an array of substrings separated by matches of…
- Ridgid Stealth Force Brushless 18V 3-Speed Pulse Driver ReviewThe Ridgid Stealth Force Brushless 18V 3-Speed Pulse Driver is a compact impact driver that uses a unique…
- Google Sheets Expense Tracking Template: Build One That WorksA Google Sheets expense tracking template is a spreadsheet that records each purchase in a transaction log and…
- SOLIDWORKS Table: How to Split It on a Drawing SheetTo split a SOLIDWORKS drawing table, select the row or column at the intended break, right-click, choose Split,…
- Mac Numbers vs Excel: Which Spreadsheet Should You Use?Apple Numbers is a strong choice for personal spreadsheets and visually polished reports on a Mac, while Microsoft…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.