PDF download Download Article
Easy ways to recover a corrupt Excel file
PDF download Download Article

This wikiHow teaches you how to recover and repair a corrupted Microsoft Excel file on your Windows or Mac computer.

Method 1
Method 1 of 5:

Repairing the File

PDF download Download Article
  1. Make sure that you're using a Windows computer. You can only repair an Excel file in the Windows version of Excel.
    • If you're using a Mac, try one of the other methods in this article.
  2. Its app icon resembles a green box with a white "X" on it.
    Advertisement
  3. This option is next to a folder-shaped icon in the lower-left corner of the window.
  4. It's a folder-shaped icon in the middle of the page. Doing so opens a File Explorer window.
  5. Select your Excel file. Go to the folder in which your corrupted Excel file is stored, then click the Excel file to select it.[1]
  6. This option is at the bottom of the drop-down menu.
    • If Open and Repair... is greyed out, make sure that your Excel file is selected and try again. If it's still greyed out, you can't repair this file.
  7. It's in a pop-up window. Windows will begin attempting to repair your file.[3]
    • If you don't have this option, click Extract Data instead, then click either Convert to Values or Recover Formulas. This will recover any salvageable data.
  8. This may take a few minutes if your Excel file is large.
    • If the file still won't open, go back through this process and click Extract Data instead of Repair when prompted.
  9. Save your file. Once the repaired file opens, press Ctrl+S, double-click This PC, select a save location, enter a file name, and click Save.
    • Be sure to select a different file name than the one which you used for the corrupted Excel file.
  10. Advertisement
Method 2
Method 2 of 5:

Changing the File Type on Windows

PDF download Download Article
  1. Sometimes, Excel documents created on older computers or versions of Excel become unstable on newer versions; similarly, Excel documents can be saved in many different file formats. By changing the Excel file format to "xlsx" (or "xls" for older programs), you can fix this problem.
  2. It's at the top of the File Explorer window. A toolbar will appear below this tab.
  3. This option is in the "Show/hide" section of the toolbar. Doing so will allow you to see the file type extensions at the end of files, including your Excel document.
  4. Go to the location of the Excel document that you want to recover, then click the document to select it.
  5. It's a tab in the upper-left side of the File Explorer window. This will prompt a toolbar to appear.
  6. This option is in the "Organize" section of the toolbar. Clicking Rename will cause the Excel file's name to become highlighted.
  7. Replace whatever comes after the period at the end of the file name with xlsx and then press Enter.
    • For example, if the document was named "Spreadsheet1.docx", you would change it to "Spreadsheet1.xlsx".
    • If the file extension already is "xlsx", try using "xls" or "html".
  8. This will confirm your changes and change the file extension.
  9. Double-click the file to open it. If the file opens in Excel (or, if you selected "html" as the extension, a web browser), your file has successfully been recovered.
    • If you chose the "html" extension, you can convert the webpage into an Excel document by dragging the html file onto the Excel icon and then saving the file that opens as a new "xlsx" file.
    • If the file still won't open, proceed to the next Windows method.
  10. Advertisement
Method 3
Method 3 of 5:

Changing the File Type on Mac

PDF download Download Article
  1. Sometimes, Excel documents created on older computers or versions of Excel become unstable on newer versions; similarly, Excel documents can be saved in many different file formats. By changing the Excel file format to "xlsx" (or "xls" for older programs), you can fix this problem.
  2. Click the blue, face-shaped app icon in your Mac's Dock.
  3. Go to the folder in which your Excel file is located, then click the Excel file that you want to recover.
  4. This menu item is in the top-left corner of your Mac's screen. Clicking it prompts a drop-down menu.
  5. It's in the File drop-down menu. This will open a pop-up window.
  6. If you don't see any file name or extension below this category, click the triangle to the left of the "Name & Extension" heading to view the file's name and extension.
  7. Replace whatever comes after the period at the end of the file name with xlsx and then press Return.
    • For example, if the document was named "Spreadsheet1.txt", you would change it to "Spreadsheet1.xlsx".
    • If the file extension already is "xlsx", try using "xls" or "html".
  8. This will confirm your decision and change the file type.
  9. Double-click the file to open it. If the file opens in Excel (or, if you selected "html" as the extension, a web browser), your file has successfully been recovered.
    • If you chose the "html" extension, you can convert the webpage into an Excel document by dragging the html file onto the Excel icon and then saving the file that opens as a new "xlsx" file.
    • If the file still won't open, proceed to the next Mac method.
  10. Advertisement
Method 4
Method 4 of 5:

Recovering a Temporary Save on Windows

PDF download Download Article
  1. Like most Microsoft Office products, Excel will automatically save recovery versions of files, meaning that you may be able to restore a partial version of your corrupted Excel document. However, Excel doesn't always save these files in time, and you most likely won't be able to recover the whole document in this way.
  2. This will search your computer for the "This PC" program.
  3. It's the computer monitor-shaped icon at the top of the Start window. Doing so opens the This PC window.
  4. This is usually the "OS (C:)" option below the "Devices and drives" heading in the middle of the page.
  5. You'll find this in the middle of the hard drive's folder.[4]
  6. This folder is labeled with part or all of your username on your computer.
  7. It's in the "A" section, so you'll most likely find this folder near the top of the window.[5]
    • If you can't find this folder, click the View tab, then check the "Hidden items" box in the "Show/hide" section to prompt the "AppData" folder to appear.
  8. This option is near the top of the folder.
  9. You'll find it in the "M" section.
  10. It's in the "O" section of the Microsoft folder.
  11. This folder should be near the top of the window.[6]
  12. Look for an Excel file icon that has a name matching your corrupted Excel file, then click it to select it.
    • If you don't see any files here, a recovery version of your Excel document was not saved.
  13. To do so:[7]
    • Click View
    • Check the "File name extensions" box.
    • Click Home
    • Click Rename
    • Replace the .tmp section with .xlsx
    • Press Enter.
    • Click Yes when prompted.
  14. Double-click the file that you just renamed to open it.
  15. Once the restored file opens, press Ctrl+S, double-click This PC, select a save location, enter a file name, and click Save.
    • Be sure to select a different file name than the one which you used for the corrupted Excel file.
  16. Advertisement
Method 5
Method 5 of 5:

Recovering a Temporary Save on Mac

PDF download Download Article
  1. Like most Microsoft Office products, Excel will automatically save recovery versions of files, meaning that you may be able to restore a partial version of your corrupted Excel document. However, Excel doesn't always save these files in time, and you most likely won't be able to recover the whole document in this way.
  2. This menu item is at the top of the screen. Clicking it prompts a drop-down menu.
    • If you don't see the Go menu item, first open Finder or click the desktop to make it appear.
  3. After doing this, you should see the Library folder appear in the Go drop-down menu.
  4. It's in the Go drop-down menu. This will open the Library hidden folder.
  5. Double-click the "Containers" folder, which is in the "C" section of the Library folder.[8]
  6. It's in the upper-right side of the window.
  7. Type in com.microsoft.Excel and press Return.
  8. You'll find this to the right of the "Search:" heading near the top of the Finder window.
  9. Double-click this folder to open it.
  10. If you don't see this folder, scroll down to find it.
  11. This will bring up a list of automatically saved versions of your Excel files.[9]
  12. The temporary version of your Excel file should have some or all of the file's name in its title.
    • If you can't find the temporary version of your Excel file, it wasn't backed up.
  13. Click the Excel file to do so.
  14. It's a menu item in the upper-left corner of your Mac's screen. A drop-down menu will appear.
  15. This option is near the top of the File drop-down menu. You should see a pop-out menu open.
  16. It's in the pop-out menu. Doing so will prompt the temporary version of the Excel document to open in Excel.
    • The temporary version will probably not include some of your most recent changes to the original Excel document.
  17. Press Command+S, then enter a file name, select a save location in the "Where" menu, and click Save.
  18. Advertisement

Community Q&A

Search
Add New Question
  • Question
    I cannot open the file with my Excel file, but I can open it in another computer. Why?
    Community Answer
    Community Answer
    It's likely that the other computer has either an older or newer version of Excel, and your document is not compatible with the version you have on your computer.
  • Question
    What do I do if my Excel files are save with the extension xls?
    Nakamura Rei
    Nakamura Rei
    Community Answer
    You can repair .xls files using methods from this article as well as xlsx.
  • Question
    How do I recover a deleted excel file in Windows 7?
    Community Answer
    Community Answer
    y\You can use the same method. However, to change the file extension you will need to use CMD and run a command like this (make sure you are in the right directory): rename (corrupted excel file, add its file extension at the end) (corrupted excel filename, do NOT add the file extension at the end).(xls, xlsx).
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

  • Windows computers will often attempt to repair automatically the corrupted Excel workbook when you open it.[10]
  • You may be able to open an otherwise corrupted Excel file by placing your computer in safe mode. If so, a file error or a virus is most likely the reason for your document failing to open.
  • There are a few paid data recovery software options that you can use to recover corrupted Excel files. Stellar Phoenix Excel Repair, which is available for both Windows and Mac computers, is a good example of such a program.
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

Warnings

Advertisement

You Might Also Like

Remove a Macro in ExcelRemove a Macro in Excel
Make a File Downloadable from Your WebsiteMake a File Downloadable from Your Website
Merge Cells in Excel Merge Cells in Microsoft Excel: A Quick Guide
Unprotect an Excel SheetUnprotect an Excel Sheet
Unhide All Rows and Columns in Microsoft Excel
Use If‐Else in Excel Use If‐Else in Microsoft Excel: Step-by-Step Tutorial
Insert Pictures in Excel That Automatically Size to Fit Cells Insert Pictures in Excel That Automatically Size to Fit Cells
Create a Mortgage Calculator With Microsoft ExcelCreate a Mortgage Calculator With Microsoft Excel
Create a Graph in Excel Create a Graph in Excel
Unhide Columns in Excel Show Hidden Columns in Microsoft Excel & Unhide Column A
Ethernet Doesn't Have a Valid IP Configuration Fix Ethernet Doesn't Have a Valid IP Configuration on Windows
Freeze Cells in Excel3 Easy Ways to Freeze Panes to Lock Columns or Rows in Excel
Change from Lowercase to Uppercase in Excel Change from Lowercase to Uppercase in Microsoft Excel
Make a Spreadsheet in ExcelMake a Spreadsheet in Excel
Advertisement

About This Article

Jack Lloyd
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. This article has been viewed 1,805,186 times.
How helpful is this?
Co-authors: 34
Updated: August 9, 2024
Views: 1,805,186
Categories: Microsoft Excel
Article SummaryX

1. Open Excel.
2. Select Open Other Workbooks.
3. Select the corrupted file.
4. Click the down-arrow menu next to "Open."
5. Select Open and Repair.
6. Click Repair.
7. Click Close when complete.

Did this summary help you?

Thanks to all authors for creating a page that has been read 1,805,186 times.

Is this article up to date?

Advertisement