By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,495 Members | 1,336 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,495 IT Pros & Developers. It's quick & easy.

Corrupt excel .XLSX file

P: 1
Hey guys,
i have a couple of excel .XLSX files that i have been trying to open but i haven't had any luck with then excel says "excel cannot open filename.xlsx because the file format or file extension is not valid. verify that the file has not been corrupted and that the file extension matches the format of the file"
May 8 '15 #1
Share this Question
Share on Google+
4 Replies


Expert 100+
P: 998
And? What is your question regarding this?

Can you give more info on how these files got corrupted?

Do you have a backup?

What have you tried to solve the problem before posting here?
May 8 '15 #2

mackenna
P: 3
A corrupt excel spreadsheet can be repaired by using Open and Repair technique. It is a built-in repair function that opens a corrupt excel file forcefully.
*Open MS Excel > press Ctrl+O > locate corrupt excel spreadsheet and select it.
*Click on the arrow shown beside Open button > select Open and Repair.
It will take just a few seconds to be completed and selected file will be opened, if possible.
Aug 7 '16 #3

P: 1
Hi,Ronars

When an Excel file is corrupted, then you can try several methods to recover it:

1. First of all, you can try to repair the file manually in Excel, as follows:

(1) On the File menu, click Open.
(2) In the Open dialog box, select the file you want to open, and click the arrow next to the Open button.
(3) Click Open and Repair, and then choose which method you want to use to recover your workbook.


2. If method 1 fails, there are still several methods to recover your Excel file manually with Excel, including writing a small VBA macro

3. Third, there are also free tools from third-parties that can open and read Microsoft Excel files, for example,

3.1 OpenOffice . This is a very famous open source project that is designed to support Office file formats, including Excel files. The software can run under Windows.

3.2 KingSoft Spreadsheets . This is a free Windows tool that can open Excel files.

Sometimes when Excel fails to open your file, these tools may be able to open it successfully. If that is the case, then after the Excel file is opened, you can just save it as a new file which will be error-free.

4. For xlsx files, they are actually a group of files compressed in Zip file format. Therefore, sometimes, if the corruption is only caused by the Zip file, then you can use Zip repair tools such as WinRAR to repair the file, as follows:

4.1 Assuming the corrupt Excel file is a.xlsx, then you need to rename it to a.zip
4.2 Start WinRAR, go to "Tools > Repair Archive" to repair a.zip and generated a fixed file a_fixed.zip.
4.3 Rename a_fixed.zip back to a_fixed.xlsx
4.4 Using Excel to open a_fixed.xlsx.

There may still be some warnings when opening the fixed file in Excel, just let ignore it and Excel will try to open and repair the fixed file. If the file can be opened successfully, then you can just save the contents into another error-free file.

5. If all above methods do not work, then you may try third-party tools such as DataNumen Excel Repair

It provides a free demo version so that you can try to see if the data you want can be recovered or not.

Good luck!
Aug 8 '16 #4

P: 1
When an Excel file is corrupted, then you can try several methods to recover it:

1. First of all, you can try to repair the file manually in Excel, as follows:

(1) On the File menu, click Open.
(2) In the Open dialog box, select the file you want to open, and click the arrow next to the Open button.
(3) Click Open and Repair, and then choose which method you want to use to recover your workbook.

You may find more information about this at:

http://office.microsoft.com/en-us/ex...001034656.aspx (for Excel 2003)
http://office.microsoft.com/en-us/ex...017.aspx?CTT=1 (for Excel 2007)
http://office.microsoft.com/en-us/ex...840.aspx?CTT=1 (for Excel 2010)
http://office.microsoft.com/en-us/ex...554.aspx?CTT=1 (for Excel 2013)

2. If method 1 fails, there are still several methods to recover your Excel file manually with Excel, including writing a small VBA macro, as below

http://office.microsoft.com/en-us/ex...#_Toc337637262
Apr 10 '17 #5

Post your reply

Sign in to post your reply or Sign up for a free account.