Reversing an Excel update means undoing the most recent change you made—like editing a cell, inserting a row, or applying a formula—to restore your spreadsheet to its prior state. Excel includes built-in undo functionality that works instantly for most recent edits, but it resets if you save, close, or perform certain actions like using macros or Power Query refreshes. To reverse an update reliably, you need to act before saving or before the undo stack clears. No additional tools are required—Excel’s native Undo feature handles most cases.

What You'll Need

  • Microsoft Excel installed (Excel 2016 or later, Microsoft 365, or Excel for the web)
  • An unsaved or recently saved workbook where the change you want to reverse is still in the undo history
  • For Power Query or macro-based updates: ensure macros are enabled and Power Query connections are not set to refresh automatically on open

Step-by-Step

  1. Open the Excel workbook where the unwanted update occurred.
  2. Click anywhere inside the worksheet to ensure it’s the active sheet (not a chart or shape).
  3. Press Ctrl + Z (Windows) or ⌘ + Z (Mac) once. This reverses the last action—such as typing in a cell, deleting a row, or formatting changes. Repeat Ctrl + Z to undo multiple steps, up to the limit of Excel’s undo stack (typically 100 steps, but fewer if macros or external data is involved).
  4. If you’ve already saved the file after the update, press Ctrl + Z immediately after opening the file—Excel preserves the undo history in memory until you close it, even if you saved. However, if you’ve closed and reopened the workbook after saving, the undo history is lost and you’ll need recovery options (see Troubleshooting).
  5. For inserts/deletes (e.g., inserting a column or deleting rows), undoing with Ctrl + Z restores the original structure instantly. If you undid a paste operation, the clipboard content remains, but the pasted data is removed.
  6. To verify the reversal worked, scroll to the affected area and compare cell values, formulas, or layout with your memory of the prior state. Use the Name Box (left of the formula bar) to jump to key cells and double-check critical entries.
  7. For updates applied via formulas (e.g., changing =SUM(A1:A10) to =AVERAGE(A1:A10)), undoing restores the previous formula. If the formula was accepted into the cell, Ctrl + Z reverts it; if you pressed Enter and moved to another cell, it still works—just keep pressing Ctrl + Z until the desired state returns.

Common Mistakes

  • Pressing Ctrl + S (save) before undoing—once saved, closing and reopening the file clears the undo stack, making reversal impossible without backups.
  • Using data validation or conditional formatting that masks changes—sometimes the underlying data appears unchanged visually, but the formula or value was altered; undo the formatting and the cell content separately if needed.
  • Assuming undo works for external data sources—Power Query edits, database connections, or web queries often bypass the undo stack. Refreshing such data may overwrite local changes permanently.
  • Trying to undo after using the 'Clear' command (Home > Clear > All)—this removes content and formatting in one step, and undoing only restores what was last cleared, not the full state before all clears.
  • Editing in Protected Sheets without unprotecting first—if the sheet is protected, some undo actions may fail silently. Unprotect the sheet (Review > Unprotect Sheet) before undoing, then re-protect if needed.

Tips

  • Use Ctrl + Z frequently as you work—it’s faster than manually correcting errors. Excel’s undo history is linear, so each undo is precise and reliable.
  • Enable AutoRecover for safety: File > Options > Save > check 'Save AutoRecover info every X minutes' (set to 5–10 minutes). This helps recover work if Excel crashes, though it doesn’t extend the undo stack.
  • For complex updates (e.g., multiple sheets), use the 'Undo List' to see what’s available: click the small downward arrow next to the Undo button on the Quick Access Toolbar (top-left). It displays the last 10 actions you can revert.
  • Hold Ctrl + Z to rapidly reverse repeated actions (e.g., undoing the same edit across cells), but stop when the desired state is reached—Excel won’t let you undo past the stack limit.
  • When sharing workbooks, avoid 'Track Changes' for simple undo needs—it’s overkill and adds complexity. Use version control (e.g., save as 'Report_v2.xlsx') instead.
  • On Excel for the web, undo works the same way (Ctrl + Z / ⌘ + Z), but the undo stack is smaller (around 20 steps). Save locally if you need more history.

Troubleshooting

If Ctrl + Z doesn’t reverse the update, follow these checks:

  1. Check if undo is still active: Click the Undo button on the Quick Access Toolbar (left of the ribbon). If it’s grayed out, the stack is empty—try pressing Ctrl + Z anyway. If nothing happens, the action can’t be undone with standard undo.
  2. Did you save and close? If the file was closed after saving, undo history is gone. Open the file again and immediately press Ctrl + Z—if it works, the file was reopened before the stack cleared. If not, proceed to recovery.
  3. Power Query or macros involved? Refreshing a query or running a macro often bypasses undo. Try File > Info > Edit Links to Break Link (for external data), then undo. For macros, press Ctrl + Break to stop a running macro, but existing changes may persist.
  4. Use 'Revert to Saved': If undo isn’t available, go to File > Info > Manage Workbook > Revert to Saved. This reopens the last saved version, erasing all unsaved changes. Warning: This discards any work since your last save.
  5. Check AutoRecovered versions: If Excel crashed, open File > Info > Manage Versions > Recover Unsaved Workbooks. Select the file and open it—this may contain your pre-update state if AutoRecover captured it.
  6. Restore from backup: If you use OneDrive or SharePoint, right-click the file in Explorer or Finder > Version History > restore a previous version. Local backups (Time Machine, Windows File History) also work.

Frequently Asked Questions

Can I undo an Excel update after saving the file?

Yes, but only if you haven’t closed the workbook. Undo history stays in memory until you close Excel. Once closed—even after saving—you lose the undo stack for that session.

Why does Ctrl + Z sometimes not work?

Common reasons include: the action was performed outside Excel (e.g., pasting from another app that cleared the clipboard), the workbook was saved and reopened, or a macroPower Query operation bypassed undo. Also, some ribbon commands (like 'Clear Formats') have separate undo paths.

How many steps can Excel undo?

Typically up to 100 steps for standard edits (typing, formatting, row/column operations). For workbooks with Power Query, macros, or external links, the limit may drop to 20–50 steps due to how those features interact with the undo stack.

Does undo work for pivot tables?

Yes—for actions like dragging fields, changing values, or applying filters. But if you refresh the pivot table after an update, the undo history for that pivot may be cleared. Undo before refreshing to restore field layouts.

Can I undo a formula that #NAME? or #REF! errors?

Yes—if the error resulted from editing a cell (e.g., deleting a column a formula referenced), Ctrl + Z reverts the deletion and restores the formula. If the formula itself was typed incorrectly, undoing reverts the cell to its previous content.

What if I accidentally undo too far?

Press Ctrl + Y (Windows) or ⌘ + Shift + Z (Mac) to redo the last undone action. You can redo multiple steps until you reach the current state. This works only immediately after undoing—don’t save or edit in between.