Fix Excel Opening Deleted OneDrive Workbooks with #REF! Errors
Question details
Users are struggling with Excel persistently opening an old, corrupted version of a downloaded workbook filled with #REF! errors and broken TABLE formulas instead of the current file.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Downloading a workbook from a browser or opening a synced file, but an outdated or deleted version loads instead due to cache or sync retention.
- Observed behavior
- The downloaded Excel file repeatedly opens a corrupted, cached copy displaying #REF! errors and TABLE formula issues, stemming from OneDrive or browser storage restoration.
Make sure to close all active Microsoft Excel windows and verify your internet connection is stable before attempting to clear your cloud or browser caches.
Clear OneDrive Recycle Bin and Review Version History
Use this solution to prevent OneDrive from automatically restoring the corrupted, deleted version of the workbook by managing your cloud storage directly.
Often, Excel pulls cached file states from Microsoft OneDrive's background syncing. By physically removing the corrupted file from the cloud Recycle Bin, you sever the link causing the file to reappear.
Open your web browser and log into the specific OneDrive account associated with your computer.
Click on the Recycle Bin option located in the left-hand navigation pane of the OneDrive web interface.
Locate the matching Excel workbook. Click the ellipsis (...) next to the file name and choose 'Delete' to permanently erase it, or 'Restore' if you wish to recover a known good state.
If you restored the file, right-click the workbook in your active OneDrive folder, select 'Version history', and download a clean copy generated before the corruption occurred.

Download via Private Browser Window
Use this method if the corrupted file is being served from your local browser cache rather than OneDrive.
Bypass OneDrive Sync Conflicts with WPS Office
If Microsoft Excel's deep OneDrive integration continues to force corrupted cloud versions to load, consider switching to WPS Office. It provides a reliable, independent environment that reads your local files without unwanted cloud interventions.
- 1. Install WPS Office: Download and install the free WPS Office suite from the official website.
- 2. Open WPS Spreadsheet: Launch the WPS Spreadsheet application from your desktop or start menu.
- 3. Open the Workbook locally: Click 'Menu' then 'Open', and select your downloaded workbook from your local Downloads folder to view it without OneDrive interference.

Frequently Asked Questions
Why does Excel keep opening a deleted version of my file?
This happens when Microsoft OneDrive or your web browser retains an older, cached version of the file. When you attempt to open the new download, the system mistakenly prioritizes and retrieves the cached, corrupted version from its storage instead of the newly downloaded file.
What does a #REF! error mean in Excel?
A #REF! error indicates that a formula refers to a cell that is not valid. In corrupted or improperly restored workbooks, entire tables or cell references might be missing or broken during the sync process, causing these errors to display.
How long does OneDrive keep my deleted Excel files?
For personal OneDrive accounts, deleted files are typically held in the Recycle Bin for 30 days before being permanently erased. For work or school accounts, the retention period can be up to 93 days depending on administrator settings.




