How to Recover a Corrupted Shared Excel File That Won't Open
Question details
The user needs to recover a shared Excel workbook that returns an invalid file format or extension error and cannot be opened locally or via Excel for the Web.
- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Attempting to open a shared workbook after it was closed with AutoSave disabled.
- Observed behavior
- The application displays an invalid file format or extension error, and attempting to restore previous versions from the desktop app has failed.
Ensure you have downloaded a local copy of the corrupted file before attempting repairs to avoid causing further syncing conflicts on your shared drive.
Repair the Corrupted Excel File Locally
Download the shared file to your local computer and use Excel's built-in repair tool to fix corruption errors.
Microsoft Excel includes a built-in Open and Repair feature that can often salvage data from files corrupted by interrupted saves or network drops.
Go to your shared drive (such as OneDrive or SharePoint) via a web browser and download a copy of the corrupted workbook to your local PC.
Launch Microsoft Excel, click on the 'File' tab in the top-left corner, and select 'Open'.
Click 'Browse' and navigate to the folder where you saved the downloaded corrupted file.
Click once to select the file, then click the small arrow next to the 'Open' button, and choose 'Open and Repair...' from the dropdown menu.
Click 'Repair' to recover as much of your work as possible. If the file still won't open, repeat this process but choose 'Extract Data' instead to salvage values and formulas.
Restore a Previous Version via the Web Interface
If local repairs fail, use the OneDrive or SharePoint web interface to restore a working historical version of the shared file.
Try WPS Office for Reliable Spreadsheet Management
If Microsoft Excel frequently encounters file corruption or syncing errors, consider switching to WPS Office. It is a highly compatible, free, and lightweight alternative that offers robust spreadsheet tools and excellent file format parsing. Often, WPS Office can successfully open mildly corrupted .xlsx files that standard Office cannot.
- 1. Download and install: Get WPS Office for free from the official website and install it on your computer.
- 2. Open the corrupted file: Launch WPS Spreadsheet, go to Menu > Open, and select your corrupted Excel file to see if the WPS parsing engine can salvage your data.
- 3. Save as a new file: If the file opens successfully, go to Menu > Save As, and save a fresh copy of the .xlsx file to clear out any residual corruption.

Frequently Asked Questions
Why does my shared Excel file say invalid file format or extension?
This error typically occurs if the file became corrupted during a save process (such as when AutoSave is interrupted or a network connection drops) or if the file extension was accidentally changed or mismatched during synchronization.
Can I recover data if 'Open and Repair' fails completely?
Yes. When using the 'Open and Repair' dialog in Excel, you can choose 'Extract Data' instead of 'Repair'. This will bypass the damaged structure of the workbook and attempt to salvage only the raw text, values, and formulas.
Does turning off AutoSave increase the risk of file corruption in shared files?
Yes, especially in collaborative cloud environments. Disabling AutoSave prevents incremental background saves. If there is an unexpected application crash, power failure, or network drop when you finally attempt to save manually, the entire file is at a higher risk of corruption.
What should I do if Version History is not available?
If Version History is disabled or empty on OneDrive/SharePoint, your best option is to download the file locally and try Excel's 'Open and Repair' tool, or try opening the file using an alternative spreadsheet software like WPS Office, which may have different file parsing tolerances.




