An Excel file usually keeps getting corrupted when a save or transfer is interrupted, the storage location has a problem, or another program interferes with the workbook. A damaged file is not always the real issue: an Excel crash, an incompatible file format, or a cloud-sync conflict can produce similar warnings, so first identify what is failing and preserve a copy before trying repairs.
What Excel file corruption means
An Excel workbook contains data, formulas, formatting, charts, connections, and other components that Excel must read together. Modern .xlsx and .xlsm files are packages made up of multiple internal parts. If a part is incomplete or inconsistent, Excel may report that it cannot open the file, that it found unreadable content, or that it repaired or removed some content. A workbook can also open while particular sheets, formulas, or objects are missing.
That is different from a workbook that is simply slow, full of calculation errors, or displayed incorrectly. For example, #### in a cell usually means the column is too narrow for the displayed value, not that the file is corrupted. A message that the file extension does not match its format may mean someone renamed the file rather than a genuine corruption event. Treat the exact message and whether the problem affects one workbook or many as useful clues.
Common reasons a workbook gets damaged
The most common pattern is an interrupted write: Excel or the computer stops while changes are being saved. A power cut, forced shutdown, system crash, Excel crash, or unplugged external drive can leave a save incomplete. This is more likely to affect the file being written at that moment than every workbook on the computer. Repeated damage to files in different folders points toward a broader issue, such as unstable storage or a malfunctioning add-in.
- Unreliable storage or transfers: A failing disk, damaged USB drive, unstable network connection, or interrupted copy can prevent all parts of a workbook from being written or transferred correctly.
- Cloud synchronization conflicts: OneDrive or another sync service may create a conflict copy when edits overlap or a device goes offline mid-sync. This is not automatically corruption, but opening an older or partially synchronized copy can look like data loss.
- Other software: Add-ins, automation tools, converters, or programs that edit Excel files may save content differently or fail partway through. A third-party tool is a possibility to investigate, not proof of the cause.
- Format changes: Saving as CSV removes workbook features such as multiple sheets, formatting, and formulas as formulas. Renaming a file extension does not convert its contents. These changes can be mistaken for corruption.
- Workbook or system strain: A very large or complex workbook can consume substantial memory and may make Excel freeze or crash during calculation or saving. That does not mean size alone corrupts files, but repeated crashes raise the risk of an interrupted save.
Malware is another possibility, particularly if files are renamed, encrypted, or inaccessible across the computer. Ordinary Excel warnings are not enough to conclude that malware is involved. If many files suddenly change or cannot be opened, stop syncing affected folders and contact your organization’s IT team or use reputable security software before restoring files.
Work out whether the file or Excel is at fault
Start with a copy of the affected workbook. Do not repeatedly overwrite the only version while testing. If the copy opens on another computer, the original computer’s Excel installation, add-ins, permissions, or storage path may be involved. If several unrelated workbooks fail only when stored on a particular USB drive or network share, investigate that location. If one workbook fails everywhere while other files work, the workbook itself is a stronger suspect.
Try opening a known-good workbook and creating, saving, closing, and reopening a small test workbook. If that succeeds but the affected file does not, focus on recovery and previous versions. If Excel crashes on the test file too, update Office and investigate add-ins or system stability. On Windows, press Windows key + R, enter excel /safe, and press Enter to start Excel in Safe Mode. If the problem disappears there, an add-in or startup customization may be involved. To review COM add-ins, use File > Options > Add-ins; beside Manage, choose COM Add-ins and select Go. Disable only items you recognize, then test again. Safe Mode and these paths are for Windows; Mac menus and diagnostic steps differ.
Try Excel’s repair and recovery options
On Windows, make a separate copy first, then use Excel’s built-in repair command. In Excel, choose File > Open > Browse. Select the workbook, click the arrow next to the Open button, and choose Open and Repair. Try Repair first. If Excel cannot repair the workbook, repeat the process and choose Extract Data if that option is offered. Repair may restore a usable file but discard damaged formulas, formatting, charts, or other elements, so inspect the result rather than assuming it is complete.
If the workbook opens, save the recovered content under a new name and, if appropriate, in the current .xlsx or .xlsm format. Check sheet names, key values, formulas, charts, and links to external data. If Excel cannot open it, look for a healthy earlier copy: for a workbook stored in OneDrive or SharePoint, check Version History in Excel through File > Info > Version History, or use the service’s version-history interface. A previous version may be more useful than a partial repair.
AutoRecover can help after Excel closes unexpectedly, but it is not a dependable backup of every saved change. On Windows, review File > Options > Save for AutoRecover settings and locations. Available recovery files depend on settings and circumstances, and a file that was never saved may not be recoverable. Avoid downloading random “repair” utilities or uploading confidential workbooks to unfamiliar websites; those tools can expose sensitive data and may not restore the original structure.
Prevent interruptions and keep usable backups
Good saving habits reduce the chance that a temporary problem becomes permanent. Save before major edits, use descriptive versions when making risky changes, and wait for Excel or the sync service to finish saving before shutting down or disconnecting storage. If a workbook is on a network drive or external device and saving is unreliable, work from a stable local copy when your organization’s policies allow it, then transfer it after confirming the save completed.
- Keep important workbooks in a location with a real backup or version history. Syncing is useful, but synchronization alone can also copy unwanted changes or deletions.
- For OneDrive or SharePoint files, confirm that the file is online and synchronized before opening it on another device. Use coauthoring with supported Microsoft 365 storage rather than passing around competing copies.
- Use the right format: .xlsx for most workbooks, .xlsm when the workbook needs macros, and CSV only when you intentionally want a plain-text data export. Do not change an extension to try to fix a file.
- Install Office and operating-system updates, and keep adequate free space on the storage device. If corruption recurs across unrelated files, check drive health and ask IT to examine the computer or network.
- Keep a separate, dated backup before major restructuring, importing data, or running automation. A backup should be recoverable even if the active workbook or its synced folder is damaged.
Cloud files, shared editing, and format misconceptions
A cloud location does not inherently make an Excel workbook corrupt. OneDrive and SharePoint can support AutoSave, version history, and coauthoring for compatible files, but those benefits depend on the file being stored and connected correctly. If you see duplicate files with a computer or user name appended, check which copy contains the newest complete edits before deleting anything. Do not assume the most recently modified copy is necessarily the best one.
Likewise, .xlsx is not immune to damage, and changing from an older .xls file does not repair an already damaged workbook. Modern formats preserve many Excel features, while CSV is designed for plain tabular text and cannot retain multiple worksheets, formulas as formulas, charts, or most formatting. When exchanging a workbook, use Save As to create the intended format rather than renaming the file in File Explorer.
When recurring corruption needs a closer look
If the same workbook becomes damaged again after recovery, stop treating each incident as an isolated repair. Note where it was stored, what operation happened just before the warning, whether Excel or Windows crashed, and whether another person or application edited it. A consistent link to a particular drive, sync folder, add-in, or automated process can narrow the investigation. Save an untouched copy of the error message and affected file for your IT team if the workbook contains business-critical information.
If multiple files fail on one machine, update Office and check whether the issue occurs in Safe Mode. If multiple users encounter trouble with files on one shared location, ask the storage or network administrator to check the service and its logs. If files suddenly become encrypted or their names change, disconnect the affected device from shared storage and seek security support promptly. Repairing a single workbook will not resolve a failing drive, recurring sync conflict, or compromised system.
Frequently Asked Questions
Can I recover an Excel file that will not open?
Possibly. On Windows, make a copy and try File > Open > Browse > Open and Repair. If that fails, check OneDrive or SharePoint Version History, another backup, or a previous copy on a different device. Recovery is not guaranteed, and a repaired file may have missing content.
Does AutoSave prevent Excel file corruption?
No. AutoSave can preserve changes for supported files stored in OneDrive or SharePoint, but it does not protect against every sync, storage, or workbook problem. It can also save unwanted edits. Keep version history or a separate backup for important work.
Why does Excel say the file extension does not match?
The extension may have been changed without converting the file, or the file may have been produced by another program with a different format. Confirm the file’s source and ask the sender to save it in a genuine Excel format. Do not simply rename the extension and assume the contents have been converted.
Can an Excel add-in corrupt a workbook?
An add-in or automation tool can contribute to crashes or unusual saving behavior, but it is only one possible cause. On Windows, test Excel in Safe Mode. If the problem stops, review add-ins and disable them one at a time, then test the workbook again.
Should I keep saving over the repaired file?
No. Save the repair under a new name and preserve the original until you have checked the recovered workbook. Compare important sheets, formulas, and values against a trusted source or earlier version before using the repaired copy as your only file.
Related
- Can You Open a Corrupted Excel File Online for Free?
- OneDrive Excel File Corrupted? Practical Repair Steps
- Excel Shortcut Keys: Essential Windows and Mac Keys
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Google Sheets COUNTIF Range: Syntax, Examples, and FixesIn Google Sheets, COUNTIF counts cells in a range that meet one condition. The basic formula is =COUNTIF(A2:A20,"Open");…
- Cannot Add a Shared Mailbox to Outlook? Fixes That WorkYes, you can add a shared mailbox to Outlook, but your account first needs permission to open it.…
- How to Add a Picture to a Cover Page in Microsoft WordTo add a picture to a Word cover page, open the first page, choose Insert > Pictures >…
- Excel Box and Whisker Plot Examples With Setup TipsExcel box-and-whisker plot examples include comparing test scores across classes, delivery times across routes, or monthly measurements across…
- Block a Sender in Outlook Mail: Steps, Limits and TipsTo block a sender in Outlook, select a message from that person, open the message actions or Junk…
- Ctrl+E in Excel: What the Shortcut Does and How to Use ItIn Excel for Microsoft 365 on Windows, Ctrl+E runs Flash Fill. Flash Fill recognizes a pattern in your…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.