Solved: The File Is Corrupt and Cannot Be Opened-7 Ways

Encountering "the file is corrupt and cannot be opened" prevents access to vital spreadsheets. This guide explores why corruption happens and provides actionable fixes, including what to do when "excel was unable to open the file by repairing," ensuring you can recover your data effectively.

By Delores    Updated on March 20, 2026

You are working on an important project when suddenly an error appears: the file is corrupt and cannot be opened. This error message, while frustrating, does not automatically mean your data is gone forever.

In most situations, your data remains intact within the damaged file, waiting to be retrieved. This article explains why corruption happens and provides practical solutions for recovering your work.

What Triggers the "The File Is Corrupt and Cannot Be Opened" Message?

When you see that the file is corrupt and cannot be opened, something disrupted how the file was saved, stored, or transferred.

  • Unexpected Software or System Shutdowns. Power outages, dead laptop batteries, and system crashes during file saving leave files in an incomplete state. When you reopen such files, Excel cannot interpret the partial data and displays the corruption error.
  • Hard Drive Errors and Bad Sectors. Storage drives develop damaged areas over time. If portions of your Excel file reside in these bad sectors, that data becomes unreadable, triggering the error.
  • Virus or Malware Infections. Malicious software can intentionally or accidentally damage files. Infected systems often produce widespread corruption across multiple documents, including Excel files.
  • Improper File Transfers. Removing USB drives during file transfers or interrupting downloads leaves files incomplete. These partial files lack the full structure Excel needs to open them properly.
  • Software Conflicts and Version Mismatches. Opening files created in newer Excel versions with older software can cause compatibility issues. Certain add-ins or settings may also create false corruption readings.

7 Quick Ways When Excel Cannot Open the File Because It Is Corrupted

Way 1. Scan for Viruses First

Before you do anything else, run a quick virus scan on the file or the folder containing it. Right-click the file and select "Scan with Microsoft Defender" or your antivirus of choice.

If malware caused the corruption, you want to clean it up before you start recovering files—otherwise, you might just end up saving an infected copy.

Way 2. Open the File on a Different Computer

The issue might not be the file—it could be your specific Excel installation or computer setup. Email the file to yourself or put it on a USB drive, then try opening it on another machine.

If it works there, you know the file itself is probably fine, and the problem lies with your system. If you still get Excel cannot open the file because it is corrupted on another computer, well, then you know you've got a corrupted file on your hands.

Way 3. Check File Extensions and Associations

Sometimes Excel files get saved with the wrong extension, or Windows forgets which program should open them. Make sure your file ends in .xlsx or .xls. If it doesn't, try renaming it.

Also, check that .xlsx files are set to open with Excel by default. Right-click the file, choose "Open with", and select Excel—don't forget to check the box that says "Always use this app".

Way 4. Use Built-in Excel Repair to Recover Data

Excel actually comes with its own first-aid kit, the "Open and Repair" utility. It's free and already installed on your computer.

1. Open an Excel workbook.

2. Go to File > Open > Browse. Navigate to the folder with your corrupted file, but here's the trick—don't just double-click it. Click once to select the file, then look for a tiny arrow next to the Open button.

3. Click that arrow, and a dropdown menu appears. Select "Open and Repair".

4. Excel will give you two options: Repair or Extract Data.

Try Repair first—it attempts to fix the file structure and get everything back to normal.

If that fails, go back and choose Extract Data. This option pulls whatever it can from the file—usually the formulas and values—even if it can't restore the original formatting. It's better than nothing.

Way 5. Recover Unsaved or AutoRecovered Versions

Excel automatically saves temporary copies of your work as you go. Click File > Info > Manage Workbook, then look for "Recover Unsaved Workbooks". You might find a recent autosaved version that escaped the corruption.

It won't have your very latest changes, but it'll get you most of the way there.

Way 6. Restore Previous Versions of the Excel File

If you have enabled File History or a system restore point for the Excel before the corruption, you can restore the Excel files to the previous version.

1. Right-click your corrupted file, select "Properties", and look for the "Previous Versions" tab.

2. If you're lucky, you'll see a list of older copies that Windows automatically saved. Pick one from before the corruption happened, click "Restore," and you might just have your file back.

Way 7. Use External References to Link to the Corrupted Workbook

Here's a clever trick for Excel nerds.

1. Create a brand new, blank workbook.

2. In cell A1, type a formula that references your corrupted file, like this: ='C:\Users\YourName\Desktop\[CorruptedFile.xlsx]Sheet1'!A1. When you press Enter, Excel will try to pull data from the corrupted file.

If it works, you can then copy that formula across a range of cells to pull in more data. It's tedious, but it can extract raw data even when the file won't open normally.

Fast Recover Excel Files with MyRecover

When all else fails, it's time to bring dedicated recovery software. MyRecover is one of those tools that can dig deep and find what's lost.

  • It's designed to handle the tough cases—files that are severely corrupted, partially overwritten, or even deleted entirely.
  • It supports over 1,000 file formats, including all Excel versions, and works with everything from internal hard drives to USB sticks and SD cards.
  • You can preview files before you recover them, so you know exactly what you're getting.
  • Unlimited file recovery at a time.

Here's how to use it when the file is corrupt and cannot be opened.

1. Please install MyRecover on your computer after downloading. Please don't install it on the drive that you're recovering files from.

2. Tap Disk Data Recovery, choose the drive, and hit Scan.

3. Preview files once completed, choose the Excel files you need, and hit Recover.

4. Choose a target folder and hit Select Folder to save these recovered Excel files.

Notes:✎...
By default, MyRecover performs a quick scan to find recently lost files. Or, you can try a deep scan to find all missing files, including deleted, formatted, corrupted files, etc.
Upgrading to MyRecover Technician is your best choice if you need to recover files from unlimited computers.
MyRecover
  • Recover Deleted Files Easily with Simple Clicks
  • 1000+ File Formats Supported
  • Support HDD, SSD, External Hard Drive, USB Drive, SD Card, etc.
  • Quickly Find Files Using File Types, Name, Size, etc.
  • Preview Files Before Recovering
  • Recover Unlimited Data

Avoid Future Excel Corruption

Keep multiple versions. Instead of always overwriting the same file, use "Save As" periodically and add dates to filenames (like "Budget_March_15.xlsx"). That way, if today's file is corrupt, you've got yesterday's version ready to go. Backup files to OneDrive, Google Drive, or Dropbox automatically.

Keep Windows updated, keep Office updated, and keep your antivirus software up to date.

Remove a USB drive safely by ejecting. If you yank out a USB drive without safely ejecting, you're gambling with your data.

FAQs About Corrupted Excel Files

Q: Can I recover an Excel file that was never saved?

A: Possibly. Check File > Info > Manage Workbook > Recover Unsaved Workbooks. Excel sometimes saves temporary copies even without manual saving.

Q: What's the difference between free and paid file recovery software?

A: Free tools often limit file size and offer basic scans only. Paid software like MyRecover provides deep scans, previews, and handles complex corruption. For critical data, paid options justify the cost.

Q: Why do I keep getting "the file is corrupt and cannot be opened" with files from email?

A: Email attachments can corrupt during transmission, especially with unstable connections. Download again on a stable connection and verify file size limits with your provider.

Q: Can a corrupted Excel file damage my computer?

A: No, but malware causing corruption might. Always scan suspicious files with antivirus software before opening.

Q: Is it possible to recover formatting and formulas, or just raw data?

A: It depends on corruption severity. Excel's "Extract Data" captures formulas and values but loses formatting. Advanced tools like MyRecover better preserve the original structure.

Q: How can I test if a recovered file is fully intact?

A: Open in Excel and verify sheets, formulas, charts, and macros. Recalculate to confirm formula functionality and compare file size to the original when available.

Delores · Editor
Delores is one of MyRecover's senior editors. She is knowledgeable in data recovery for phones and PCs as well as other solutions for data preservation. She enjoys assisting readers with issues related to disaster recovery and data corruption. She enjoys traveling, shopping, and other lovely pursuits.