Excel repair is possible using built-in tools to recover data from corrupted files, though the success rate depends on the severity of the corruption and whether you have a backup. The most reliable method is to use the built-in “Open and Repair” feature, which attempts to extract data by fixing the file structure before opening it. If that fails, you may need to recreate the workbook from a backup or use an external data recovery tool, provided you have a recent copy of the file.
What You'll Need
- A computer running Windows or macOS with Microsoft Excel installed.
- A valid Microsoft 365 or Office license if you are reinstalling the software.
- A copy of the corrupted Excel file (.xlsx, .xls, or .xlsm).
- Internet connection (required for downloading updates or accessing cloud-based repair services).
- A secondary storage device, such as an external hard drive or USB flash drive, if you are moving the file to another computer.
Step-by-Step
- Close the Corrupted File: If the Excel file is currently open and causing an error, force-close the application. On Windows, press Ctrl + Alt + Delete and select “Task Manager,” then find Microsoft Excel in the list and end the task. On macOS, press Command + Option + Esc and force-quit Excel. Do not attempt to save the file, as this can sometimes make the corruption worse.
- Open Excel and Navigate to the File Menu: Launch the Excel application. On the top-left corner, click the File tab to open the backstage view.
- Access the Open Command: In the backstage view, locate and click the Open button. This will open the standard file selection dialog box.
- Select the Corrupted File: Use the file explorer to navigate to the folder containing the damaged Excel file. Click on the file once to select it. You can select multiple files if you are attempting to repair a batch of files.
- Choose the Repair Option: Do not simply click the “Open” button in the bottom-right corner. Instead, look for the small arrow or dropdown menu next to the “Open” button and click it. Select Open and Repair from the list of options.
- Choose the Repair Method: A dialog box will appear asking what you want to do. You have two options:
- Repair: This option attempts to fix the file structure and recover as much data as possible. Excel will scan the file for errors and attempt to extract the data into a new file. This is the recommended first step.
- Extract Data: If the Repair option fails, this option attempts to extract raw data from the file, ignoring formatting and formulas. This is useful if you only need the numbers in the cells.
- Review the Results: If the repair is successful, Excel will open the workbook. You may see a message indicating that the file was successfully repaired. If the file opens without errors, check the data to ensure it is complete. If the file opens but contains missing data or formatting, the damage may be too severe for the built-in tool.
- Save the Repaired File: Once you have verified the data, save the file immediately. It is recommended to save the repaired file with a new name (e.g., “Original_File_Repaired.xlsx”) to preserve the original corrupted file for potential further analysis or recovery attempts.
- Reinstall Excel (If Software is Corrupted): If Excel itself is not opening and you are receiving persistent errors about the application, the software installation may be damaged. To fix this:
- Go to Control Panel > Programs and Features (Windows) or open the Applications folder in Finder (macOS).
- Locate Microsoft Office or Microsoft 365 in the list of installed programs.
- Click Change or Modify.
- Select the Repair option from the setup wizard and follow the prompts to reinstall the software.
Common Mistakes
- Forcing a Save: Attempting to save a corrupted file immediately after an error can overwrite the file with incomplete or corrupted data, making recovery impossible. Always use the built-in repair tool before attempting a manual save.
- Ignoring Backup Files: Excel sometimes creates temporary backup files (.xlw) when a file is closed unexpectedly. These files are usually located in the same folder as the original file. Checking for these files can save time before using the repair tool.
- Overwriting the Original: Saving the repaired file over the original filename deletes the corrupted version, which is essential if you plan to use a professional data recovery service. Always create a new file name or save to a different location.
- Using Incompatible File Formats: Trying to open a modern Excel file (.xlsx) with an older version of Excel (pre-2007) that only supports .xls can cause errors. Ensure your Excel version is compatible with the file format you are trying to open.
Tips
- Enable AutoRecover: To prevent future data loss, ensure AutoRecover is enabled. Go to File > Options > Save and check the box for Save AutoRecover information every 10 minutes. This will create temporary backups of your work at regular intervals.
- Use OneDrive: Storing Excel files in OneDrive or SharePoint can provide an automatic version history. If a file becomes corrupted, you can often revert to a previous version from the cloud storage interface, provided the version was saved before the corruption occurred.
- Check for Updates: Keeping Excel updated can prevent corruption caused by software bugs. Go to File > Account > Update Options and check for updates regularly.
- Repair the System: If you are experiencing frequent Excel crashes or corruption, running a system file checker on Windows can resolve underlying issues. Open the Command Prompt as an administrator and type
sfc /scannowand press Enter.
Troubleshooting
If the Open and Repair feature does not resolve the issue, proceed with these steps in order:
-
Check for Add-Ins: Sometimes, a corrupted or incompatible add-in can cause Excel to fail. To test this, open Excel in Safe Mode by holding the Ctrl key while double-clicking the Excel shortcut or by going to Start > Run and typing
excel /safe. If Excel opens correctly in Safe Mode, an add-in is likely the culprit. Disable add-ins by going to File > Options > Add-Ins and managing the COM add-ins. - Try a Different Computer: If possible, try opening the file on a different machine. This helps determine if the issue is with the file or with the software installation on your computer.
- Use Online Conversion Tools: There are third-party online services that claim to convert Excel files to CSV or other formats. While these can sometimes extract data, be cautious about uploading sensitive data to unverified internet sites. These tools are not a substitute for the official repair method.
- Use a Dedicated Recovery Tool: If the file is severely damaged, you may need to use a dedicated data recovery software tool designed for Excel files. These tools scan the file for recoverable data blocks. Be aware that many of these tools are paid services, and there is no guarantee of recovery.
Frequently Asked Questions
Can I recover an Excel file that won't open?
Yes, you can often recover an Excel file that won't open by using the built-in “Open and Repair” feature in Excel. This tool attempts to fix the file structure and extract the data before opening it.
What is the difference between Repair and Extract Data?
Repair attempts to fix the file structure and recover formatting, formulas, and data. Extract Data attempts to extract only the raw values from the cells, ignoring formatting and formulas. Use Extract Data if the Repair option fails.
Does AutoRecover work if Excel crashes?
AutoRecover creates temporary backup files at regular intervals. If Excel crashes, these files can be used to recover your work. However, AutoRecover only works if the application was open and the feature was enabled.
Is there a free way to repair Excel files?
The built-in “Open and Repair” feature is free and included with Microsoft Office. Third-party online tools may offer a free trial or limited recovery, but full recovery often requires a paid subscription.
Why does Excel keep saying the file is corrupt?
Excel may report a file as corrupt due to software bugs, severe file system errors on the hard drive, or damage caused by a power outage during a save operation.
Can I repair an Excel file on a Mac?
Yes, the “Open and Repair” feature is available on both Windows and macOS. The menu paths are similar, but the exact wording may vary slightly depending on the version of Excel you are using.