The fastest way to delete an Excel file

To delete an Excel file, right-click on it in File Explorer (Windows) or Finder (Mac), then select Delete or Move to Trash. The file moves to your Recycle Bin or Trash folder, where it stays for a set period before being permanently removed — usually 30 days on Windows, longer on Mac. If you delete it by accident, you can recover it from there before that window closes.

If you want the file gone immediately without the recovery option, hold Shift while pressing Delete (Windows) or press Command+Option+Delete (Mac). This skips the trash and removes the file permanently, so use this only when you are certain you do not need it.

Key Takeaways

  • Right-click an Excel file and select Delete to move it to Recycle Bin or Trash, where you can recover it for about 30 days.
  • Use Shift+Delete on Windows or Command+Option+Delete on Mac to permanently delete a file without sending it to trash first.
  • If an Excel file is open in Excel when you try to delete it, close the program first or the deletion will fail.
  • Files stored in cloud services like OneDrive or Google Drive may take longer to disappear and may be recoverable from the service's own trash for weeks.

Deleting a file that is currently open

If you try to delete an Excel file while it is open in Excel, Windows or Mac will not let you remove it. The operating system locks files that are in use to prevent data loss. Close Excel completely first — not just the file, but the entire program — then try deleting the file again.

If closing Excel does not work, restart your computer. Sometimes Excel holds onto a file in the background even after you close it, and a restart clears that lock. After the restart, the file should delete normally.

Deleting files stored in OneDrive or Google Drive

Excel files saved to OneDrive, Google Drive, or other cloud storage do not disappear immediately when you delete them. These services keep deleted files in their own trash or recycle bin for a period of time — usually 93 days on OneDrive, 30 days on Google Drive — before permanently removing them from their servers.

To delete a cloud file, right-click it in the cloud service's web interface or in the folder on your computer, then select Delete or Move to Trash. The file will show as deleted in your account, but you can still recover it from the cloud service's trash if you change your mind. Once the cloud service's trash is empty, the file is gone for good.

Recovering a deleted Excel file

If you deleted an Excel file by accident, open your Recycle Bin (Windows) or Trash (Mac) and look for the file. Right-click it and select Restore or Put Back. The file returns to the folder it was in before you deleted it.

If the file is no longer in your Recycle Bin or Trash, it may still be recoverable through your cloud service if it was stored there. Log into OneDrive, Google Drive, or whichever service you used, find the Trash or Recycle Bin section, and restore it from there. If you deleted it more than 30 to 93 days ago, depending on the service, recovery is no longer possible.

Deleting multiple Excel files at once

To delete several Excel files together, open File Explorer or Finder and navigate to the folder containing them. Click the first file, then hold Ctrl (Windows) or Command (Mac) and click each additional file you want to delete. Once all files are selected, right-click and choose Delete, or press the Delete key.

Be careful when selecting multiple files — it is easy to accidentally include a file you meant to keep. Take a moment to review the selected files before confirming the deletion. If you delete the wrong files, you can still recover them from Recycle Bin or Trash as long as you act quickly.

Removing an Excel file from a shared folder or network drive

If an Excel file is stored on a shared network drive or a shared folder that other people can access, deleting it from your computer does not remove it from the shared location. You must delete it from the shared folder itself. Navigate to the shared drive or folder through File Explorer or Finder, find the file, right-click it, and select Delete.

Deleting a file from a shared location affects everyone who has access to it — they will no longer see it or be able to open it. If other people are using the file, warn them before you delete it so they have time to save their work or make a copy if needed.

Frequently Asked Questions

Can I delete an Excel file if someone else has it open?

No. If another person on your network has the file open, your computer will not let you delete it because the file is locked. Ask them to close the file first, then try deleting it. If you are on the same computer, close Excel completely and try again.

What happens if I delete an Excel file that is synced to the cloud?

The file is removed from your computer and from the cloud service, but it goes to the cloud service's trash first. You have 30 to 93 days to recover it depending on which service you use. After that window closes, it is permanently gone.

Is there a way to delete an Excel file without it going to the Recycle Bin?

Yes. Use Shift+Delete on Windows or Command+Option+Delete on Mac to skip the trash and permanently delete the file immediately. Be certain you do not need the file before using this method, because recovery becomes much harder once it is gone this way.

Can I recover an Excel file if I emptied the Recycle Bin?

If the file was stored locally on your computer, recovery is very difficult after you empty the Recycle Bin. If it was in a cloud service, check that service's trash — it keeps files longer than your computer does. For local files, specialized recovery software may work, but success is not may provide.