Excel Practice Test

โ–ถ

Excel File Recovery โ€” Key Numbers

โฑ๏ธ
10 min
AutoRecover Default Interval
๐Ÿ”ง
2
Open and Repair Modes
๐Ÿ›Ÿ
3
Microsoft Fallback Techniques

Repair Excel File โ€” Complete Guide (2026)

To repair a corrupted Excel file, use File โ†’ Open, select the workbook, click the arrow next to Open, and choose Open and Repair, then pick Repair. If Repair fails, run it again and choose Extract Data to pull out values and formulas.

Microsoft documents Open and Repair as the first step for a workbook that will not open, and Excel's AutoRecover setting (10 minutes by default) is the safety net for unsaved work. The sections below cover those routes, plus an HTML round-trip and manual ZIP/XML extraction for stubborn files.

Before trying anything, make a copy of the broken file and run every method against the copy. If a recovery attempt makes things worse, you still have the untouched source. Backup first, repair second.

Open and Repair is hidden in plain sight. In Excel, go to File โ†’ Open, select your file, then click the arrow next to the Open button. Choose Open and Repair. Pick Repair first; if that fails, run it again and pick Extract Data. Microsoft lists this as its first manual repair step.

Method 1: Open and Repair (Built-In)

Excel's native repair tool handles the bulk of broken workbooks. Here's exactly what each option does.
๐Ÿ”ง Repair Mode โ€“ Try First

Excel tries to recover as much of the workbook as it can. Microsoft says to choose Repair to recover as much data as possible, so try it first.

๐Ÿ“‹ Extract Data Mode โ€“ Fallback

If Repair fails, Extract Data retrieves the values and formulas from the workbook without other workbook elements, so formatting and objects may not come across.

๐Ÿ’พ Copy Before You Save โ€“ Safety

Save any recovered result under a new name and keep the original untouched until you confirm the data is complete.

How to Run Open and Repair Step by Step

Launch Excel โ€” but don't double-click your broken file. That's the mistake most people make. Instead, open Excel first with no file loaded, then go to File โ†’ Open โ†’ Browse. Navigate to your corrupted workbook but don't click it yet.

Click once on the file to highlight it. Now look at the Open button at the bottom-right of the dialog. See the tiny downward arrow on its right edge? Click that arrow, not the button. A short menu appears with options including Open and Repair. Choose it.

Excel offers Repair or Extract Data. Pick Repair first. Save the repaired file under a new name immediately, and never save over the original until you have confirmed the recovery is complete.

When Repair Fails

Run Open and Repair again and choose Extract Data, which retrieves values and formulas without other workbook elements. Microsoft also lists other fallbacks: set calculation to manual before opening the file, link to the corrupted workbook with external references to pull only the data, or use a macro to extract chart source data.

After any repair, open the result and check that your formulas, named ranges (Formulas โ†’ Name Manager) and any macros are still present before you discard the original or a backup copy.

Recovery Methods at a Glance

MethodWhere to find itUse it when
Open and Repair: RepairFile โ†’ Open, arrow next to OpenThe workbook will not open normally; Microsoft's first step
Open and Repair: Extract DataSame menu, after Repair failsYou need values and formulas back
AutoRecoverFile โ†’ Options โ†’ Save (default 10 minutes)Excel crashed before you saved
Always create backupFile โ†’ Save As โ†’ Tools โ†’ General OptionsYou want a previous version kept automatically
Manual calculation, external references, or macroFallbacks in Microsoft's repair guideOpen and Repair cannot recover the data
OneDrive Version historyOneDrive or SharePoint fileA cloud-stored file was overwritten or damaged

AutoRecover Recovery Workflow

Step-by-step path to recover an unsaved or crashed workbook.
๐Ÿš€

Start Excel itself rather than clicking the broken file, so a new blank workbook appears.

๐Ÿ“‚

Use Excel's Recover Unsaved Workbooks command (under File) to browse files AutoRecover has kept.

๐Ÿ”

In File โ†’ Options โ†’ Save, AutoRecover saves recovery information every 10 minutes by default.

๐Ÿ’พ

Pick the file by timestamp, open it, verify the data, then use Save As with a proper name and folder.

Method 2: AutoRecover for Unsaved Workbooks

Lost a file you never saved, or Excel crashed mid-save? AutoRecover can create recovery files at set intervals. Microsoft says the default is 10 minutes, and you control it under File โ†’ Options โ†’ Save via "Save AutoRecover information every" minutes. Make sure "Disable AutoRecover for this workbook only" is not checked.

Open Excel and look for Excel's Recover Unsaved Workbooks command under File to browse saved drafts. Open the candidate, check the contents, and save it properly with File โ†’ Save As.

Shorten the Interval

A shorter interval than the 10-minute default means less work is lost after a crash. Open Excel Options โ†’ Save to change it. For workbooks stored in OneDrive or SharePoint, use OneDrive's Version history to restore an earlier version instead.

You can also enable Microsoft's backup option: File โ†’ Save As โ†’ Tools โ†’ General Options โ†’ Always create backup, so a previous version remains if a file becomes corrupted.

Method 3: The HTML Export Trick

This is a community technique, not one Microsoft documents, so treat it as an experiment on a copy. The idea is that saving in a different format can rewrite the workbook cleanly when the original opens partly.

Open what you can (for example via Open and Repair), choose File โ†’ Save As, and save as Web Page (*.htm; *.html). Close Excel, open the saved .html file in Excel, and then Save As โ†’ Excel Workbook (*.xlsx). Charts and pivot tables may not survive the round trip, so verify the result.

Method 4: ZIP and XML Extraction (Advanced)

This is an advanced, community technique that Microsoft does not document as a repair method. Modern .xlsx files are ZIP packages of XML parts, so you can sometimes read the raw data by hand.

๐Ÿ“‹ Step 1 โ€” Rename the File

Make a copy of your corrupted .xlsx file. Right-click โ†’ Rename and change the extension from .xlsx to .zip. Windows may warn that changing the extension can make the file unusable. If you don't see the extension at all, enable File name extensions in File Explorer's View tab.

The renamed file is now a ZIP archive. Double-click it to open it like any other archive. You'll see a folder tree inside: _rels, docProps, xl. Your data lives in xl/worksheets/ and xl/sharedStrings.xml.

๐Ÿ“‹ Step 2 โ€” Find the Sheet Data

Inside xl/worksheets/ you'll find files named sheet1.xml, sheet2.xml, and so on โ€” one per worksheet. Extract these to a folder you can work in. Each .xml file contains the cell data in a structured tag format like <c r="A1" t="n"><v>42</v></c> where r is the cell reference and v is the value.

Open the .xml in Notepad++ or VS Code. Text values are stored as indexes into sharedStrings.xml, not inline โ€” so you'll need that file too if your sheet contains text. Numbers and formulas appear directly in the sheet files.

๐Ÿ“‹ Step 3 โ€” Salvage the Data

For small sheets, you can copy values manually into a fresh workbook โ€” slow but reliable. For larger sheets, use Excel's Get Data โ†’ From File โ†’ From XML feature (under the Data tab) to import the sheet1.xml directly. Excel parses the XML and rebuilds the cells.

This route bypasses Excel's normal loading, so it may work on files that will not open. It is tedious and not guaranteed, so use it on a copy.

If Open and Repair, Extract Data, and Microsoft's other fallbacks do not recover the file, check whether your file lives in OneDrive or SharePoint and try Version history to restore an earlier copy, or restore from a backup you made yourself. Microsoft's own documented routes should come before any outside software.

Third-party repair services exist, but this guide does not recommend a specific product because Microsoft does not endorse one.

Uploading Files to Online Services

Never upload sensitive financial, HR, or proprietary workbooks to an unknown online service, since you cannot verify how the file is stored or handled. For confidential files, stick to local methods and your organization's IT support.

If you want to learn more Excel troubleshooting techniques, our guide on recovering excel files goes deeper on AutoRecover edge cases, and the macros are disabled excel walkthrough covers a related class of opening errors that look like corruption but aren't.

Built-In Repair: Strengths and Limits

Pros

  • Open and Repair is built into Excel and is Microsoft's first documented repair step
  • No upload or install needed for the built-in methods
  • Private: your data stays on your machine
  • Repair and Extract Data give two levels of recovery
  • Works offline

Cons

  • Heavy corruption in chart data or pivot caches may defeat built-in repair
  • Extract Data returns values and formulas without other workbook elements
  • Deleted files (not corrupted) need a backup or previous version, not repair
  • Recovered workbooks may lose macros or objects, so check them
  • No guarantee: some files cannot be recovered

Prevention Checklist โ€” Stop Files Breaking in the First Place

Use AutoSave on OneDrive or SharePoint-stored workbooks so earlier versions exist
Shorten the AutoRecover interval below the 10-minute default in File โ†’ Options โ†’ Save
Enable Always create backup (File โ†’ Save As โ†’ Tools โ†’ General Options)
Do not force-quit Excel mid-save; wait for it to finish where you can
Avoid editing files directly over unreliable network connections; work on a local copy and copy back
Split very large workbooks into linked files using the how to link excel workbooks technique
Keep a backup outside your cloud account
Disable problematic add-ins (Excel Options โ†’ Add-ins) if crashes happen at consistent moments
Take Free Excel Practice Test

Preventing Excel File Corruption

Most lost work is preventable with a few habits that cost nothing.

Start with AutoSave. For workbooks stored in OneDrive or SharePoint, AutoSave keeps changes synced, and OneDrive's Version history lets you restore an earlier version of a file. For files that must stay local, shorten the AutoRecover interval under File โ†’ Options โ†’ Save (the default is 10 minutes) and consider the Always create backup option.

Unreliable network connections can interrupt a save and leave a file partly written. A safer habit is to edit a local copy, save it, and then copy the finished file to the share. Avoid using Open in Excel against a slow network path for large files.

Watch File Size

Very large workbooks are slower to save and harder to work with. If yours keeps growing, look for unused formatting on whole columns (Ctrl+End shows the last used cell), unused defined names (Formulas โ†’ Name Manager), and large embedded images. Splitting one massive workbook into linked files is often easier to manage.

What Actually Causes Corruption

Knowing the cause makes prevention easier. These are common reasons a workbook fails to open.
โš ๏ธ Force-Quitting Mid-Save โ€“ Most Common

Killing Excel partway through a save can leave a half-written file. Wait for Excel to finish where you can.

๐ŸŒ Network Drive Hiccups โ€“ Silent Killer

A timeout during a network save can interrupt the write. Edit locally, then copy to the share when done.

๐Ÿงฉ Conflicting Add-Ins โ€“ Sneaky

Problem add-ins can cause crashes. Disable add-ins one by one when crashes follow a pattern.

๐Ÿ’ฝ Disk and Antivirus Issues โ€“ Check Hardware

A full or failing drive, or software interrupting writes, can damage files. If several files fail together, check the disk.

Add-Ins, Stability, and the Final Diagnostic Step

If Excel crashes at consistent moments, try disabling add-ins one at a time. Go to File โ†’ Options โ†’ Add-ins, change Manage to COM Add-ins or Excel Add-ins, click Go, and uncheck items one at a time, restarting Excel between toggles.

Another diagnostic step is Safe Mode, which starts Excel and without add-ins. If the file opens there, the problem is likely an add-in or setting rather than the file. If it still will not open, the file itself may be damaged and the repair methods above apply.

For repeated corruption, check your disk health and free space, since a full or failing drive can interrupt saves.

When you recover a file, save the recovered copy in at least two places before further editing, and check formulas, formatting, and sheet protection afterward. Treat backup discipline as the real solution: AutoSave, OneDrive sync, and a short AutoRecover interval make corruption a minor inconvenience.

Excel Questions and Answers

How do I repair a corrupted Excel file?

Go to File โ†’ Open, select the corrupted workbook, click the arrow next to the Open button, and choose Open and Repair. Then pick Repair, which Microsoft says recovers as much data as possible. If that fails, run it again and choose Extract Data. Always work on a copy of the file and save any recovered result under a new name.

What does Extract Data do in Excel?

Extract Data is the second option in Open and Repair. Use it when Repair fails. According to Microsoft, it retrieves the values and formulas from the workbook without other workbook elements, so formatting, charts, and other objects may not come back. Save the extracted result as a new workbook and check that the numbers and formulas match what you expect.

How do I recover an Excel file I did not save?

Start Excel and use its Recover Unsaved Workbooks command under File to browse files AutoRecover has kept. AutoRecover saves recovery information every 10 minutes by default, and you can change that under File โ†’ Options โ†’ Save. Open the draft you need, check the contents, and save it under a real file name straight away.

What is the default AutoRecover interval in Excel?

Microsoft states that the AutoRecover default is 10 minutes. You can change it under File โ†’ Options โ†’ Save by editing the box labeled Save AutoRecover information every, and making sure Disable AutoRecover for this workbook only is not checked. A shorter interval means less work is lost if Excel crashes, though it has no effect on files you have already saved.

What can I try if Open and Repair does not work?

Microsoft lists three fallbacks in its repair guide: set calculation to manual before opening the workbook, link to the corrupted file with external references to pull in only the data, or use a macro to extract chart source data. You can also restore an earlier version from OneDrive Version history or from a backup copy.

How can I keep a previous version of my workbook?

Turn on Always create backup: choose File โ†’ Save As โ†’ Tools โ†’ General Options and check that box. Excel then keeps a previous version alongside your file, which Microsoft recommends in case the workbook becomes corrupted. If your file is stored in OneDrive or SharePoint, its Version history can also restore an earlier saved copy.

Why does my Excel file keep crashing when I open it?

The cause may be an add-in or the file itself. Start Excel in Safe Mode, which runs without add-ins, and try again. If the file opens, disable add-ins one at a time under File โ†’ Options โ†’ Add-ins to find the culprit. If it still crashes in Safe Mode, the file is likely damaged, so run Open and Repair on a copy.

How do I stop Excel files from getting corrupted?

Keep AutoRecover on with a short interval, enable Always create backup, and use AutoSave for OneDrive or SharePoint files so earlier versions exist. Avoid force-quitting Excel while it saves, and edit a local copy instead of working over an unreliable network connection. Also disable add-ins you do not use, and keep a backup outside your cloud account.

Try Free Excel Functions Quiz
โ–ถ Start Quiz