To delete an Excel file from SharePoint, open the document library that contains it, select the file, choose Delete, and confirm. The file usually moves to the site’s Recycle bin rather than disappearing permanently, so you may be able to restore it if you delete the wrong workbook. Before you start, make sure you have permission to delete files and that you have identified the correct copy.
What You’ll Need
- Access to the SharePoint site and the document library where the workbook is stored. If the file is in a Teams channel, its Files tab leads to the SharePoint library behind that channel.
- Permission to delete the file. Your organization may assign this through a SharePoint group or a customized permission level; being able to open or edit a workbook does not always mean you can delete it.
- The file name or folder location, especially if there are several similarly named workbooks. If you are unsure whether it is the right file, check its details or open it before deleting.
Step-by-Step
- Open the correct SharePoint site. Sign in to Microsoft 365 in a web browser and navigate to the site that stores the workbook. You can use the SharePoint app or a link from a colleague. If you are starting from a Teams channel, open the channel’s Files tab, then choose Open in SharePoint if you need to work in the full library. Confirm that you are in the right team or project site before continuing.
- Go to the document library and folder. Open the library, often named Documents or Shared Documents, and browse to the folder containing the Excel file. If you do not see the library in the site navigation, select Site contents and open the relevant document library. Use the library’s search box if it is available, but check the folder path and file name in the results before selecting anything.
- Check that you have the right workbook. Look at the full file name and location. Excel files commonly end in .xlsx, .xlsm, .xls, or .xlsb, but a familiar name alone is not enough if multiple copies exist. You can use the file’s details pane, if available, to review information such as its modified date or who last changed it. If the workbook is important or shared, confirm with its owner or collaborators before removing it.
- Select the file without opening it. In the library’s file list, click the row or selection circle beside the workbook. In some layouts, selecting the row displays a toolbar; in others, a check box appears when you point to the row. Avoid clicking the file name itself if you only intend to delete it, since that opens the workbook in Excel for the web or another configured app.
- Choose Delete and confirm. On the library command bar, select Delete. If the command is not visible, open the file’s More actions menu, commonly shown as three dots, and look for Delete. Read the confirmation prompt, check the displayed file name if one is shown, and confirm the deletion. The file is normally sent to the SharePoint site’s Recycle bin.
- Verify the result and tell collaborators if needed. Check that the workbook no longer appears in the library, refreshing the page if necessary. If you removed a file used by a team, let relevant collaborators know which workbook was deleted and where they can find a replacement. If the file remains listed, check for an error message, a selection problem, or a permission restriction rather than repeatedly submitting the delete command.
Note about synced folders: Deleting the workbook from the SharePoint website is the clearest way to remove it from the library. If you delete a file inside a folder synchronized by the OneDrive sync app, that deletion can also sync to SharePoint and to other people using the shared library. Be certain you are working in the intended synced folder, not an unrelated local copy.
Common Mistakes
- Deleting a similarly named copy. A library may contain files such as Budget.xlsx, Budget-final.xlsx, and Budget-final-2.xlsx. Check the folder and file details, not just the first words of the name. When available, review the modified date and owner before confirming.
- Assuming Delete means permanent deletion. In many SharePoint configurations, Delete sends an item to the Recycle bin, where it may be recoverable for a limited time. The file can still be unavailable to users in its original location even though it has not yet been permanently removed.
- Deleting a file that is still in use. A workbook open in Excel may have collaborators working in it. Close it if you have it open, and coordinate with other users before removal. An open session does not necessarily prevent deletion, so do not treat a successful delete as proof that nobody was using the file.
- Removing a shared file without checking its purpose. SharePoint libraries may be used by a department or a Teams channel. A workbook that looks old could still be linked from a process or relied on by other people. Ask the owner or check with the team when its role is unclear.
- Expecting a local delete to affect only your device. In a synchronized SharePoint library, removing a file locally can propagate the change to the cloud. Conversely, deleting a separate download outside the synchronized folder does not delete the SharePoint original.
Tips
- Use the browser library when you want a deliberate, visible action. It makes the site and folder easier to verify and shows SharePoint’s response after deletion. This is especially useful when you are not sure whether a OneDrive-synced folder is connected to the correct library.
- Keep a copy only when you are authorized to do so. If the workbook needs to be retained, ask its owner or follow your organization’s records process before downloading a copy. A downloaded file is separate from the SharePoint copy and will not automatically receive later edits or SharePoint permissions.
- Consider moving or renaming instead of deleting. If the workbook may be needed later, ask the site owner whether it should be moved to an archive folder or renamed as obsolete. A move can affect links and access, so check with the people who use it first.
- Know where recovery is available. SharePoint users may see a Recycle bin link in the site navigation. Organizations can also have retention settings or policies that affect what happens to deleted content. For important workbooks, find out who manages the site and how recovery requests are handled before you need one.
Troubleshooting
Delete is missing or unavailable: You may not have permission to remove items, the library may use customized permissions, or the file may be subject to a policy. Ask the site owner or SharePoint administrator to check your permissions and the library’s rules. Explain the exact file path and the message you see; do not try to bypass access controls by deleting a synced copy.
You see an error about a locked file, checkout, or approval: Close the workbook if it is open in your own Excel session, then refresh the library and try again. If the library requires checkout, ask the person who checked out the file to check it in or contact the library owner. If approval or a retention rule is involved, an owner or administrator may need to handle the item. Do not assume that deleting a local copy resolves a SharePoint lock.
The workbook still appears after you delete it: Refresh the page and check that you are viewing the same site, library, and folder. Make sure you selected the file rather than opening it, and look for a confirmation message or error. If you deleted it from a synchronized folder, check the OneDrive sync status and allow time for changes to sync. A delay or sync error can make the browser and local folder appear out of step.
You deleted the wrong file: Open the site’s Recycle bin, select the workbook, and choose Restore if that option is available. Restoring normally returns the item to its original location, so check that the folder still exists and that you have access. If the file is absent, the Recycle bin may have been emptied, the retention period may have passed, or the item may be subject to different retention rules. Contact the site owner or administrator promptly; they may be able to check the site collection Recycle bin or other recovery options. Recovery is not guaranteed.
The Recycle bin link is not visible: Look under the site navigation or Site contents, if available, or ask the site owner where the site’s Recycle bin can be accessed. Some organizations change site navigation or restrict access. If the file is important and you cannot locate it, provide the administrator with the file name, original folder, and approximate deletion time.
Frequently Asked Questions
Does deleting an Excel file from SharePoint delete it for everyone?
Usually, yes. Deleting a workbook from a shared document library removes it from that shared location, so other users who relied on that copy may no longer be able to open it there. Separate downloaded copies may remain on individual devices.
Can I recover a deleted workbook?
Often, you can restore it from the site’s Recycle bin if it is still there and you have permission. Select the file and choose Restore. If you cannot see it, contact the site owner or administrator quickly; recovery depends on retention settings and whether the item has been permanently removed.
How long does SharePoint keep deleted files?
For SharePoint Online, deleted items are generally retained in the recycle-bin system for up to 93 days from the original deletion, but site configuration, retention policies, and administrative actions can affect what is available. Treat that period as a recovery window, not a guarantee that every deleted workbook will be restorable.
Can I delete a workbook while it is open in Excel?
It may be possible, but it is safer to close the workbook and check with collaborators first. Active sessions, checkouts, or library policies can interfere with deletion or confuse people who are editing. If SharePoint reports a lock or checkout, ask the user or site owner to resolve it.
What if the Excel file is in a Teams channel?
Channel files are stored in SharePoint. Open the channel’s Files tab and use Open in SharePoint to reach its library, then follow the same selection and deletion steps. Confirm that you have the correct channel and workbook, since deleting a shared channel file can affect all channel members.
Related
- Count Green Cells in Excel: 3 Reliable Ways to Do It
- Count Days Between Dates in Excel: A Practical Guide
- How to Copy the Upper Cell in Excel with a Shortcut
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- How to Add Page Numbers to Different Sections in WordTo add page numbers to sections in Word, insert a section break where the numbering or layout should…
- How to Delete Track Changes in Word and Accept EditsTo remove tracked edits in Microsoft Word, save a copy of the document, then go to Review >…
- Consolidate Excel Workbooks Into One: Best MethodsTo consolidate multiple Excel workbooks into one, choose whether you want to combine their rows into a single…
- Outlook Shared Mailbox Rules: How to Create ThemTo create rules for an Outlook organization mailbox, open the shared mailbox in Outlook on the web, then…
- How to Make Every Other Line a Color in Excel QuicklyTo make every other line (row) a color in Excel, select your data rows, then choose Home >…
- Group Rows in Excel by the Same NameTo group rows that share a name, first sort the entire data range by the Name column so…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.