How to Recover an Excel File Saved Over by Mistake
Question details
The user needs to recover a previous version of an Excel workbook after accidentally saving over the original file with new data.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Accidentally overwriting an existing Excel spreadsheet and saving the changes.
- Observed behavior
- The original data is replaced by the newly saved changes, and standard undo options are no longer available.
Stop making further changes to the overwritten file and close it if possible, as continued editing may overwrite temporary files or version history caches needed for recovery.
Restore Using Excel Version History
If your file is synced with OneDrive or SharePoint, Excel automatically saves previous versions of your document.
Cloud-synced files natively support Version History, allowing you to easily browse and restore older iterations of your workbook. This is the most reliable method if AutoSave was turned on.
Open the overwritten Excel file. Click on 'File' in the top-left corner, then select 'Info'. Click on 'Version History'.
A side panel will appear on the right side of the screen displaying past versions organized by date and time.
Click 'Open version' under the specific timestamp you want to recover. Once it opens, click the 'Restore' button at the top of the window to overwrite the current file, or 'Save a Copy' to create a new file.

Recover Using Windows File History
If you have Windows backup or File History enabled, you can restore previous file states directly from File Explorer.
Check Manage Workbook and Document Recovery
Excel's built-in recovery tools might have retained a temporary copy of the file before it was fully overwritten.
Easily Manage File Versions with WPS Spreadsheet
WPS Office offers robust auto-backup and version history features, ensuring your spreadsheets are continuously saved and easily recoverable even if accidentally overwritten.
- 1. Open Backup Management: In WPS Spreadsheet, go to 'Menu' in the top left, click 'Backup and Recovery', then select 'Auto Backup'.
- 2. Browse local backups: Click 'Local Backup' to open the backup directory and browse folders for previous automatic saves of your overwritten file.
- 3. Use Cloud Version History: If you use WPS Cloud, click 'File', go to 'File Information', select 'Version History', and choose an earlier backup timestamp to restore.

Frequently Asked Questions
Can I recover an overwritten Excel file if I don't use OneDrive?
Yes. If you have enabled Windows File History or Windows System Restore, you can right-click the file in File Explorer, select 'Properties', and check the 'Previous Versions' tab to find an older copy.
Why is my Excel Version History empty?
Version History is generally only available for files saved to cloud services like OneDrive or SharePoint. If the file is saved purely on your local hard drive without a backup system enabled, the history will be empty.
Does the Undo command work after saving the Excel file?
In standard desktop Excel, saving a file and closing it clears the Undo history. If the file is still open, you might be able to press Ctrl+Z to undo changes, but once closed and reopened, the previous state is lost.
Where are Excel temporary files stored?
Excel temporary files are typically stored in 'C:\Users\[YourUsername]\AppData\Local\Microsoft\Office\UnsavedFiles'. You can check this folder for potentially recoverable drafts if the system created an autosave prior to overwriting.




