Skip to content
ArumSoft Learning
KO

    Everyday Excel Skills · Tutorial 1 of 14

    How to Save, AutoSave and Undo in Excel

    Save a workbook, let AutoSave keep cloud files up to date, undo and redo mistakes, and get back work after Excel closes unexpectedly.

    Level
    Beginner
    Time
    9 min read
    Updated:
    Applies to:
    Excel for Microsoft 365, Excel 2021, Excel 2019, Excel for the web
    The three amounts are back, and the total in B7 shows 1,980 again instead of 210.
    Example: The three amounts are back, and the total in B7 shows 1,980 again instead of 210.

    What you'll learn

    • Save a new workbook and save changes to an existing one
    • Explain when AutoSave is on and what it saves
    • Undo and redo one action or several at once
    • Recover work with AutoRecover after Excel closes unexpectedly
    • Pick the right safety net for a mistake, from Undo to Version History

    Three features keep your work safe. Save writes your changes to the file. AutoSave does that for you, every few seconds, when the file lives in OneDrive or SharePoint. Undo takes back your last actions, one at a time or several at once. The shortcuts are worth learning on day one: Ctrl+S to save, Ctrl+Z to undo and Ctrl+Y to redo.

    Where to find it

    • Save: press Ctrl+S, or go to File then Save. Save As (F12) saves a new copy under another name or in another place.
    • AutoSave: the AutoSave switch at the top-left corner of the Excel window, in the title bar.
    • Undo and Redo: the first buttons on the Home tab, or Ctrl+Z and Ctrl+Y.
    Undo and Redo sit at the far left of the Home tab. The arrow next to Undo lists your recent actions.

    If you've turned on the Quick Access Toolbar, Undo and Redo may appear there as well.

    Save a workbook

    1. Save it the first time

      Press Ctrl+S. A new workbook has no name yet, so Excel asks for a file name and a location. Choose a OneDrive or SharePoint folder if you want AutoSave and version history, or a folder on your computer if not. Excel saves workbooks as .xlsx files by default.

    2. Save your changes as you go

      After that, Ctrl+S saves straight into the same file without asking anything. Press it after every important change.

    3. Keep the original with Save As or Save a Copy

      To save your changes as a new file and leave the original untouched, press F12 or go to File then Save As. When AutoSave is on, the File menu shows Save a Copy instead of Save As: make the copy before you make changes, then open it and work there.

    Let AutoSave do the saving

    AutoSave saves your changes every few seconds while you work, so there's nothing to forget. It's on by default when all of these are true:

    • you have a Microsoft 365 subscription,
    • the file is stored in OneDrive, OneDrive for work or school, or SharePoint, and
    • the file is in a current format such as .xlsx, .xlsm or .xlsb. Older formats such as .xls can't use AutoSave.

    For a file on your computer the switch shows Off. If you click it, Excel asks you to choose a OneDrive or SharePoint location, saves the workbook there, and you carry on working in that cloud copy.

    AutoSave also saves mistakes, but they aren't permanent. While the file is open, Ctrl+Z still undoes them. After you've closed it, go to File then Info then Version History to open or restore an earlier version of the file.

    Undo and redo mistakes

    Undo goes back one action at a time, starting with the most recent. Here's a classic mistake it fixes.

    1. Start from a correct list

      Each student's score sits next to their name.

      AB
      1StudentScore
      2Ana72
      3Ben91
      4Chris64
      5Dana85
      6Eli78
      Five students and their scores. Ana scored 72 and Ben 91.
    2. The mistake

      Someone selects only B2:B6 and sorts it largest to smallest, choosing to continue with the current selection. The scores move but the names don't, so every score is now next to the wrong person.

      AB
      1StudentScore
      2Ana91
      3Ben85
      4Chris78
      5Dana72
      6Eli64
      After sorting column B on its own, Ana shows Ben's 91 and Eli shows Chris's 64.
    3. Undo it

      Press Ctrl+Z, or click Undo on the Home tab. The scores go back to their original rows, exactly as in the first picture.

    4. Redo if you went too far

      If you undid one step too many, press Ctrl+Y or click Redo.

    To undo several actions at once, click the small arrow next to Undo. The list shows your recent actions, newest at the top. Point to an older one and every action above it is selected too; click to undo them all in one go. Excel keeps up to 100 actions.

    When there's nothing left to redo, Ctrl+Y (or F4) repeats your last action instead: apply a fill color to one cell, select another and press it to apply the same color.

    Undo has limits. The list is cleared when you close the workbook, and running a macro clears it too. Saving doesn't clear it: you can save and still undo.

    Get back work after a crash

    For files that aren't using AutoSave, AutoRecover saves a recovery copy in the background, every 10 minutes by default. It's not a replacement for saving, but it means a crash or power cut costs you minutes, not hours.

    • After a crash: start Excel again. A Document Recovery pane lists the files it saved; open the version you want and save it.
    • A workbook you closed without saving: go to File then Info then Manage Workbook and choose Recover Unsaved Workbooks.

    To check the settings, go to File then Options and choose Save:

    Leave both boxes ticked. A shorter interval, such as 5 minutes, loses less work after a crash.

    Which safety net do you need?

    ProblemUse
    A mistake a moment agoUndo (Ctrl+Z)
    You undid too muchRedo (Ctrl+Y)
    You want to keep today's workSave (Ctrl+S), or AutoSave for cloud files
    You're about to try something riskySave As or Save a Copy first
    Excel crashed or you closed without savingAutoRecover and Recover Unsaved Workbooks
    A mistake that was saved yesterdayVersion History (files in OneDrive or SharePoint)

    Real-world scenarios

    Work

    A wrong number in a shared report

    A sales report lives in OneDrive with AutoSave on. A colleague typed 10200 instead of 1020 for South in February this morning, and AutoSave saved it.

    ABCD
    1RegionJanFebMar
    2North1,2501,3101,405
    3South98010,2001,110
    4East1,4301,3901,520
    5West870905960
    South's February figure reads 10,200 instead of 1,020.

    Your Undo can't take back someone else's edit. If it's a single cell, type the right number. If many cells changed, open File then Info then Version History, open the version from before the change, and copy the correct values back or restore that version.

    School

    Lab results after a crash

    You're typing lab results into a workbook saved on your laptop when Excel closes unexpectedly. You'd last saved after trial 3.

    ABC
    1TrialTime (s)Temp (°C)
    21021.5
    323024
    436026.8
    549029.1
    6512031
    Trials 4 and 5 (rows 5 and 6) were typed after the last save.

    Start Excel again and open the file from the Document Recovery pane. AutoRecover saves every 10 minutes, so trials 4 and 5 are there if it ran after you typed them. Save straight away, and next time store the file in OneDrive so AutoSave keeps it up to date.

    Budget

    Undo three steps at once

    You cleared the Rent, Groceries and Transport amounts by mistake, then made two more changes before you noticed. Instead of pressing Ctrl+Z and checking after each press, open the list next to Undo and click the entry for the clear: it and the two later changes are undone together.

    AB
    1CategoryAmount
    2Rent1,200
    3Groceries450
    4Transport120
    5Phone60
    6Fun150
    7Total1,980
    The three amounts are back, and the total in B7 shows 1,980 again instead of 210.

    The total updates by itself because it's a formula, =SUM(B2:B6).

    Common mistakes

    • Never saving a new workbook. A workbook that has never been saved is the easiest to lose. Press Ctrl+S in the first minute and give it a name.
    • Saving over the only good copy. Undo can't help after you close the file. Use Save As or Save a Copy before big changes.
    • Thinking AutoSave is on when it isn't. Check the switch at the top-left. For files on your computer it's off, and only Ctrl+S and AutoRecover protect you.
    • Relying on AutoRecover instead of saving. AutoRecover is for emergencies and keeps only recent recovery copies. Save the file properly.
    • Pressing Ctrl+Z after closing. Undo history is cleared when you close the workbook. For an older state of a cloud file, use Version History.

    Practice

    Practice

    Try every safety net once

    In your own Excel:

    1. Create a new workbook, type a short list of five names and scores, and press Ctrl+S. Save it with a name you'll recognize.
    2. Look at the AutoSave switch. Is it on or off for this file, and why?
    3. Delete two scores, then type a new heading. Use the arrow next to Undo to undo all of these changes in one go, then redo one of them with Ctrl+Y.
    4. Use Save As (or Save a Copy) to save a second version with _v2 at the end of the name.
    5. Open File then Options, choose Save, and note how often AutoRecover saves on your computer.

    Related

    Was this guide helpful? Spot a mistake? Send feedback · admin@arumsoft.com