Skip to content
TECHNOARTH IT for offices and small businesses.
Software

Excel found a problem with some content: recover the file

Excel says it found a problem with some content, that the file is corrupt, or it freezes when you open the company workbook? Follow the right order of attempts, from a safe copy to Open and Repair, previous versions and AutoRecover, and stop it happening again.

Excel found a problem with some content: recover the file

The accounts payable workbook, the stock sheet or the commission table won’t open: Excel says it found a problem with some content, reports that the file is corrupt, or just freezes while opening it. In a small office this is usually a single file that several people edit and nobody really owns, so the order in which you try things matters.

In this article
  1. First: copy the file and take it off the network
  2. Step 1: let Excel recover it automatically
  3. Step 2: Open and Repair (and Extract Data)
  4. Step 3: a heavy file that freezes on opening
  5. Step 4: go back to an earlier version
  6. Step 5: Excel closed before you saved
  7. Step 6: last resorts
  8. Which path to try first
  9. How to keep it from happening again
  10. FAQ

First: copy the file and take it off the network

Never experiment on the original. Copy the workbook to your own PC’s desktop and work on that copy. If it lives in a shared folder on another computer or on a NAS, there is an extra reason: in Repair a corrupted workbook, Microsoft advises moving the file to a local disk before using the recovery options whenever a disk or network error is stopping it from opening.

Also ask who had the workbook open last, whether their PC crashed while saving, and whether other files in the same folder have stopped opening too.

Step 1: let Excel recover it automatically

When Excel detects damage while opening a file, it switches into recovery mode on its own and asks whether it should try to recover as much as it can.

Excel warning: we found a problem with some content in the file, do you want to try to recover it, with the Yes button highlighted
This message (1) means the file is damaged. With a backup copy of the file made, click Yes (2) to let Excel try to recover it.

Select Yes and read the report of what was removed or repaired. Check the main sheets and use File › Save As with a different name (adding “recovered” and the date, for example). Don’t save over the original until you have checked the data.

Step 2: Open and Repair (and Extract Data)

If that prompt doesn’t appear, force the repair yourself:

  1. Open Excel with no file and go to File › Open › Browse.
  2. Select the copy of the workbook, without double-clicking it.
  3. Select the arrow next to the Open button and choose Open and Repair.
  4. Choose Repair to recover as much data as possible.
  5. If the repair fails, go through the steps again and choose Extract Data, which tries to save the values and formulas.

When Extract Data gives you back only numbers, with no formulas, the workbook “works” but no longer calculates. In a finance workbook, the monthly total freezes and nobody notices. If that happens, keep the extracted copy for reference only and look for an earlier version (step 4) to get the formulas back.

Step 3: a heavy file that freezes on opening

Sometimes the file isn’t corrupted at all: it simply has so many formulas and links that Excel hangs while recalculating. To test this, open it with recalculation turned off:

  1. Open Excel and create a Blank workbook.
  2. Go to File › Options › Formulas.
  3. Under Workbook Calculation, select Manual and then OK.
Excel Options Formulas category with Workbook Calculation set to Manual, Recalculate workbook before saving checked and the OK button highlighted
With a blank workbook open, choose Manual (1); Excel checks recalculation before saving on its own (2). Click OK (3) and only then open the problem workbook.
  1. Now open the problem workbook through File › Open.

If it opens this way, the issue was calculation, not a damaged file. Save a copy and, when you’re done, set the option back to Automatic. According to the recalculation documentation, the setting applies to every open workbook, so anyone who leaves it on Manual will see out-of-date totals in other files. If Excel freezes even with simple files, that’s a different problem: see Excel not responding.

Step 4: go back to an earlier version

Often it’s quicker and safer to restore yesterday’s workbook than to fix today’s. Where to look depends on where the file lives:

Where the workbook is storedWhere to lookWhat must be turned on
OneDrive or SharePoint (including Teams files)Version historyNothing: it’s automatic
A folder on the PC itselfRestore previous versionsFile History turned on
A shared folder on another PCPrevious Versions, on the PC that shares itFile History on that PC
NAS or serverThe device’s backup or snapshot panelBackup set up on the device

On OneDrive or SharePoint: in File Explorer, right-click the synced workbook and choose Version history; in the list, use the ellipsis (…) next to the date you want and select Restore. In Excel itself (Microsoft 365), with the file open, select the file name in the title bar and choose Version history; OneDrive keeps this history for 30 days. Microsoft explains both methods in View previous versions of Office files. If the latest version is missing from the history, syncing may have stopped on that PC; check OneDrive not syncing.

In a Windows folder: right-click the folder that holds the workbook and choose Restore previous versions (in Windows 11 it may be under Show more options). The Previous Versions tab lists the available dates; to look before restoring, expand Open and use Open in File History. The list only has entries if File History was turned on before the problem started. It’s better to expand Restore and use Restore to…, saving the old version in another folder: a plain Restore replaces the current file and can’t be undone. That way you can compare both before deciding.

Step 5: Excel closed before you saved

If the file “got corrupted” after a power cut or after Excel closed on its own, open Excel again and look for the Document Recovery pane on the left. If it doesn’t appear and the workbook had never been saved, go to File › Info › Manage Workbook › Recover Unsaved Workbooks, open the file listed and save it with Save As.

If the workbook got corrupted while it was still open and you hadn’t saved your changes, there is another way out: go to File › Open, double-click the name of the workbook that is already open and answer Yes to reopen it. Excel throws away everything done since the last save, which may be exactly what caused the damage.

Step 6: last resorts

  • Excel for the web: upload the copy to OneDrive or to your company’s SharePoint library and open it in the browser. If it opens, download a fresh copy from the File menu.
  • Link to the damaged workbook: Microsoft describes a method that uses external references to pull the data (not the formulas) into a new workbook. It’s worth trying when nothing else will open the file.

Which path to try first

  • A “problem with some content” message: step 1, then step 2.
  • Excel freezes on opening, with no message: step 3 (Manual calculation).
  • Workbook stored in OneDrive or SharePoint: go straight to step 4; it’s usually the fastest route.
  • Power cut or crash before saving: step 5.
  • Several files affected at the same time: stop and treat it as a possible attack.

How to keep it from happening again

  1. Keep shared workbooks in OneDrive or SharePoint, not in a network folder on some random PC: version history comes built in and several people can edit at once.
  2. Check AutoRecover on every PC. Under File › Options › Save, in the Save workbooks section, keep Save AutoRecover information every ticked (the default is 10 minutes) and make sure Disable AutoRecover for this workbook only is cleared.
Excel Options Save category with Save AutoRecover information every 10 minutes checked, the AutoRecover file location and Disable AutoRecover for this workbook only unchecked, highlighted
Keep AutoRecover on (1), note the folder where recovery files are kept (2) and check that the exception for this workbook is cleared (3).
  1. For critical workbooks outside the cloud, turn on Excel’s own automatic backup: in File › Save As › Browse, open Tools › General Options and tick Always create backup. Excel will then keep a backup copy of the file.
  2. Keep a copy off-site by following the 3-2-1 backup rule.

FAQ

I recovered the workbook, but the formulas turned into numbers. Can I get them back?

Not from that copy. Extract Data sometimes saves values only. To get the formulas, restore an earlier version from OneDrive/SharePoint version history or File History and copy across only what has changed.

The workbook opens, but it’s completely blank.

It may be hidden rather than damaged. On the View tab, select Unhide and choose the workbook. If there is nothing to unhide, go to step 2.

Only one coworker can’t open it; it works for everyone else.

The file is probably fine and the problem is on that PC (an outdated Excel, an add-in or an old local copy). Ask them to open the file directly from OneDrive/SharePoint or from the network folder.

Share

About the author

TECHNOARTH Editorial Team

The TECHNOARTH newsroom: technology tutorials, guides, comparisons and news produced with AI assistance and checked against manufacturers’ official sources.

Reviewed by Arth Moraes — Arth Moraes is the editorial pen name of the person responsible for TECHNOARTH, who sets the agenda, reviews and approves every tutorial before publication and is accountable for corrections.