Office Documents

Excel File Is Corrupted and Cannot Be Opened

Excel shows "the file is corrupt and cannot be opened" or "we found a problem with some content in filename.xlsx".

Last updated

Recovery Methods for Corrupted Excel Files

Method 1: Open and Repair (Excel Built-In)

  1. In Excel: File → Open → Browse
  2. Locate your file but do not double-click
  3. Click the dropdown arrow next to Open
  4. Select "Open and Repair"
  5. Choose Repair first; if unsuccessful, choose Extract Data

"Extract Data" recovers values and formulas but loses formatting — better than losing everything.

Method 2: Change Calculation to Manual Before Opening

Sometimes Excel corrupts during formula recalculation on open:

  1. Open a blank Excel workbook
  2. File → Options → Formulas → Calculation Options → Manual
  3. Try opening the corrupted file again
  4. If it opens, immediately save as a new file
  5. Reset calculation to Automatic afterward

Method 3: Open in LibreOffice Calc

LibreOffice Calc handles more edge cases than Excel:

  1. Install LibreOffice (free at libreoffice.org)
  2. Open the XLSX in LibreOffice Calc
  3. If it opens, export as a new XLSX

Method 4: Extract Data Manually (ZIP Method)

XLSX files are ZIP archives containing XML:

  1. Copy the file and rename to .zip
  2. Extract the ZIP
  3. Open xl/worksheets/sheet1.xml in a text editor
  4. Cell values appear in <v> tags — text content is recoverable this way

Method 5: Version History

PlatformAccess
OneDriveFile → Info → Version History
SharePointSame location
Windows File HistoryControl Panel → File History
Excel AutoRecoverFile → Info → Manage Workbook → Recover Unsaved Workbooks

Advertisement

"We Found a Problem With Some Content" Error

When Excel shows this warning:

  1. Click Yes to let Excel attempt repair
  2. Excel will open the file in a repaired state and show a repair log
  3. Review the repair log (shown after opening) to see what was changed
  4. Save the repaired file under a new name immediately

This error typically means some XML inside the XLSX is malformed — Excel's parser fixes what it can.

Frequently asked questions

Why does Excel say "we found a problem with some content"?

This warning means the XLSX file contains malformed XML in one of its internal files. Click Yes to allow Excel to attempt automatic repair. Excel will open the file in a repaired state and display a repair log showing what was changed. Save immediately under a new filename after repair.

How do I recover data from a corrupted Excel file?

Try in order: (1) Excel's Open and Repair feature (File → Open → dropdown arrow → Open and Repair → Extract Data); (2) Open in LibreOffice Calc; (3) Rename the .xlsx to .zip, extract, and open xl/worksheets/sheet1.xml in a text editor to manually retrieve cell values from the XML.

Can Excel recover unsaved changes after a crash?

Yes. After a crash, Excel shows a Document Recovery pane on next launch listing autosaved versions. If this pane does not appear: File → Info → Manage Workbook → Recover Unsaved Workbooks. Excel saves AutoRecover files every 10 minutes by default — change this to 5 minutes in File → Options → Save.