Easy ways to recover a corrupt Excel file

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

  1. 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. 2
    Open Excel. Its app icon resembles a green box with a white "X" on it.
    Advertisement
  3. 3
    Click Open Other Workbooks. This option is next to a folder-shaped icon in the lower-left corner of the window.
  4. 4
    Click Browse. It's a folder-shaped icon in the middle of the page. Doing so opens a File Explorer window.
  5. 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.
  6. 6
  7. 7
    Click Open and Repair…. 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.
  8. 8
    Click Repair when prompted. It's in a pop-up window. Windows will begin attempting to repair your file.[1]
    • 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.
  9. 9
    Wait for the file to open. 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.
  10. 10
    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.
  11. Advertisement
Method 2
Method 2 of 5:

Changing the File Type on Windows

  1. 1
    Understand why the file type matters. 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. 2
  3. 3
  4. 4
    Click the View tab. It's at the top of the File Explorer window. A toolbar will appear below this tab.
  5. 5
    Check the "File name extensions" box. 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.
  6. 6
    Select your Excel file. Go to the location of the Excel document that you want to recover, then click the document to select it.
  7. 7
    Click Home. It's a tab in the upper-left side of the File Explorer window. This will prompt a toolbar to appear.
  8. 8
    Click Rename. This option is in the "Organize" section of the toolbar. Clicking Rename will cause the Excel file's name to become highlighted.
  9. 9
    Change the file type. 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".
  10. 10
    Click Yes when prompted. This will confirm your changes and change the file extension.
  11. 11
    Try opening the file. 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.
  12. Advertisement
Method 3
Method 3 of 5:

Changing the File Type on Mac

  1. 1
    Understand why the file type matters. 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. 2
    Open Finder. Click the blue, face-shaped app icon in your Mac's Dock.
  3. 3
    Select the Excel file. Go to the folder in which your Excel file is located, then click the Excel file that you want to recover.
  4. 4
    Click File. This menu item is in the top-left corner of your Mac's screen. Clicking it prompts a drop-down menu.
  5. 5
    Click Get Info. It's in the File drop-down menu. This will open a pop-up window.
  6. 6
    Expand the "Name & Extension" section if necessary. 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. 7
    Change the file type. 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. 8
    Click Use .xlsx when prompted. This will confirm your decision and change the file type.
  9. 9
    Try opening the file. 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

  1. 1
    Understand the limitations of this method. 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. 2
  3. 3
    Type in this pc. This will search your computer for the "This PC" program.
  4. 4
    Click This PC. It's the computer monitor-shaped icon at the top of the Start window. Doing so opens the This PC window.
  5. 5
    Double-click your computer's hard drive. This is usually the "OS (C:)" option below the "Devices and drives" heading in the middle of the page.
  6. 6
    Double-click the "Users" folder. You'll find this in the middle of the hard drive's folder.
  7. 7
    Double-click your user folder. This folder is labeled with part or all of your username on your computer.
  8. 8
    Double-click the "AppData" folder. It's in the "A" section, so you'll most likely find this folder near the top of the window.
    • 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.
  9. 9
    Double-click the "Local" folder. This option is near the top of the folder.
  10. 10
    Scroll down and double-click the "Microsoft" folder. You'll find it in the "M" section.
  11. 11
    Double-click the "Office" folder. It's in the "O" section of the Microsoft folder.
  12. 12
    Double-click the "UnsavedFiles" folder. This folder should be near the top of the window.
  13. 13
    Select an Excel file. 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.
  14. 14
    Change the Excel file's extension. To do so:[2]
    • Click View
    • Check the "File name extensions" box.
    • Click Home
    • Click Rename
    • Replace the .tmp section with .xlsx
    • Press Enter.
    • Click Yes when prompted.
  15. 15
    Open the Excel file. Double-click the file that you just renamed to open it.
  16. 16
    Save your file. 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.
  17. Advertisement
Method 5
Method 5 of 5:

Recovering a Temporary Save on Mac

  1. 1
    Understand the limitations of this method. 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. 2
    Click Go. 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. 3
    Hold down the Option key. After doing this, you should see the Library folder appear in the Go drop-down menu.
  4. 4
    Click Library. It's in the Go drop-down menu. This will open the Library hidden folder.
  5. 5
    Open the "Containers" folder. Double-click the "Containers" folder, which is in the "C" section of the Library folder.
  6. 6
    Click the search bar. It's in the upper-right side of the window.
  7. 7
    Search for the Microsoft Excel folder. Type in com.microsoft.Excel and press Return.
  8. 8
    Click the Containers tab. You'll find this to the right of the "Search:" heading near the top of the Finder window.
  9. 9
    Open the "com.microsoft.Excel" folder. Double-click this folder to open it.
  10. 10
    Open the "Data" folder.
  11. 11
    Open the "Library" folder.
  12. 12
    Open the "Preferences" folder. If you don't see this folder, scroll down to find it.
  13. 13
    Open the "AutoRecovery" folder. This will bring up a list of automatically saved versions of your Excel files.
  14. 14
    Find a temporary version of your Excel file. 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.
  15. 15
    Select the Excel file. Click the Excel file to do so.
  16. 16
    Click File. It's a menu item in the upper-left corner of your Mac's screen. A drop-down menu will appear.
  17. 17
    Select Open With. This option is near the top of the File drop-down menu. You should see a pop-out menu open.
  18. 18
    Click Excel. 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.
  19. 19
    Save the document. Press Command+S, then enter a file name, select a save location in the "Where" menu, and click Save.
  20. Advertisement

Community Q&A

  • 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).
Advertisement

Warnings

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,353,722 times.
How helpful is this?
Co-authors: 34
Updated: October 28, 2022
Views: 1,353,722
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?
Advertisement