Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Keyboard Shortcut for AutoSum in Excel: Step-by-Step

· 5 min read · Home Automation

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

The keyboard shortcut for AutoSum in Excel is Alt + = on Windows and Command + Shift + T on Mac. It inserts a SUM formula that automatically selects the adjacent range of numbers above or to the left of the active cell. This works in Excel for Microsoft 365, Excel 2019, 2021, and Excel for Mac. Before you start, make sure your data is arranged in a simple column or row with no blank cells in the range you want to sum, and that the active cell is immediately below or to the right of the numbers.

What You'll Need

  • Excel installed on Windows or Mac (the shortcut works in all modern versions).
  • A worksheet with numbers arranged in a contiguous column or row.
  • Your cursor placed in the cell where you want the total to appear.

Step-by-Step

  1. Open your Excel workbook and click the cell where you want the sum to appear. This cell should be directly below a column of numbers or to the right of a row of numbers.
  2. Press Alt + = (Windows) or Command + Shift + T (Mac). Excel immediately inserts a SUM formula and highlights the range it thinks you want to add.
  3. Check the highlighted range. If Excel selected the correct cells, press Enter to confirm. The total appears in the active cell.
  4. If the range is wrong, drag your mouse over the correct cells while the formula is still active, or use the arrow keys with Shift held to adjust the selection. Then press Enter.
  5. For multiple totals at once, select all the empty cells below your columns (or to the right of your rows), then press Alt + = . Excel fills each selected cell with its own SUM formula. Press Enter to confirm all at once.
  6. To sum a row instead of a column, place your cursor in the cell to the right of the row of numbers and press the same shortcut. Excel will detect the row and insert the SUM formula accordingly.

Note: Menu labels and shortcut behavior can differ slightly between Excel versions, platforms, and regional settings. The Alt + = shortcut is standard in Windows Excel; on Mac, the equivalent is Command + Shift + T. If your keyboard layout uses AltGr, you may need to press Alt + = using the main keyboard, not the numeric keypad.

Common Mistakes

  • Pressing the shortcut in an empty cell with no adjacent numbers. Excel will insert =SUM() with no range, and you'll have to type the range manually.
  • Leaving blank cells in the column. AutoSum stops at the first blank cell, so it may miss numbers below the gap. Fill blanks or select the full range manually.
  • Using the wrong shortcut on Mac. Command + Shift + T is the AutoSum shortcut; Alt + = does not work on Mac Excel by default.
  • Forgetting to press Enter. The formula stays in edit mode until you confirm it; clicking elsewhere may cancel it.
  • Assuming AutoSum works on filtered data. It sums all cells in the range, including hidden rows. Use SUBTOTAL if you need to sum only visible cells.

Tips

  • You can press Alt + = multiple times in a row to quickly add totals to several columns: select the empty cells first, then press the shortcut once.
  • After AutoSum inserts the formula, you can press F2 to edit the range directly in the cell.
  • If you want to sum non-adjacent cells, type =SUM( then hold Ctrl (Windows) or Command (Mac) and click each cell, then close the parenthesis and press Enter.
  • Use Alt + = on a cell that already contains a number to replace it with a SUM formula; Excel will overwrite the content.
  • For quick totals without a formula, select the numbers and look at the status bar at the bottom of the Excel window—it shows the sum, average, and count.

Troubleshooting

  • The shortcut does nothing. Make sure you are not in cell edit mode (press Esc first). Also check that your keyboard has a standard = key; on some non-US layouts, the = key may require Shift.
  • Excel inserts =SUM() with no range. This happens when there are no numbers directly above or to the left. Type the range manually or click and drag to select the cells.
  • The sum is wrong. Check for text formatted as numbers (they won't be summed), hidden rows, or blank cells breaking the range. Use the Evaluate Formula tool (Formulas tab > Evaluate Formula) to step through the calculation.
  • AutoSum selects too many rows. Excel may include the header row if it contains numbers. Adjust the range by dragging the selection handles before pressing Enter.
  • On Mac, Command + Shift + T opens a new tab in some apps. Ensure Excel is the active window; the shortcut works only when Excel has focus.

Frequently Asked Questions

Does Alt + = work in Google Sheets?

No. Google Sheets uses Alt + = on Windows to insert a SUM formula only if you have the Sheets shortcut enabled; by default, it may not work. The reliable method in Sheets is to type =SUM( and select the range.

Can I use AutoSum for other functions like AVERAGE or COUNT?

Yes. After pressing Alt + =, click the drop-down arrow next to the AutoSum button on the Home tab (or press Alt + = then use the arrow keys to choose a function from the list) to select AVERAGE, COUNT, MAX, or MIN.

Why does AutoSum include the cell above the numbers?

If the cell above contains a number (like a date or an ID), Excel may include it. Always verify the highlighted range before pressing Enter, and adjust by dragging.

Is there a shortcut to sum an entire column?

Place your cursor in the first empty cell below the column, press Alt + =, and Excel will select from the first number down to the cell above. If the column has blanks, you may need to select the range manually.

Does AutoSum work on filtered rows?

No. AutoSum uses SUM, which includes hidden rows. To sum only visible cells, use SUBTOTAL(9, range) or the SUBTOTAL function from the AutoSum drop-down.

Can I use AutoSum in Excel for the web?

Yes, Excel for the web supports Alt + = on Windows and Command + Shift + T on Mac, but the behavior may vary slightly. The AutoSum button on the Home tab is also available.