The full message reads: "We found a problem with some content in 'filename.xlsx'. Do you want us to try to recover as much as we can? If you trust the source of this workbook, click Yes." It appears when Excel opens a file and finds a part it cannot read.
What usually causes it
- Conditional formatting copied thousands of times, often after years of copying and pasting rows.
- Broken named ranges that point at deleted sheets or other files.
- Data validation lists with typed items over the 255-character limit.
- Files written by other software: exports, scripts or add-ins that produce a slightly invalid .xlsx.
- A save that was interrupted by a crash, a network drop or a cloud sync conflict.
Six fixes, in order
1. Make a copy
Every repair attempt should start from the original file, so keep one untouched copy.
2. Click Yes and read the log
After the repair, Excel lists "Removed Records" or "Repaired Records", for example Removed Records: Conditional formatting from /xl/worksheets/sheet2.xml. The sheet number tells you where to look.
3. Open and Repair
File > Open > Browse, select the file, click the arrow next to Open and choose Open and Repair. Try Repair first, then Extract Data.
4. Restore an earlier version
OneDrive and SharePoint keep versions under File > Info > Version History. Local files may have Previous Versions in File Explorer.
5. Copy the sheets into a new workbook
Copy cells, not whole sheets, so the damaged part stays behind. Then rebuild formatting and names.
6. Rebuild the damaged part
Recreate the rule, name or list the log mentions. To stop conditional formatting from multiplying, apply each rule to whole columns of an Excel Table instead of copying formatted rows.
Still stuck?
Run the free Workbook X-ray on a copy to see what is inside the file; it runs in your browser and nothing is uploaded. If a workbook your business relies on keeps breaking, Excel error fixing starts with a free written quote. All error guides are in the Excel error library.