How to repair my excel file

Biju Damodharan 0 Reputation points
2026-11-18T07:47:30.97+00:00

Sir

My excel file accidently deleted .i recover my file but contents all different .so how can i get it my old excel file details.please help me

Microsoft 365 and Office | Excel | For home | Windows

1 answer

Sort by: Newest
  1. AI answer

    2026-11-18T07:49:29.7566667+00:00

    If the workbook was deleted from the Windows PC, restore the original file from the Recycle Bin first, then open it under a new name and verify its contents before replacing the incorrectly recovered copy.

    1. Check the Windows Recycle Bin

    Since the recovery attempt produced different contents, do not overwrite or delete either copy yet.

    1. Open Recycle Bin from the Windows desktop.
    2. Search for the original Excel filename and check its deletion date.
    3. Right-click the workbook and select Restore.
    4. Windows returns it to its original folder.
    5. Copy the restored workbook to another folder, give the copy a new name, and open that copy in Excel.

    This retrieves the deleted original rather than trying to reconstruct its contents from the incorrect recovered file.^1^

    2. If the file was stored in OneDrive

    Look for an earlier version containing the correct data:

    1. Sign in to OneDrive and locate the workbook.
    2. Right-click it and select Version history.
    3. Open an older version to check its contents.
    4. When the correct version is found, select … next to it and choose Restore.^2^

    Restoring makes that version current; the previously current version remains in the version list. Alternatively, check OneDrive → Recycle bin, select the original file, and choose Restore.^3^

    3. If it was stored only on the PC

    If Windows File History was enabled before deletion:

    1. Open File Explorer and find the folder that originally contained the workbook.
    2. Right-click that folder and select Restore previous versions.
    3. Choose a version dated before the deletion.
    4. Select Open in File History to inspect it.
    5. Use Restore to… and choose another folder, avoiding replacement of the current recovered file.

    A direct Restore replaces the current version and cannot be undone, so Restore to… is safer.^4^

    4. Check Excel’s AutoRecover copies

    This is worth checking if Excel had saved a temporary version before the deletion or unexpected closure:

    1. Open Excel.
    2. Select File → Info → Manage Workbook → Recover Unsaved Workbooks.
    3. Open each likely copy and inspect its worksheets.
    4. If the correct content appears, select Save As and save it with a new filename.^5^

    AutoRecover files are temporary and may no longer be available, especially if the workbook was subsequently saved and closed.

    5. Use repair only if the recovered workbook is damaged

    Open and Repair can salvage data present in a corrupted workbook, but it cannot recreate old content that is absent because the recovery tool returned the wrong file.

    1. Make a copy of the recovered workbook.
    2. In Excel, select File → Open → Browse.
    3. Select the copied workbook without opening it.
    4. Select the arrow beside Open, then Open and Repair.
    5. Choose Repair.
    6. If that fails, repeat and select Extract Data to retrieve available values and formulas.^6^

    6. Last option for a locally deleted file

    If the original is absent from the Recycle Bin and no backup exists, minimize use of the PC immediately: new data can overwrite the deleted file’s disk space. Install Windows File Recovery from Microsoft Store and recover to a different physical drive, such as an external USB drive.^7^

    For example, if the deleted workbook was in Documents on C: and the external drive is E::

    winfr C: E: /regular /n \Users\<username>\Documents\*.xlsx
    

    If Regular mode finds nothing:

    winfr C: E: /extensive /n \Users\<username>\Documents\*.xlsx
    winfr C: E: /extensive /n \Users\<username>\Documents\*.xls
    winfr C: E: /extensive /n \Users\<username>\Documents\*.xlsm
    

    Do not recover onto C: itself. Recovery is not guaranteed if the original disk space has already been overwritten.


    References

    1. retrieving an accidental Excel file deleted - Microsoft Q&A
    2. Restore a previous version of a file stored in OneDrive | Microsoft Support
    3. Restore files deleted from your OneDrive | Microsoft Support
    4. Backup and restore with File History | Microsoft Support
    5. Recover an earlier version of an Office file | Microsoft Support
    6. Repair a corrupted workbook | Microsoft Support
    7. Windows File Recovery | Microsoft Support
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.