AutoSum shortcut in Excel: Alt + = adds up a column for you
Click the cell under your numbers and press Alt + = to insert a SUM formula in Excel. Sum several columns at once, add row totals, sum only visible rows, and fix AutoSum when it picks the wrong range or returns 0.
By The Applio team5 min read

The AutoSum shortcut in Excel is Alt + =. Click the empty cell directly under a column of numbers, press Alt + =, and Excel writes =SUM(...) with the range already filled in. Press Enter to confirm. On a Mac the shortcut is Cmd + Shift + T.
Quick reference
| What you want | Windows | Mac |
|---|---|---|
| AutoSum the numbers above or to the left | Alt + = | Cmd + Shift + T |
| Confirm the formula | Enter | Return |
| Total several columns at once | Select the empty cells under them, then Alt + = | Same, with Cmd + Shift + T |
| Column and row totals together | Select the data plus one empty row and column, then Alt + = | Same |
| Add a total row to a table | Ctrl + Shift + T | Cmd + Shift + T |
How AutoSum chooses the range
AutoSum looks up from the active cell first. If it finds numbers directly above, it selects them up to the first empty cell or text cell. If there is nothing above, it looks to the left and sums the row instead.
That rule explains the two surprises people run into:
- A gap in the column cuts the range short. If row 9 is empty, AutoSum in row 15 only sums rows 10 to 14. Before you press Enter, check the moving border around the range and drag it or retype the reference if it is too short.
- It sums the row when you wanted the column. This happens when the cell above is empty or holds text. Click the cell, press Alt + =, then select the right range with the mouse before pressing Enter.
Total every column in one press
You do not need to repeat the shortcut for each column.
- Select the empty cells under all the columns, for example B7 to E7.
- Press Alt + =.
Excel fills in a SUM for every column at once and does not wait for Enter. To get row totals and column totals together, select the whole block of numbers plus one empty row below and one empty column to the right, then press Alt + =. The grand total appears in the corner cell.
Sum only what you can see
A normal SUM includes rows hidden by a filter. When a list is filtered and you press Alt + = under it, Excel inserts =SUBTOTAL(9,...) instead of SUM, and that formula counts only the visible rows. Change the filter and the total follows.
If your list is an Excel table (made with Ctrl + T), press Ctrl + Shift + T to switch on the Total Row. Each total cell has a small menu where you can choose Sum, Average, Count, Max or Min.
More than sums
The arrow next to the AutoSum button on the Home and Formulas tabs offers Average, Count Numbers, Max and Min. They pick the range the same way. From the keyboard, press Alt, M, U to open that menu, then A for Average, C for Count, M for Max or I for Min.
For a quick look without any formula, select the numbers and read the status bar at the bottom of the window. It shows Sum, Average and Count for the selection.
Why AutoSum gives 0 or the wrong number
- The numbers are stored as text. They sit on the left of the cell and may have a green triangle in the corner. SUM ignores text, so the total is 0 or too low. Select the cells, click the warning icon and choose Convert to Number, or use Data, Text to Columns, Finish.
- The total does not change when you edit a number. Calculation is set to manual. Press F9 to recalculate, then switch it back under Formulas, Calculation Options, Automatic.
- The total is slightly off. The cells show rounded values but hold more decimals. Wrap the source formulas in
ROUNDif the total must match what is displayed. - The shortcut types an equals sign or does nothing. On some keyboard layouts the = key needs Shift, so Excel never receives Alt + =. Use the Σ button on the Home tab, or Alt, H, U, S.
- You see ##### instead of a total. The column is too narrow. Select it and press Alt, H, O, I.
Google Sheets
Google Sheets has no single AutoSum key. Type =SUM( and Sheets suggests the range above; press Tab to accept it. You can also select the numbers and read the total in the bottom-right corner. More keys are in our Google Sheets shortcuts list.
Common questions
Does AutoSum update when I add a row?
Only if the new row is inside the range. Insert the row above the last data row, or turn the list into a table with Ctrl + T, where totals always cover new rows. See the insert row shortcut for the fastest way to add one.
Can I AutoSum across sheets?
Yes, but not with the shortcut alone. Type =SUM(, click the first sheet tab, hold Shift and click the last tab, click the cell and press Enter. The formula looks like =SUM(Jan:Dec!B7).
What is the difference between AutoSum and SUM?
None in the result. AutoSum is a shortcut that writes the SUM formula and guesses the range for you.
AutoSum is one of the keys in our Excel shortcuts cheat sheet, which comes with a free printable PDF. Once the totals are in, Ctrl + Shift + % and the other number format shortcuts make them readable in one press.
Written by
The Applio team
We build booking software for appointment-based businesses: the Applio platform and the BarberSamir app on the App Store. We write about the tools and habits that save us time. More about us
Keep reading
Shortcuts
Excel shortcut to delete a row: Ctrl + - (and delete blank rows fast)
Select the row with Shift + Space and press Ctrl + - to delete it in Excel. Delete several rows at once, remove every blank row in a list, delete filtered rows only, and what to do when the shortcut opens a dialog.
· 4 min read
Shortcuts
Remove duplicates in Excel: the Alt, A, M shortcut and three safer ways
Click in your list and press Alt, A, M to open Remove Duplicates in Excel. Choose the columns that define a duplicate, highlight duplicates before deleting, keep the original list with UNIQUE, and avoid the common mistakes.
· 4 min read
Shortcuts
Excel shortcut for today's date: Ctrl + ; (and the time)
Press Ctrl + ; to type today's date into an Excel cell and Ctrl + Shift + ; for the current time. Mac keys, date and time in one cell, filling many cells at once, TODAY() vs the shortcut, and fixes when it does nothing.
· 6 min read


