The quickest way to delete an Excel file

Right-click the file in File Explorer (Windows) or Finder (Mac), then select Delete or Move to Trash. On Windows, the file goes to the Recycle Bin first — you can still recover it from there. On Mac, it goes to Trash, where it stays until you empty the trash manually. If you want it gone when ready without recovery, use Shift+Delete on Windows or Command+Delete on Mac, then confirm the permanent deletion.

Before you delete, make sure you have what you need from that file. Once you permanently delete an Excel file, recovery becomes much harder and may require paid software or professional help. If the file contains data you might need later, consider moving it to an archive folder instead of deleting it outright.

Key Takeaways

  • Right-click any Excel file and select Delete to move it to Recycle Bin (Windows) or Trash (Mac), where you can still recover it.
  • Use Shift+Delete on Windows or Command+Delete on Mac to skip the trash and delete permanently in one step.
  • Deleting a file from OneDrive or Google Drive removes it from the cloud but may keep it in a trash folder for 93 days before permanent removal.
  • If you share an Excel file with others, deleting it from your device does not remove it from their devices or shared folders.
  • Close the file in Excel before deleting it, or Windows may prevent the deletion until the program releases the file.

Deleting files stored in the cloud

If your Excel file lives in OneDrive, Google Drive, or Dropbox, deletion works differently than a file on your computer. Deleting from the cloud service removes it from your account and from any device syncing to that folder, but the file usually goes to a trash or recycle bin first. OneDrive keeps deleted files for 93 days before removing them permanently. Google Drive keeps them for 30 days. You can restore them during that window by opening the trash folder and selecting Restore.

Permanently deleting a cloud file requires an extra step. In OneDrive, open the Recycle Bin, right-click the file, and select Delete. In Google Drive, open Trash, right-click the file, and select Delete Forever. Once you do this, the file is gone from the cloud service itself, though anyone who downloaded a copy to their device still has it.

What happens when you delete a shared Excel file

If you created an Excel file and shared it with coworkers or family members, deleting it from your device or cloud account does not delete it from theirs. They keep their copy. If the file is stored in a shared folder — like a OneDrive shared library or a Google Drive shared folder — deleting it removes it for everyone who accesses that folder. But if you sent them the file as an attachment or they downloaded it separately, your deletion has no effect on their copy.

Before deleting a shared file, consider whether others still need it. If the file is in a shared workspace like Microsoft Teams or a Google Drive shared folder, deleting it removes it for the whole group. Send a message first to make sure no one is still working on it.

Closing Excel before deletion

If an Excel file is open in Excel when you try to delete it, Windows may block the deletion and show an error saying the file is in use. Close the file in Excel first — go to File, then Close, or press Ctrl+W. If you have unsaved changes, Excel will ask whether to save them. Choose No if you do not want to keep those changes, or Yes if you do.

After closing the file, wait a moment before deleting. Sometimes Excel keeps a lock on the file for a few seconds after closing. If you still get an error, restart Excel entirely and try again. On Mac, the same rule applies — quit Excel before deleting the file.

Recovering a deleted Excel file

If you deleted an Excel file by accident, recovery depends on where it was stored and how long ago you deleted it. Files deleted to Recycle Bin (Windows) or Trash (Mac) can be restored by opening that folder, finding the file, right-clicking it, and selecting Restore. Do this soon — Recycle Bin and Trash can fill up and old files may be overwritten.

For cloud files, open the trash or recycle bin in OneDrive, Google Drive, or Dropbox and restore from there within the time window (93 days for OneDrive, 30 days for Google Drive). If you permanently deleted the file and want it back, you may have a backup through your cloud service's version history. In OneDrive and Google Drive, you can sometimes restore an older version of a file even after deletion. Check the file's version history or contact your IT department if the file was work-related.

Organizing files so you do not delete the wrong one

The safest way to avoid accidental deletion is to organize files clearly before you need to delete anything. Keep active work files in one folder, completed projects in another, and files you might reference later in an archive folder. Name files with dates or version numbers so you know which is the current one. When you are ready to delete, you know exactly which folder to look in and which file to remove.

Consider creating a "To Delete" folder where you move files you are unsure about. Leave them there for a week or two. If you do not miss them, delete the whole folder at once. This gives you a safety window without cluttering your main workspace.

Deleting multiple Excel files at once

If you need to delete several Excel files, select them all at once in File Explorer or Finder. Hold Ctrl (Windows) or Command (Mac) and click each file you want to delete. Once they are all highlighted, right-click and select Delete. They all go to Recycle Bin or Trash together. You can also select a range — click the first file, hold Shift, and click the last file to select everything in between.

Be careful with bulk deletion. It is straightforward to accidentally select a file you meant to keep. Review the highlighted files before confirming the deletion. If you delete the wrong files, you still have time to restore them from Recycle Bin or Trash.

Frequently Asked Questions

Can I recover an Excel file after I empty the Recycle Bin?

Once you empty Recycle Bin or Trash, recovery becomes much harder. You may be able to restore the file using data recovery software, but success is not may provide and the cost can be high. If the file was important, contact a professional data recovery service. For cloud files, check the service's trash folder first — it may still be there even if your local trash is empty.

What if the Excel file is locked and I cannot delete it?

A locked file usually means it is open in Excel or another program. Close the file and the program, then try again. If the error persists, restart your computer. On a network drive, the file might be locked by another user — ask them to close it. If you own the file and still cannot delete it, right-click, select Properties, and check whether the Read-Only box is checked. Uncheck it and try deleting again.

Does deleting an Excel file from my computer delete it from backups?

No. Deleting a file from your device does not remove it from backups created by Windows Backup, Mac Time Machine, or cloud backup services. Those backups keep copies of deleted files for a set period. You can restore the file from a backup if you need it later. If you want the file completely gone from backups too, you would need to delete it from the backup itself, which usually requires accessing your backup settings.

Can I delete an Excel file if I do not have admin rights on my computer?

Usually yes, as long as you created the file or it is in your user folder. If the file is in a protected system folder or owned by another user, you may need admin rights. Right-click the file and select Delete. If you get a permission error, you do not have rights to delete it. Contact your IT department or the file owner to remove it.