In Excel: press Alt (ribbon access key) on Windows ((use menu) on Mac) to excel to repeat last action instantly — no mouse or menu required.
On this page8
Keyboard shortcut: Excel To Repeat Last Action
| Platform | Shortcut |
|---|---|
| Windows | Alt (ribbon access key) |
| Mac | (use menu) |
Click the target cell, row header, or column header so Excel knows what to act on.
Hold the modifier key(s) in Alt (ribbon access key) (Windows) or (use menu) (Mac) simultaneously, then tap the final key.
Excel executes the Excel To Repeat Last Action operation instantly.
Undo with Ctrl+Z (⌘+Z on Mac) if the result is not what you expected.
What this does
Pressing Alt (ribbon access key) on Windows — or (use menu) on a Mac — triggers the Excel To Repeat Last Action action instantly. The shortcut bypasses the right-click context menu and the ribbon, so you can excel to repeat last action mid-keystroke without breaking your editing rhythm. Excel's shortcut model is consistent: once you learn Alt (ribbon access key) for Excel To Repeat Last Action you can apply the same muscle-memory pattern across dozens of related operations, making the whole workflow noticeably faster. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “excel shortcut to repeat last action”. Start on a copy or a tiny sample, keep the affected cells visible, and compare the result with the tool above before you touch the real workbook. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. The point is a workflow that saves repeating the same clicks every week, but the practical win is that someone else can open the file and understand what happened without asking you.
A worked example
Example: a colleague sends you a data table and you need to excel to repeat last action twice in quick succession. Select the first target, press Alt (ribbon access key) (or (use menu) on Mac), then move to the next target and press Alt (ribbon access key) again — the repetition locks in quickly. For inserting or deleting multiple rows/columns at once, pre-select that many rows before pressing the Excel To Repeat Last Action shortcut and Excel applies the action to all of them simultaneously. Use the Excel To Repeat Last Action shortcut whenever you would otherwise right-click and choose an option from the context menu or navigate the ribbon. In high-volume data work the Alt (ribbon access key) keystroke saves 2–4 seconds per action; across a hundred repetitions that is several minutes back in your session. A practical tip: try it on a copy of the sheet or a handful of sample rows first and check the result before you apply it to the real data. That one habit catches almost every surprise while it is still cheap to reverse.
In Google Sheets
This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. Nothing on this page is behind a login or a download: the exact answer is at the top, and the detail below it is there for when you need it. That is the whole promise here — the answer first, and just enough context to make it stick. If you take one thing from this page on “excel shortcut to repeat last action”, make it the order of checks rather than the individual clicks: confirm what is selected, apply the step, and look at the result before moving on. That small routine is what keeps Excel work predictable when the same task comes back in a slightly different workbook.
Common mistakes
- Pressing the wrong modifier: Alt (ribbon access key) is the Windows combo; on Mac the equivalent is (use menu). Pressing the Windows combo on Mac often does nothing or triggers a different command.
- Not selecting a full row/column header when the shortcut requires it — some shortcuts act on selected rows or columns, not on individual cells.
- Forgetting that the shortcut may behave differently depending on what is selected: a cell selection vs a row-header selection can invoke different dialog boxes for the same keypress.
Frequently asked questions
Is there a Mac shortcut for Excel To Repeat Last Action?
Yes — on Mac use (use menu). The function is identical to pressing Alt (ribbon access key) on Windows; only the modifier keys differ because Mac replaces Ctrl with ⌘ and sometimes Alt with Option (⌥).
What if the Excel To Repeat Last Action shortcut (Alt (ribbon access key)) doesn't work?
Check that you are not in cell-edit mode (press Escape first), that no dialog is open, and that no add-in has reassigned the shortcut. On a laptop, some function keys require pressing Fn first.
Can I use the Excel To Repeat Last Action shortcut multiple times in a row?
Yes — press Alt (ribbon access key) repeatedly for each Excel To Repeat Last Action action, or pre-select multiple rows/columns and press the shortcut once to apply it to all of them simultaneously. You can also press F4 after the first use to repeat the last action.