If either Word or your PC crashes while working on a Word document, don’t panic! Recovering unsaved Word documents is easy to do; even damaged or deleted files are not always lost. Microsoft has numerous tools built into its popular text program which allow you to retrieve the edited or in-progress file. And if these tools don’t work, Windows and special repair and recovery tools offer plenty of...
When you suddenly lose an important Excel workbook, many hours of painstaking work are often wasted. In many cases, you lose your data as soon as the spreadsheet application crashes or the file is accidentally overwritten. However, we can show you how torecoverunsavedExcel files (or overwritten ones), similar to the options for recovering Word documents.
In this tutorial, we’ll explain the different ways of solving this problem and walk you through the steps for recovering an Excel file.
- Recovering an overwritten Excel file from an Excel backup
- Recovering overwritten data in Excel from a OneDrive backup
- Recovering an overwritten Excel workbook with Windows File History
- Recovering an unsaved Excel file
- Auto-saving protects against data loss
Recovering an overwritten Excel file from an Excel backup
In earlier versions of Excel, every time a file was saved, a backup copy was automatically created. This backup copy served as protection against accidental changes, as it allowed users to recover the most recent version of the Excel workbook in an emergency. This feature still exists in newer versions of Excel, but it’s hidden. You now have to make a separate setting for each file to specify whether you want to create a backup copy when the file is saved. You can adjust this setting as follows:
- Click the ‘File’ tab and then ‘Save as’.
- In the next window select ‘Browse’ and choose the folder where you want to save the file.
- In the ‘Save As’ dialogue box, click on ‘Tools’ and then ‘General Options’.
- In this dialogue box, check the ‘Always create backup’ box and click on ‘OK’ to confirm.
Now a backup copy with the extension XLK will be automatically created each time you save the file.
There are two ways of recovering this backup file: You can replace the file extension of the backup file with XLSX and then open it in the usual way. Or you can select the ‘File’ tab in Excel and click ‘Open’. Click the ‘Browse’ button and go to the folder where the file is located. In the drop-down list box at the bottom right, select ‘Backup files’ instead of ‘All Excel files’. You’ll now see all backup files in this folder. You can then open, edit, and save them as Excel filesagain.
You can also access the ‘Open’ dialogue box by using the Excel keyboard shortcut [Ctrl] + [O].
Excel with Microsoft 365 and IONOS!
Use Excel to create spreadsheets and organise your data - included in all Microsoft 365 packages!
Recovering overwritten data in Excel from a OneDrive backup
You automatically have backups of your most recently saved versions if you save Excel files on OneDrive to share them with co-workers, collaborate on documents, or use files on multiple devices. OneDrive has a simple version control feature that allows you to recover the most recent backups of all files at any time. To do this, simply follow these steps:
- Right-click the file you want to recover in the OneDrive folder (via the File Explorer).
- In the context menu, select ‘Version history’. You will see the most recent backups of the file.
- Click the three dots next to the version you want to restore. You can then restore the Excel file with its original name or download and save it with a different name to compare the two versions.
Microsoft 365 from IONOS gives you a server-based office solution for personal users and small businesses at an affordable price – including 1 terabyte of OneDrive storage space.
Recovering an overwritten Excel workbook with Windows File History
The optional File History feature in Windows 10 saves all files to a separate user directory on an external drive at regular intervals (and when you make major changes). File History not only protects against loss of data due to hard drive failures or viruses, it also lets you recover accidentally overwritten files. External USB storage media or a network drive is required for the backup.
If you’ve already enabled File History, you can restore a previous version of an Excel workbook as follows:
- In the File Explorer, select the file and click on the ‘History’ button on the ‘Home’ tab.
- A new window opens showing the most recently saved version of this file. You can scroll back and forth between older file versions using the left and right arrow buttons at the bottom of the window. This way, you can easily find the version of the file you’re looking for.
- To restore a version, click the circular arrow in the centre at the bottom of the window. This overwrites the existing version of the file. Alternatively, click the gear icon in the top right corner and select ‘Restore to’ from the drop-down menu. Now, you can select the directory where you want to restore the old version of the file.
There’s an even easier way to find previous versions of a particular Excel file: Right-click the file in the File Explorer and select ‘Properties’ from the context menu. In the next dialogue box, you’ll see a list of all saved versions in the ‘Previous versions’ tab. You can then choose ‘Restore’ to recover the file or save a copy to another folder.
Setting up File History
To use the method described above, you first have to set up File History in Windows:
- In the Settings app, go to ‘Update and security’ and choose ‘Backup’.
- Click on ‘Add a drive’ and select the backup drive you want to use. If Windows finds an external hard drive or a network drive that can be used for File History, that drive is suggested automatically.
- Activate ‘Automatically back up my files’.
- Once you activate this option, version history is enabled in the background.
- Click on ‘More options’ and then ‘Backup now’ to start copying data to the backup drive. Otherwise data will not be copied until the next change.
Selecting folders to back up
File History backs up files that would not be recoverable if lost, but it does not back up applications or operating system files. It selects commonly backed up folders in your user profile automatically for backup. Under ‘Backup options’, you can add any other folders such as project folders that are not in your user profile folder on the hard drive.
Recovering an unsaved Excel file
If Excel crashes while you’re working or if there’s a power failure, the file you’re currently editing usually is not lost. As a rule, it can still be recovered, even if you didn’t save it before the application quit. That’s because all Microsoft Office applications have an automatic backup feature. If Excel stops responding and crashes, you can recover an Excel file from the automatic backup as soon as you restart Excel after it quits unexpectedly.
On the Home tab, you can then recover the Excel file as follows:
- Click on ‘Show Recovered Files’ to display a list of all recently opened and unsaved files with the most recent save date.
- Click a file to restore it.
- Always remember to save the backup as an Excel file because the auto-recovered file will be deleted when you close Excel after saving your work.
You can also recover an unsaved Excel file at a later point in time:
- To do this, click ‘File’ on the ribbon, go to the ‘Info’ section, and choose ‘Manage Workbook’.
- Choose ‘Recover Unsaved Workbooks’ to display and recover unsaved Excel files. Excel saves unsaved files to the folder C:\Users\\AppData\Local\Microsoft\Office\UnsavedFiles. You can also access the files from this folder.
Auto-saving protects against data loss
Excel has its own backup feature that automatically saves your documents at regular intervals while you work. However, you need to enable this feature:
- To do this, go to the ‘File’ tab and click on ‘Options’.
- In the next window, go to the ‘Save’ section and check the ‘Save AutoRecover information every...’ box.
- Specify how often you want Excel to save your data.
- Select ‘Keep the last autosaved version if I close without saving’. This makes it easier to recover your most recent Excel file if the program unexpectedly exits.
Learn more about `Excel: track changes´ in our Digital Guide article on the topic.