How Do I Recover an Excel File I Deleted: Complete Recovery Guide
Learn how do i recover an excel file i deleted with step-by-step methods, AutoRecover tips, and proven techniques to restore lost Excel data.

If you've ever panicked wondering how do I recover an Excel file I deleted, you're far from alone. Losing hours of carefully entered spreadsheet data — whether through an accidental delete, an unexpected system crash, or a power outage — ranks among the most stressful computing experiences professionals face. Fortunately, Microsoft Excel includes several built-in safeguards designed specifically to help you recover an excel file and restore your work with minimal hassle, even when it feels like all hope is lost.
Excel's AutoRecover feature is your first and most reliable line of defense. Enabled by default in all modern versions of Excel — including Microsoft 365, Excel 2021, Excel 2019, and Excel 2016 — AutoRecover silently saves a temporary backup copy of your open workbooks at regular intervals, typically every ten minutes. If Excel crashes or your computer shuts down unexpectedly, the Document Recovery pane will automatically appear the next time you launch the application, offering you a list of recoverable file versions sorted by timestamp so you can select the most recent complete save.
Beyond AutoRecover, Windows itself offers additional safety nets through the Recycle Bin, File History, and previous versions (also known as shadow copies). Mac users running Excel on macOS can leverage Time Machine and AutoSave in combination with OneDrive or SharePoint. Understanding which recovery pathway fits your specific situation — whether the file was simply closed without saving, permanently deleted, or lost during a crash — will dramatically increase your chances of getting every formula, pivot table, and VLOOKUP back intact.
It helps to think about Excel file recovery in tiers. Tier one involves files that are still technically open in Excel's memory or staged in a temp folder. Tier two covers files sent to the Recycle Bin that haven't been emptied yet. Tier three involves files that Windows or macOS has archived through built-in versioning tools. Tier four, the last resort, uses third-party data recovery software that scans drive sectors for fragments of your deleted XLSX or XLS file. Each tier requires a different approach and carries a different probability of full recovery.
This guide covers every tier in detail. You will learn how to configure AutoRecover settings so the ten-minute default becomes a one-minute safety net, how to navigate the Unsaved Workbooks folder hidden deep inside your AppData directory, how to restore prior versions directly from within File Explorer, and how to evaluate third-party tools without accidentally overwriting the very sectors that might still contain your data. Whether you are a data analyst who relies on complex models or a small business owner tracking invoices, the techniques covered here apply universally.
Excel mastery goes well beyond file recovery. Skills like knowing how to create a drop down list in Excel, how to merge cells in Excel, how to freeze a row in Excel, and how to use VLOOKUP Excel formulas are the building blocks of efficient spreadsheet work. When you understand how Excel organizes data internally, you also gain a clearer picture of why recovery works the way it does — and how to prevent data loss in the first place through smart habits and proactive settings configuration.
By the end of this article you will have a clear, actionable roadmap for recovering deleted Excel files in virtually every scenario, plus a preventive checklist you can implement today to ensure that the next system crash costs you minutes of work rather than hours. Let's start from the most common situation and work outward to the more advanced recovery methods.
Excel File Recovery by the Numbers

How to Recover an Excel File Using AutoRecover Step by Step
Check the Document Recovery Pane
Browse Unsaved Workbooks Manually
Adjust AutoRecover Settings
Search AppData for Temp Files
Use Windows Search for Recent XLSX Files
After exhausting Excel's native AutoRecover tools, your next stop is the Windows Recycle Bin or macOS Trash. This pathway applies specifically when you deliberately deleted the file — perhaps by pressing the Delete key in File Explorer or dragging it to the Recycle Bin — rather than losing it to a crash. Open the Recycle Bin on your Desktop, use the search bar inside it to type the filename or the .xlsx extension, right-click the matching entry, and choose Restore. Windows will return the file to its original folder location automatically.
Windows File History is a powerful, often-overlooked recovery tool that works silently in the background when enabled. To use it, navigate to the folder where the Excel file used to live, right-click an empty area inside that folder, and select 'Show more options' followed by 'Restore previous versions.' A panel will display a chronological list of archived snapshots for that folder.
Select the snapshot closest to when you last remember the file being intact, browse into it, and copy the Excel file back to a safe location. File History must have been turned on beforehand in Settings > System > Storage > Advanced storage settings > Backup options.
OneDrive and SharePoint cloud versioning represent one of the most robust recovery mechanisms available to Microsoft 365 subscribers. If your workbook was saved inside a OneDrive-synced folder, open OneDrive.com in your browser, navigate to the file location, right-click the file, and select 'Version history.' You will see a dated list of every automatic save. Click any version to preview it or restore it outright. SharePoint goes even further, retaining up to 500 versions of documents, making it invaluable for shared workbooks edited by multiple team members simultaneously.
On macOS, the approach differs slightly but follows the same logic. If the file is in Trash, open Finder, click Trash in the sidebar, locate the file, right-click it, and choose Put Back.
For Time Machine recovery, click the Time Machine icon in the menu bar, select 'Enter Time Machine,' navigate to the folder where the file lived using the Finder window, use the timeline on the right edge of the screen to travel back to a date when the file existed, select it, and click Restore. Apple's AutoSave feature also creates versions of documents saved to iCloud Drive, accessible via File > Revert To > Browse All Versions in compatible apps.
A critical point that many users overlook: the moment you realize a file is missing, stop saving new files to the same drive. Every new file you write potentially overwrites the exact disk sectors holding your deleted Excel data. If the file has been permanently deleted from the Recycle Bin and you have no cloud backups or File History enabled, the data may still physically exist on your drive in an unallocated state until those sectors are reused. Acting quickly — and stopping new disk writes — is the single most impactful thing you can do before attempting advanced recovery.
For IT professionals managing enterprise environments, Group Policy can enforce AutoRecover intervals and OneDrive sync policies across all workstations, ensuring that no employee ever loses more than a minute of work. Combining mandatory cloud sync with short AutoRecover intervals and a regular File History backup schedule creates a three-layer safety net that makes catastrophic data loss virtually impossible. Training users on VLOOKUP Excel formulas, how to freeze a row in Excel, and how to merge cells in Excel also indirectly reduces file loss by encouraging consistent, disciplined saving habits during complex formula work.
When all built-in pathways have been tried without success, it is time to consider third-party data recovery software. Tools such as Recuva (free), Disk Drill, and R-Studio scan your drive at the sector level, searching for the file headers and footers that identify XLSX and XLS formats. Before installing any such tool, download it to a different drive than the one containing your lost file. Installing software on the same drive increases the risk of overwriting the recoverable data. Run the scan in read-only mode first to see what can be found before committing to any recovery action.
Excel Recovery Methods: VLOOKUP, Crashes, and Cloud Files
When Excel crashes mid-session, the Document Recovery pane is your first action. Relaunch Excel immediately after a crash and look for the recovered file list on the left panel. Each entry shows the filename, recovery type (AutoSaved or Original), and a timestamp. Always open the most recent AutoSaved version first, verify your data is intact, and save immediately to a permanent folder using File > Save As rather than just Ctrl+S, which might save over an older version.
If the Document Recovery pane does not appear, navigate manually to File > Info > Manage Workbook. This menu shows both AutoRecover files and workbooks closed without saving. You can also browse directly to the AutoRecover folder path shown in File > Options > Save. Sort files in that folder by date modified and open any .xlsb or .tmp files created around the time of the crash. Rename them with .xlsx extension if Excel does not open them directly.

Built-In Recovery vs. Third-Party Software: Pros and Cons
- +AutoRecover is free and built directly into Excel — no installation required
- +OneDrive version history retains up to 30 days of changes for Microsoft 365 users
- +Windows File History creates automated hourly snapshots with no user intervention needed
- +Document Recovery pane launches automatically after a crash, minimizing user effort
- +Cloud-based recovery works even if your local hard drive fails completely
- +SharePoint stores up to 500 file versions for enterprise and collaborative workbooks
- −AutoRecover only works if the feature was enabled before the data loss event occurred
- −Temp files in the UnsavedFiles folder are automatically purged after four days
- −File History must be configured in advance and requires an external or network drive
- −Third-party recovery tools can be expensive, ranging from $30 to $150 for one-time licenses
- −Deep sector scans with recovery software can take several hours on large drives
- −No recovery method guarantees 100% success once the Recycle Bin has been emptied and sectors overwritten
Excel File Recovery Prevention Checklist
- ✓Set AutoRecover interval to 1 minute in File > Options > Save to minimize potential data loss.
- ✓Enable the 'Keep the last autosaved version if I close without saving' option in Excel settings.
- ✓Save all active Excel workbooks to a OneDrive-synced folder to enable automatic cloud versioning.
- ✓Turn on Windows File History and point it to an external drive or network location.
- ✓Use Ctrl+S habitually after completing each significant data entry or formula block.
- ✓Keep a secondary backup copy in a separate cloud service such as Google Drive or Dropbox.
- ✓Note the AutoRecover file location path in Excel Options so you can navigate there quickly during emergencies.
- ✓Enable the Recycle Bin and ensure it has sufficient storage space before deleting any large files.
- ✓Install a lightweight sector-level recovery tool on a USB drive as an emergency kit before disaster strikes.
- ✓Periodically test your File History and OneDrive version history to confirm they are capturing changes correctly.
One Minute Can Save Hours of Work
Changing Excel's AutoRecover interval from the default 10 minutes to just 1 minute in File > Options > Save is the single highest-impact change you can make right now. Combined with OneDrive auto-sync, this creates a rolling backup that captures nearly every edit — meaning a catastrophic crash costs you at most 60 seconds of work rather than an entire afternoon.
When standard recovery methods fail, third-party file recovery software becomes the tool of last resort. These programs work by scanning the raw sectors of your hard drive or SSD for byte patterns that match the XLSX file format signature — specifically the PK header that identifies all Office Open XML files since Excel 2007. Applications like Recuva from Piriform are completely free and effective for recently deleted files. Disk Drill, R-Studio, and GetDataBack offer deeper scanning algorithms suitable for more complex recovery scenarios involving formatted drives or corrupted partition tables.
The critical rule when using any third-party recovery tool is to never install or run it on the same drive containing the deleted Excel file. Every installation writes data to disk, and each write risks overwriting exactly the sectors that still hold your recoverable XLSX content. Instead, download the recovery software to a USB flash drive, boot your computer with the USB inserted, and run the scan against the target drive in read-only mode. This preserves the integrity of unallocated space while giving the scanner the full picture of what is recoverable.
SSD recovery is inherently more challenging than HDD recovery due to a feature called TRIM. When you delete a file on an SSD, the operating system sends a TRIM command that instructs the drive controller to immediately wipe those sectors, making them available for new writes. This process happens almost instantaneously on modern SSDs, which means the window for sector-level recovery is far shorter than on a traditional spinning hard disk. If you are using an SSD and deleted your Excel file more than a few hours ago, manage your expectations accordingly and prioritize cloud backup and versioning solutions instead.
For enterprise scenarios where recovering a specific version of a shared workbook matters more than recovering a permanently deleted file, SharePoint's version history system is the professional-grade answer. SharePoint maintains a detailed audit log of every change made to every document in a library. System administrators can access this through Site Contents > Library > Library Settings > Version Settings to review and restore specific versions. For accidental overwrites — a scenario equally frustrating as deletion — version history lets you pinpoint the last good version and restore it without affecting the current state visible to other users.
Corrupted Excel files present a different challenge from deleted ones. A file that exists on disk but won't open may have suffered header damage, internal XML corruption, or ZIP structure errors (since XLSX files are actually compressed ZIP archives). Excel's built-in Open and Repair feature, accessible via File > Open > Browse > selecting the file > clicking the dropdown arrow on the Open button > Open and Repair, can fix many forms of corruption.
For severe corruption, tools like ExcelFix, Recovery Toolbox for Excel, and DataNumen Excel Repair can reconstruct workbook content from damaged files that Excel itself cannot open.
Understanding the inner workings of XLSX files helps during recovery. An XLSX file is a ZIP archive containing XML files organized in a specific folder structure: xl/workbook.xml holds the workbook metadata, xl/worksheets/sheet1.xml holds the actual cell data for each sheet, xl/sharedStrings.xml stores text strings, and xl/styles.xml defines formatting. If you have a corrupted XLSX that Excel cannot open, try renaming it to .zip and extracting it. You may be able to open individual XML files in a text editor and manually extract critical data even when Excel itself gives up on the file entirely.
Prevention remains the most cost-effective strategy in every recovery scenario. Organizations that invest in Microsoft 365 with OneDrive for Business, enforce short AutoRecover intervals via Group Policy, and maintain File History backups on network shares virtually eliminate catastrophic data loss as a business risk.
Individual users who sync their Documents folder with OneDrive and check their version history settings once a month give themselves a safety net that rivals enterprise-grade data protection. The skills that make you an Excel power user — mastering VLOOKUP, knowing how to create a drop down list in Excel, and building robust financial models — are complemented perfectly by the habits that keep that work safe and recoverable.

The moment you realize an Excel file has been permanently deleted and is not in the Recycle Bin, stop saving any new files to that drive. Every new file saved to the same physical drive or partition risks overwriting the unallocated sectors still holding your deleted data. On SSDs, TRIM may already have cleared those sectors — but on HDDs, the data can survive for hours or days if the drive is kept idle.
Mastering the broader landscape of Excel skills is the most effective long-term strategy for protecting your work. Users who understand how Excel stores data are naturally more deliberate about saving and backing up their files. VLOOKUP Excel formulas, pivot tables, and complex nested IF statements represent significant intellectual investments — the kind that make you very motivated to ensure AutoRecover is enabled and OneDrive is syncing. Treating your Excel proficiency as an asset worth protecting changes how you think about file management.
Knowing how to freeze a row in Excel is a surprisingly useful skill that connects to data integrity. When you freeze the header row of a large dataset, you reduce the chance of accidentally entering data in the wrong column — which might lead you to frantically CTRL+Z through dozens of edits, potentially triggering an unsaved-state close. Small workflow improvements like row freezing, data validation, and drop-down lists all reduce the types of errors that lead people to close files in frustration without saving. Fewer impulsive closes means fewer recovery situations.
How to merge cells in Excel is another fundamental technique that intersects with file recovery in a subtle way. Merged cells can cause formula errors and display anomalies that sometimes lead users to believe a file is corrupted when it is actually functioning correctly with unusual formatting. Understanding the difference between a genuinely corrupted file and one with complex merge formatting saves time and prevents unnecessary recovery attempts. If your workbook opens but looks strange, check for merged cells before concluding that recovery software is needed.
Creating a drop-down list in Excel using Data Validation is a data quality feature that also serves as an indirect backup strategy. When cells only accept valid, predefined values, your datasets stay clean and predictable. Clean datasets are smaller in file size, faster to save, and easier to reconstruct manually if partial recovery is the best available outcome. A 50MB workbook full of inconsistent text entries is far harder to recover meaningfully than a 2MB workbook with validated, structured data that can be re-entered efficiently.
The inner excellence of truly proficient Excel users shows in how they structure their workbooks. Separating raw data sheets from calculation sheets, using named ranges instead of hard-coded cell references, and documenting assumptions in comment cells are all practices that make partial recovery viable. If you recover only the data sheet but not the formula sheet, a well-documented workbook can be reconstructed in hours rather than days. This is the kind of structural thinking that transforms Excel from a mere spreadsheet tool into a robust data management system.
For professionals preparing for Microsoft Office Specialist (MOS) certification or other Excel-related credentials, understanding file recovery is part of the broader competency package. Certification exams test not just formula knowledge but also file management, collaboration features, and data protection best practices. Studying recovery workflows alongside VLOOKUP, INDEX-MATCH, and pivot tables gives you a complete picture of how Excel operates as an application, not just as a formula engine. This holistic understanding is what separates intermediate users from genuine Excel experts.
Whether you are managing financial models, HR databases, sales dashboards, or scientific datasets, the fundamental truth is the same: no Excel skill matters more than keeping your work safe. Configure AutoRecover to save every minute, sync to OneDrive or SharePoint, maintain File History on an external drive, and know exactly which recovery steps to take when something goes wrong.
With this guide as your reference, the next time someone in your office asks how do I recover an Excel file I deleted, you will have the complete answer ready — and more importantly, your own files will already be protected against that exact scenario.
Building lasting Excel recovery habits requires more than knowing the steps — it requires making those steps automatic through consistent practice and system configuration. The best time to set up AutoRecover, OneDrive sync, and File History is right now, before you ever need them.
Open Excel's options menu today and verify that AutoRecover is saving every minute, that the file location points to a drive that is reliably available, and that the 'Keep the last autosaved version if I close without saving' checkbox is ticked. These three settings together create a powerful baseline safety net that will serve you for years.
Cloud storage has fundamentally changed the data recovery landscape over the past decade. Where once losing a file meant scrambling through local backup drives and recovery software, today's Microsoft 365 users can restore a file from any point in the last 30 days with a few browser clicks. Google Drive, Dropbox, and Box all offer similar version history features for files stored within their ecosystems. If you are currently storing your Excel files exclusively on a local drive without cloud sync, migrating to a cloud-first storage approach is the single most impactful resilience upgrade you can make this week.
Team environments introduce additional complexity to Excel recovery. When multiple users share a workbook via a network drive without SharePoint or OneDrive, there is no centralized version history — meaning one user's accidental overwrite can destroy everyone's work simultaneously. Migrating shared workbooks to SharePoint or OneDrive for Business solves this completely while also enabling real-time co-authoring, where changes from multiple users are merged intelligently rather than overwritten. The collaboration and recovery benefits of cloud-hosted shared workbooks far outweigh the minor learning curve of transitioning away from mapped network drives.
Scheduled backups using Windows Task Scheduler represent another layer of protection for power users who manage critical Excel files outside of cloud environments. You can create a simple PowerShell or batch script that copies your key Excel files to a backup folder with a dated filename every evening. Scheduled backups like this, combined with the built-in AutoRecover and Recycle Bin safety nets, create a multi-tier protection architecture that can recover your work regardless of what went wrong and when. Automation removes the reliance on human memory for a task that is critically important but easy to forget.
Mobile considerations matter more than ever as Excel becomes a cross-platform tool. The Excel mobile app on iOS and Android automatically saves files to OneDrive when you are working from a cloud-synced location, making recovery on mobile platforms straightforward through the same OneDrive version history interface. However, files opened from local device storage on a mobile device do not benefit from cloud versioning, and mobile crashes do not always trigger the same Document Recovery pane behavior as the desktop version. Always work from OneDrive-synced locations when editing important spreadsheets on mobile devices.
Testing your recovery setup is a step most users skip but should not. Once a quarter, deliberately save a test Excel file to your Documents folder, close it without saving a second version, then practice going through the recovery steps to retrieve the unsaved version from the UnsavedFiles folder. Run a File History restore test to confirm backups are actually being captured. Check OneDrive version history on a real workbook to ensure versions are being retained. These five-minute tests give you complete confidence that your safety net works and will catch real data loss events when they occur.
The mental model that serves Excel users best is thinking of every workbook as having three states simultaneously: the version on disk, the version in memory, and the version in the cloud. Keeping all three in sync through frequent saves, enabled AutoRecover, and active cloud sync means that any single point of failure — a crash, an accidental delete, a ransomware attack encrypting your local drive — cannot destroy your work entirely. With this triple-state thinking and the detailed recovery methods covered in this guide, you are fully equipped to handle any Excel data loss scenario with confidence and speed.
Excel Questions and Answers
About the Author
Business Consultant & Professional Certification Advisor
Wharton School, University of PennsylvaniaKatherine Lee earned her MBA from the Wharton School at the University of Pennsylvania and holds CPA, PHR, and PMP certifications. With a background spanning corporate finance, human resources, and project management, she has coached professionals preparing for CPA, CMA, PHR/SPHR, PMP, and financial services licensing exams.




