Open and Repair is Excel's built-in recovery tool for workbooks that refuse to open, open with garbage instead of data, or trigger a "file format is not valid" error. Instead of just failing, Excel opens a dialog that lets you try to recover as much of the workbook as it can, or extract only the data (values and formulas) when the structure itself is damaged. You do not need extra software, and it works the same in Excel for Windows, Excel for Mac, and Microsoft 365 desktop apps. One caveat up front: Open and Repair is not available in Excel for the web — you need the desktop app. Nothing else is required, but it helps to have Excel fully updated first, since file-format fixes ship with updates. Dialog names and menu labels can differ slightly by version, device, and region.

What You'll Need

  • A desktop installation of Excel (Windows or Mac) with Microsoft 365 or a licensed version.
  • The damaged workbook saved somewhere you can find it, ideally in a local folder rather than a synced cloud folder.
  • A copy of the file, if you can make one, so the original stays untouched.
  • Write access to the folder where you want to save the repaired version.

Step-by-Step

  1. Close Excel completely. If Excel is stuck in an error loop, end the app from your system's task manager (Windows) or Force Quit (Mac) and reopen it clean. Trying to repair from inside a half-frozen session often fails.
  2. Open the Open dialog, not just double-click the file. In Excel go to File > Open > Browse. Double-clicking a corrupt file from a folder bypasses the Open and Repair option entirely, which is the biggest reason people never see it.
  3. Locate the workbook. Navigate to the folder holding the damaged file and select the file by clicking it once so it is highlighted but not opened.
  4. Use the arrow next to the Open button. Click the small drop-down arrow beside Open at the bottom-right of the dialog. In the menu, choose Open and Repair.
  5. Decide between Repair and Extract Data. Excel shows a dialog with two buttons. Repair attempts to recover formatting, charts, named ranges, and VBA code, not just cell values. Extract Data pulls out only the values and formulas, losing formatting, charts, and macros. Start with Repair, and fall back to Extract Data if Repair fails.
  6. Watch for a report. When you click Repair, Excel may show a warning box saying it found problems but can repair them, then a second box after saving that tells you what was removed. Read that box — it lists the specific items lost, for example a damaged sheet, chart, or a defined name.
  7. Save immediately under a new name. Use File > Save As and give the workbook a new filename, such as the original name plus "recovered." Do not overwrite the damaged original; you may need it again if the repair was partial.
  8. Check what survived. Scan every sheet, count the rows against what you expect, inspect formulas in key cells, and open any chart or pivot table tabs. If a sheet's tabs are gone, look at the recovery report — that will tell you which items were removed.
  9. If Repair fails, repeat with Extract Data. Close the file, run File > Open > Browse, select it, click the arrow beside Open, choose Open and Repair > Extract Data, and save under yet another new name. You get unformatted data, which you can then copy into a fresh workbook.
  10. Rebuild what was lost, if needed. If Extract Data leaves you with bare values, recreate formatting and formulas in a clean workbook. This is also a good moment to verify the data against your source or a backup copy.

Common Mistakes

  • Double-clicking the file. That skips the Open and Repair option. You must start from File > Open > Browse and use the arrow beside the Open button.
  • Overwriting the original. Always save the repaired version under a new name so the damaged file stays available for a second attempt.
  • Choosing Extract Data first. Extract Data strips formatting, charts, macros, and named ranges. Try Repair first; only Extract Data if Repair genuinely fails.
  • Ignoring the recovery report. The box Excel shows after saving lists exactly what was removed. Closing it without reading it leaves you wondering later why something is missing.
  • Repairing a cloud-synced copy. If the file is stored in a OneDrive or SharePoint folder that is actively syncing, the synced copy may overwrite your recovered file. Work from a local copy and save the repaired workbook outside the synced folder.
  • Assuming Open and Repair fixes every problem. It does not repair a workbook that has been encrypted with a password it cannot read, and it cannot recover data that was never written to the file.

Tips

  • Update Excel (or Microsoft 365) first. Repair success rates improve when the version is current, because file-format handling receives fixes over time.
  • If possible, copy the damaged file to a local folder before you try — keeping the original untouched gives you a clean retry.
  • If the workbook has a macro (VBA) associated with it, try opening it in step-by-step mode after repair to see whether the macro is intact. Never re-enable macros in a workbook from an untrusted source.
  • Keep a backup habit in mind for the future: Excel's AutoRecover saves copies at intervals, so a crash before a repair gives you another source. Check File > Open > Recover Unsaved Workbooks if the file cannot be repaired at all.
  • If you only need the data quickly, Extract Data followed by a copy into a fresh sheet is often faster than rebuilding every formula by hand.
  • Watch for the warning that Excel may find issues but can repair them — that is normal and usually means the file is recoverable.

Troubleshooting

Excel says the file is corrupt but Open and Repair won't open. Check that the file is not read-only and that it is not on a network drive that dropped. Copy the file to your local drive and try again.

Open and Repair does not appear in the menu. You may be using Excel for the web or the Office mobile app. Open the workbook in the desktop Excel app on a PC or Mac, where the option exists.

Repair reports that a sheet or chart was removed. Consult a backup copy of the same file to see what the removed item looked like, then rebuild it in the repaired version and save under the new name.

Extract Data loses formulas. Extract Data keeps calculated values but may not preserve formulas. Rebuild the formulas from the originals if the workbook's calculation logic matters.

The repaired file crashes again. Check that the version of Excel and the file format type (for example .xlsx versus .xls) match the original workbook. If the crash persists, open the workbook in a new Excel session, and if that fails, rebuild only the affected sheet rather than re-running the repair.

It is a password-protected file. Open and Repair cannot fix a file whose password you do not know; you will need the correct password first.

Frequently Asked Questions

Does Open and Repair work in Excel for the web?

No. It is a desktop-only option in Excel for Windows and Mac. If you are using the browser version, you will need the desktop app to attempt a repair.

Will Open and Repair recover my macros and charts?

It may, if you choose Repair rather than Extract Data. Repair attempts to preserve macros, charts, and formatting. Extract Data recovers only values and formulas, so macros and charts are lost.

Can I run Open and Repair more than once?

Yes. There is no limit. If Repair fails, try Extract Data on the original file; keep the damaged original until you have a saved recovered copy.

What is the difference between Repair and Extract Data?

Repair tries to fix the whole workbook structure — formatting, charts, formulas, and macros. Extract Data pulls just the cell values and formulas out of a badly damaged file so you can rebuild a fresh workbook from the data.

Does Open and Repair fix a file that cannot be opened at all?

It can, provided Excel can read enough of the file to attempt the repair. If Excel cannot open the file at all, even through Open and Repair, check whether a backup or AutoRecover copy exists.