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)
- In Excel: File → Open → Browse
- Locate your file but do not double-click
- Click the dropdown arrow next to Open
- Select "Open and Repair"
- 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:
- Open a blank Excel workbook
- File → Options → Formulas → Calculation Options → Manual
- Try opening the corrupted file again
- If it opens, immediately save as a new file
- Reset calculation to Automatic afterward
Method 3: Open in LibreOffice Calc
LibreOffice Calc handles more edge cases than Excel:
- Install LibreOffice (free at libreoffice.org)
- Open the XLSX in LibreOffice Calc
- If it opens, export as a new XLSX
Method 4: Extract Data Manually (ZIP Method)
XLSX files are ZIP archives containing XML:
- Copy the file and rename to
.zip - Extract the ZIP
- Open
xl/worksheets/sheet1.xmlin a text editor - Cell values appear in
<v>tags — text content is recoverable this way
Method 5: Version History
| Platform | Access |
|---|---|
| OneDrive | File → Info → Version History |
| SharePoint | Same location |
| Windows File History | Control Panel → File History |
| Excel AutoRecover | File → Info → Manage Workbook → Recover Unsaved Workbooks |
Advertisement
"We Found a Problem With Some Content" Error
When Excel shows this warning:
- Click Yes to let Excel attempt repair
- Excel will open the file in a repaired state and show a repair log
- Review the repair log (shown after opening) to see what was changed
- 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.