Shortcut for AutoSum in Excel (Windows & Mac)

How-to basics · Updated November 23, 2026

The fastest shortcut for AutoSum in Excel is Alt + = on Windows and Command + Shift + T on Mac. Press it once after selecting a cell below or to the right of your numbers, and Excel inserts a SUM formula and highlights the range it will add. Press Enter to accept, or adjust the range first if Excel guessed wrong.

What AutoSum Actually Does

AutoSum is the tool on the Home tab (in the Editing group) and the Formulas tab (in the Function Library group) that inserts a SUM formula for you. It looks at the numbers directly above or to the left of the active cell and builds the formula automatically. The shortcut simply triggers the same command without touching the mouse.

For example, with numbers in A1:A5 and the active cell at A6, pressing Alt + = puts =SUM(A1:A5) in A6. If you select a range first, AutoSum sums that range instead. If you select multiple cells at once, it creates separate SUM formulas in each cell.

How to Use the Shortcut: Step by Step

  1. Click the cell where you want the total to appear (usually directly below a column of numbers or to the right of a row).
  2. Press Alt + = (Windows) or Command + Shift + T (Mac).
  3. Excel inserts =SUM(...) and draws a moving dashed border around the range it detected.
  4. If the highlighted range is correct, press Enter. If not, drag to select the correct range, then press Enter.

You can also use the shortcut after selecting a whole row or column of numbers plus one extra empty cell at the end—Excel will sum the entire selection.

Why the Shortcut Is So Useful

Typing =SUM(A1:A5) is not hard, but the shortcut saves a few seconds each time and avoids typos. It also works with filtered lists: if you filter data, AutoSum still inserts a regular SUM, which ignores hidden rows only if you use the SUBTOTAL function instead. For most everyday totals, the shortcut is the fastest way.

Another advantage is that AutoSum automatically updates the range if you insert or delete rows within the referenced area—as long as the formula is a normal SUM and not a hard-coded range. That makes the shortcut a good default for quick totals.

When AutoSum Picks the Wrong Range

Excel guesses the range based on contiguous numbers. If there are blank rows or text labels in the way, it may only select part of the data. For instance, if A1:A5 are numbers but A3 is empty, AutoSum might only grab A1:A2. In that case, you can manually drag to select the full range after pressing the shortcut, or type the range yourself.

If the active cell is not directly adjacent to numbers, AutoSum inserts =SUM() with no argument, and you must select the range or type it. The shortcut still saves you from typing the function name and parentheses.

AutoSum vs. Other Summing Methods

There are several ways to total numbers in Excel, and each has its place:

  • AutoSum shortcut (Alt + =): Fastest for a single total in a cell.
  • Status bar: Select a range and look at the bottom-right corner—Excel shows the sum without inserting a formula. Great for a quick check.
  • Manual SUM formula: Gives you full control over the range and lets you add multiple ranges, e.g., =SUM(A1:A5, C1:C5).
  • Subtotal (Ctrl + Shift + L to filter, then use SUBTOTAL): Ignores hidden rows. Use when you filter data often.
  • Aggregate function: For more advanced options like ignoring errors.

For most users, the shortcut is the best balance of speed and control.

Common Problems and Fixes

Problem: The shortcut doesn’t work on a laptop without a numeric keypad. Fix: The equals key is usually on the top row, so Alt + = works on any keyboard. If not, use the on-screen keyboard or the AutoSum button on the ribbon.

Problem: Excel inserts a SUM formula but shows 0. Fix: Check that the numbers are stored as numbers, not text. Select the cells, look for a green triangle warning, and convert text to numbers using the error icon.

Problem: The shortcut inserts a SUM but you wanted an average. Fix: After pressing Alt + =, press the down arrow to open the AutoSum dropdown and choose Average, or simply edit the formula to AVERAGE.

Problem: AutoSum selects a range that includes a total row. Fix: After pressing the shortcut, drag to select only the data cells, or press Esc and select the correct range first.

Keyboard Shortcut Details for Different Versions

The shortcut Alt + = works in Excel for Microsoft 365, Excel 2021, 2019, 2016, and earlier on Windows. On Mac, Command + Shift + T is the equivalent. In Excel for the web, the shortcut is Alt + = on Windows and Option + = on Mac (or use the AutoSum button in the Home tab).

If you prefer the mouse, the AutoSum button is on the Home tab in the Editing group, and on the Formulas tab in the Function Library group. Clicking the dropdown arrow next to it gives you Sum, Average, Count, Max, and Min.

Frequently Asked Questions

Does Alt + = work in Google Sheets? No, Google Sheets uses a different shortcut: Alt + Shift + = on Windows and Option + Shift + = on Mac. The AutoSum button is also available in the toolbar.

Can I use AutoSum for other functions like AVERAGE? Yes. Press the shortcut, then press the down arrow key to open the dropdown, or type the function name after the opening parenthesis. Alternatively, click the AutoSum dropdown arrow on the ribbon and choose Average, Count, Max, or Min.

Why does AutoSum sometimes sum the wrong range? Excel looks at the nearest contiguous block of numbers. If there are blanks or text, it may only grab part. You can always adjust the range after pressing the shortcut.

Does AutoSum work with filtered data? It inserts a regular SUM, which includes hidden rows. If you need to exclude filtered-out rows, use the SUBTOTAL function (e.g., =SUBTOTAL(109, A1:A5)) or the AutoSum dropdown’s “Subtotal” option in some versions.

Is there a shortcut to sum an entire column? Yes. Click an empty cell at the bottom of the column and press Alt + =. Excel will sum the entire column if there are no interruptions. If there are blanks, it may only sum the last block—so select the whole range first.

Can I undo AutoSum? Yes, press Ctrl + Z (Windows) or Command + Z (Mac) immediately after inserting the formula.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.