OneDrive File Issues

Fix Excel Opening Deleted OneDrive Workbooks with #REF! Errors

Algirdas JasaitisAlgirdas Jasaitis Oct 9, 2026 870 views

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.

How to Fix Excel Opening a Deleted OneDrive Workbook with #REF! Errors
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.
Before you start

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.

Solution 1Recommended

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.

1
Access OneDrive online

Open your web browser and log into the specific OneDrive account associated with your computer.

2
Navigate to the Recycle Bin

Click on the Recycle Bin option located in the left-hand navigation pane of the OneDrive web interface.

3
Delete or Restore the workbook

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.

4
Review Version History

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.

Clear OneDrive Recycle Bin and Review Version History
OneDrive Retention Policy: OneDrive typically retains deleted files in the Recycle Bin for 30 days for personal accounts before permanently deleting them.
Free Microsoft Office alternative

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. 1. Install WPS Office: Download and install the free WPS Office suite from the official website.
  2. 2. Open WPS Spreadsheet: Launch the WPS Spreadsheet application from your desktop or start menu.
  3. 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.
Excellent compatibility with Microsoft Excel (.xls, .xlsx) files and advanced TABLE formulas.Independent local file handling that avoids disruptive Microsoft OneDrive background sync loops.Lightweight application that opens large data files rapidly without lag.Completely free to use with a familiar spreadsheet interface for seamless migration.
microsoft office alternative - wps office

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.