How to Repair a Corrupted Excel File and Recover Your Data – LicenceHouse guide

To repair a corrupted Excel file, open Excel, go to File > Open > Browse, select the workbook, click the arrow next to Open and choose Open and Repair. Click Repair first; if that fails, choose Extract Data to recover values and formulas. Always work on a copy of the damaged file.

  1. Make a copy of the corrupted file and work on the copy.
  2. Try File > Open > Browse > Open and Repair > Repair.
  3. If that fails, repeat and choose Extract Data.
  4. Still stuck? Open it with calculation set to Manual, or pull the data out with external references.
  5. Look for an earlier version: AutoRecover, OneDrive or SharePoint version history, or a backup.

What does "We found a problem with some content" mean in Excel?

This message means Excel opened the file, found parts of it it couldn't read, and is offering to fix them. The full prompt asks whether you want Excel to try to recover as much as it can. Click Yes.

Excel then shows a list of what it repaired or removed, such as "Removed Records: Formula from /xl/worksheets/sheet2.xml part" or "Repaired Records: Conditional formatting". Read the list carefully. It tells you which sheet and which feature was damaged, so you know exactly what to check. Then use File > Save As to save the repaired workbook under a new name, keeping the original untouched.

Common causes include a crash or power cut while saving, a sync conflict on a cloud folder, an interrupted download or email attachment, a failing USB drive, and add-ins that write invalid data. If Excel itself keeps crashing on many files rather than one, our guide for when Excel keeps crashing or is not responding is a better starting point.

How do I repair a corrupted Excel file with Open and Repair?

Open and Repair is Excel's built-in recovery tool and should be your first step when a file won't open at all.

Six steps to repair a corrupted workbook with Excel's File > Open > Browse > Open and Repair, then Repair or Extract Data as a fallback.

  1. Open Excel with a blank workbook (don't double-click the damaged file).
  2. Go to File > Open > Browse and go to the folder holding the file.
  3. Click the file once to select it.
  4. Click the small arrow next to the Open button and choose Open and Repair.
  5. Click Repair to recover as much as possible, including formatting.
  6. If Repair can't fix it, repeat the steps and click Extract Data. Choose Convert to Values if formulas themselves are damaged, or Recover Formulas to try to keep them.

Microsoft's guide to repairing a corrupted workbook describes the same tool and the fallback methods below. If the file is on a network drive or USB stick, copy it to your local disk first; a flaky connection can make a healthy file look corrupted.

How do I open a corrupted Excel file that won't open?

If Open and Repair fails, try these methods in order. Each works on a copy of the file.

External reference ='C:\Reports\[Sales2026.xlsx]Sheet1'!A1 pulls values from a corrupted workbook; copy it across, then Paste Values.

1. Open with manual calculation. Heavy or broken formulas can stop a file loading. Create a blank workbook, go to File > Options > Formulas, set Workbook Calculation to Manual and click OK. Now open the damaged file through File > Open. If it opens, save it with a new name before you recalculate.

2. Link to it with external references. This pulls out the values even when the file won't open, though it doesn't recover formulas or formatting.

  1. Create a blank workbook and save it in the same folder as the damaged file.
  2. In A1, type ='C:\Reports\[Sales2026.xlsx]Sheet1'!A1, using your own path, file name and sheet name, and press Enter. If Excel asks you to pick a file or sheet, select the damaged workbook and the sheet.
  3. Copy A1 across and down to cover roughly the size of the original data.
  4. With the range still selected, copy it and use Paste > Paste Values to replace the links with plain values.

After that, use Data > Edit Links to confirm no links remain; our guide to finding and breaking external links shows how.

3. Open in Safe Mode. Hold Ctrl while starting Excel and confirm Safe Mode, then open the file. If it opens now, an add-in was the problem rather than the file.

How do I recover an earlier version of an Excel file?

When repair can't save the current file, an earlier copy often can. Check these sources.

Where to recover an earlier Excel file: OneDrive Version History, Recover Unsaved Workbooks, Document Recovery, Previous Versions, .xlk backups.

  • Files on OneDrive or SharePoint: open the file in Excel and go to File > Info > Version History, or right-click the file in OneDrive on the web and choose Version history. Open an older version and save it as a new file.
  • Unsaved or crashed work: go to File > Info > Manage Workbook > Recover Unsaved Workbooks. After a crash, Excel may also show a Document Recovery pane on the next start.
  • Local files: if Windows File History is on, right-click the file in File Explorer, choose Properties and open the Previous Versions tab.
  • Backup copies: if Always create backup was ticked, look for a file named "Backup of ..." with the .xlk extension in the same folder.

Microsoft explains the Excel side of this in recover an earlier version of an Office file.

How do I recover data from a workbook that opens but is damaged?

If the file opens but behaves strangely, with errors, missing charts or constant crashes, move the good parts into a fresh workbook.

  1. Create a new blank workbook.
  2. In the damaged file, select each sheet's used range and paste it into the new workbook, first with normal paste, then with Paste Values if errors carry over.
  3. Rebuild charts, pivot tables and named ranges in the new file rather than copying them.
  4. Check Formulas > Name Manager in the old file for names showing #REF!, which are a common sign of damage.

Avoid moving or copying whole sheets with Move or Copy, because that carries hidden damage, such as broken names and styles, into the new file.

What we commonly see: the "corrupted" file is actually a different format with the wrong extension, such as a CSV or HTML export named .xlsx, or an .xlsm saved as .xlsx. Excel then warns that the file format or extension is not valid. Try changing the extension back to what the file really is. Our guide to Excel file extensions explains the differences between XLSX, XLS, XLSM and CSV.

Advanced nuance: an .xlsx file is a ZIP archive of XML parts. On a copy, you can rename Sales.xlsx to Sales.zip and open it in File Explorer. The cell values live in xl/worksheets/sheet1.xml and the text in xl/sharedStrings.xml. If the archive itself won't open, the file is badly truncated and only a backup will help. If it does open, the damaged part named in Excel's repair log can sometimes be identified and the rest rescued. This is a last resort, not a first step.

How do I stop Excel files becoming corrupted?

Prevention is cheaper than repair. Turn on AutoRecover in File > Options > Save and tick Save AutoRecover information every with a short interval. For important files, use File > Save As > Browse > Tools > General Options and tick Always create backup. Store work on OneDrive or SharePoint so version history is available, and never pull out a USB drive while Excel is saving.

Keep Office itself up to date. Office 2021 support ended on 13 October 2026 and Office 2019 support ended on 14 October 2025, so those versions no longer receive fixes. Excel 2024, part of the Office 2024 range, is supported until 9 October 2029. If repairs keep failing across many files, a clean reinstall can help; see our guide to completely uninstalling Office before reinstalling.

Frequently asked questions

Can a corrupted Excel file always be recovered?

No. Open and Repair, Extract Data and external references recover most damaged files, but a file that was only partly written to disk, or overwritten, may have lost data permanently. In that case your best chance is an earlier version from OneDrive, SharePoint, File History or a backup. That is why keeping backups and version history matters more than any repair method.

Why does Excel open my file as read-only after repair?

Excel opens repaired files in a safe state so you can review what was fixed. Use File > Save As to save a new copy, which is fully editable. If every file opens read-only and the title bar shows Unlicensed Product, the problem is activation rather than corruption; see our guide to fixing Unlicensed Product in Office.

Is Open and Repair available on a Mac?

The Open and Repair steps above are written for Excel for Windows, which is what Microsoft's repair guide covers. On a Mac, start by copying the file to your local drive and opening it again, then look for an earlier version in OneDrive or a Time Machine backup. If you have access to a Windows PC with Excel, running Open and Repair there is often the quickest fix.

Are third-party Excel repair tools safe to use?

Some work, but treat them with care. Only run them on a copy of the file, never upload confidential workbooks to unknown websites, and try every built-in method first. Microsoft's own guidance acknowledges third-party tools exist but doesn't endorse specific ones. Many paid tools do little more than Extract Data does for free.

Related guides

Links in this guide

Link Type Why it helps
Microsoft Support: Repair a corrupted workbook External Official Open and Repair and fallback methods
Microsoft Support: Recover an earlier version of an Office file External Restore unsaved or earlier versions
Excel keeps crashing Internal When the problem is Excel, not the file
Find and break external links Internal Clean up after the external reference method
Excel file extensions Internal Spot files with the wrong extension
Office 2024 range Internal Supported Office version
Completely uninstall Office Internal Clean reinstall when repairs keep failing
Fix Unlicensed Product in Office Internal Read-only caused by activation
Excel, Office 2024, Troubleshooting

Leave a comment

All comments are moderated before being published