Smart Systems for Home

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

How to Show Undo and Redo in Excel: Quick Steps

· 6 min read · Home Tech

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

Excel shows undo and redo as two buttons on the Quick Access Toolbar, and you can also use the keyboard shortcuts Ctrl+Z (undo) and Ctrl+Y or Ctrl+Shift+Z (redo). If the buttons are missing, you can add them back from the Quick Access Toolbar menu or use the shortcuts instead. This guide covers how to make both commands visible on Windows and Mac, plus what to do when redo is greyed out or undo goes too far.

What You'll Need

  • Microsoft Excel for Windows or Mac (the steps below note where they differ).
  • A workbook open with at least one edit made, so the undo button becomes active.
  • No add-ins or protected view mode blocking the ribbon; if the file is in Protected View, click Enable Editing first.

Step-by-Step

  1. Open Excel and make a small edit, such as typing in a cell and pressing Enter. The undo button only lights up when there is something to undo.
  2. Look at the Quick Access Toolbar, the small row of icons at the very top left of the window, above the ribbon tabs. The curved arrow pointing left is Undo, and the curved arrow pointing right is Redo.
  3. If you do not see them, click the small drop-down arrow at the right end of the Quick Access Toolbar (it looks like a tiny down chevron). A menu of commands appears.
  4. In that menu, find Undo and Redo in the list. Click each one to add a checkmark next to it. Both icons then appear on the toolbar. Labels can differ slightly by Excel version, device, or region, but the command names Undo and Redo are consistent.
  5. On Windows, you can also right-click any empty area of the Quick Access Toolbar and choose Customize Quick Access Toolbar to see the full list of commands and add Undo and Redo from there.
  6. On Mac, the Quick Access Toolbar is also at the top of the window. If the arrows are missing, go to the View menu and look for the toolbar options, or use the keyboard shortcuts below, which work even when the buttons are hidden.
  7. Test the buttons: type something in a cell, press Enter, then click the left curved arrow. The edit is reversed. Click the right curved arrow to redo it.
  8. Use the keyboard as a faster alternative. Ctrl+Z undoes the last action. Ctrl+Y redoes it on Windows. On Mac, Command+Z undoes and Command+Y redoes; some Mac layouts also accept Command+Shift+Z for redo.
  9. To undo several steps at once, click the small drop-down arrow next to the Undo button (not the toolbar menu arrow) to see a list of recent actions, then click the action you want to return to. Excel reverses everything after that point.
  10. If you only want to undo one recent action, click Undo once per action. Each click steps back one edit.

Common Mistakes

  • Clicking the drop-down arrow on the Quick Access Toolbar instead of the arrow beside the Undo button. The toolbar menu adds or removes commands; the arrow beside Undo shows the undo history list.
  • Expecting Redo to work after you make a new edit. Redo only repeats actions you just undid. As soon as you type something new, the redo stack clears.
  • Confusing Ctrl+Y with Ctrl+Shift+Z. Both can redo in many Windows apps, but Excel's standard redo shortcut is Ctrl+Y. If one does not respond, try the other.
  • Using undo in a protected sheet or a shared workbook where changes are tracked. Some actions cannot be undone there, and the button may stay greyed out.
  • Assuming undo works after closing the file. Undo history is kept only for the current session; once you close and reopen the workbook, the undo list is gone.

Tips

  • Keep the Undo and Redo buttons on the Quick Access Toolbar even if you mostly use shortcuts. They give you a visual cue about whether an action can be reversed.
  • Use the undo history drop-down to jump back several steps at once instead of clicking repeatedly.
  • If you are about to make a risky change, save the file first. Undo is not a substitute for a saved backup, especially for large deletions or formatting changes.
  • On a laptop with a compact keyboard, Ctrl+Z and Ctrl+Y are usually faster than reaching for the mouse.
  • If you use Excel for the web, the Undo and Redo buttons appear on the Home tab ribbon, and the same Ctrl+Z and Ctrl+Y shortcuts apply in most browsers.

Troubleshooting

If the Undo or Redo buttons are greyed out, first click inside the worksheet grid. The buttons stay inactive when you are editing a cell or when no action is available. If you just opened the file, make an edit and check again.

If the buttons are missing entirely, use the Quick Access Toolbar drop-down and add them, or rely on Ctrl+Z and Ctrl+Y. If the toolbar itself is hidden, right-click the ribbon area and look for the option to show the Quick Access Toolbar.

If Redo does nothing after you undo, you have probably made a new edit since the undo. Redo only works immediately after an undo, before any new change. Undo the new edit first, then redo.

If undo stops working after a certain point, the action may not be undoable, such as some operations in protected view or changes made by certain add-ins. Save your work, close and reopen the file, and try again. If the problem persists, disable add-ins one at a time from File > Options > Add-ins to identify the cause.

If the file is in Protected View, click Enable Editing on the yellow bar. Undo and redo are disabled until editing is enabled.

Frequently Asked Questions

Why is my Redo button greyed out?

Redo is only available right after you undo an action. If you have not undone anything, or if you made a new edit after undoing, the redo stack is empty and the button stays inactive.

What is the keyboard shortcut for redo in Excel?

On Windows, Ctrl+Y redoes the last undone action. On Mac, Command+Y is the standard redo shortcut, and Command+Shift+Z also works in many apps.

Can I undo more than one step at a time?

Yes. Click the small arrow next to the Undo button to open the undo history list, then click the action you want to return to. Excel undoes everything after that point. The list is limited to the current session.

Does undo work after I close and reopen the file?

No. Undo history is kept only while the workbook is open. Once you close it, the undo list is cleared, so save your work before closing if you might need to revert changes.

Why can't I see the Undo and Redo buttons at all?

The Quick Access Toolbar may be hidden or the buttons may have been removed. Use the toolbar's drop-down menu to add Undo and Redo, or use the keyboard shortcuts Ctrl+Z and Ctrl+Y (Windows) or Command+Z and Command+Y (Mac).

Do undo and redo work in Excel for the web?

Yes. Excel for the web shows Undo and Redo buttons on the Home tab, and the standard keyboard shortcuts work in most supported browsers. The undo history may be shorter than in the desktop app.