How To Fix Excel Filter Greyed Out (2026)
When the Filter button on the Data tab is greyed out, Excel is usually blocking edits to the sheet or the file.
Microsoft has no single article titled filter greyed out, so this guide pulls together the restrictions its support pages document that stop you from applying a filter.
Work through them in order, because each check takes only a few seconds.
Table of Contents
- Quick answer: why the filter is greyed out
- Leave Protected View
- Unprotect the worksheet
- Protect the sheet but still allow filtering
- Check whether the file is locked or view-only
- Turn off the old Shared Workbook feature
- Do not confuse sheet and workbook protection
- Turn the filter on correctly
- Clear or remove filters
- What the filter icons mean
- Related Excel fixes
- Official sources
- More Word, Excel and PowerPoint guides
Quick answer: why the filter is greyed out
| Cause | How to tell | Fix |
|---|---|---|
| Protected View | A yellow or red bar at the top of the window | Select Enable Editing, or File > Edit Anyway on the red bar |
| Protected sheet | Review tab shows Unprotect Sheet | Review > Unprotect Sheet |
| File locked or opened for viewing | Viewing shows in the upper-right corner | Close it elsewhere or request edit access |
| Shared workbook | Shared shows next to the file name | Review > Share Workbook, then clear the sharing box |
Leave Protected View
Protected View is a read-only mode that Office uses for files from potentially unsafe sources, and most editing functions are disabled in it.
Microsoft lists downloaded files, some Outlook attachments and files in unsafe folders such as Temporary Internet Files as common triggers.
- Look for the message bar at the top of the window.
- If the bar is yellow, select Enable Editing.
- If the bar is red, select File > Edit Anyway, but only if you trust the source.
If you cannot leave Protected View, your administrator may have rules that block it.
Settings for it are under File > Options > Trust Center > Trust Center Settings > Protected View, and Microsoft advises checking with your administrator before changing them.
Unprotect the worksheet
A protected sheet blocks filtering by design.
Microsoft states that users cannot apply or remove an AutoFilter on a protected sheet, regardless of the protection settings.
- Go to the worksheet that will not filter.
- Select Review > Unprotect Sheet, or use File > Info > Protect > Unprotect Sheet.
- If the sheet has a password, enter it in the Unprotect Sheet dialog box and select OK.
When a sheet is protected, the Protect Sheet button on the Review tab reads Unprotect Sheet, which is the quickest check.
If you forgot the password, Microsoft says it cannot retrieve it, so ask the person who protected the sheet.
Protect the sheet but still allow filtering
If you own the file and want to keep protection, apply the filter first.
- Unprotect the sheet.
- Select any cell in the data and choose Data > Filter.
- Select Review > Protect Sheet.
- In the Allow all users of this worksheet to list, check Use AutoFilter.
That option lets people use the drop-down arrows to change filters on ranges where AutoFilters are already applied.
It does not let them add or remove the filter itself.
| Protect Sheet option | What it allows |
|---|---|
| Use AutoFilter | Change filters that are already applied |
| Sort | Run sort commands, but not on ranges containing locked cells |
Check whether the file is locked or view-only
A file held open elsewhere can also stop edits.
Microsoft says the lock can belong to another user, or to you on another device or from a session that did not close properly.
- Close the file on all your devices.
- If the error persists, wait a few minutes for the server to release the lock.
- If someone else has it open, wait until they close it or ask them to give you edit permissions.
- To request access yourself, select Viewing in the upper-right corner, then Request more access.
Choose Ask to edit and the owner gets an email to grant or decline.
Turn off the old Shared Workbook feature
After you enable the legacy sharing feature, Excel shows Shared at the top of the window next to the file name.
Microsoft’s page lists unsupported features and actions in shared workbooks, including sorting or filtering by format, and notes that its list is partial.
- Make sure you are the only user listed under Who has this workbook open now.
- Select Review > Share Workbook.
- On the Editing tab, clear Allow changes by more than one user.
- Select Yes when prompted about effects on other users.
If the check box is unavailable, first select Review > Changes > Unprotect Shared Workbook.
In newer Excel versions the Share Workbook button is hidden, and Microsoft recommends co-authoring instead.
Do not confuse sheet and workbook protection
Review > Protect Workbook is a different lock from Protect Sheet.
Microsoft says structure protection stops people adding, moving, deleting, hiding or renaming worksheets, and the sheet-tab options Insert, Delete, Rename, Move, Copy, Hide and Unhide become unavailable.
To turn it off, select Review > Protect Workbook, enter the password and select OK.
The Protect Workbook icon is highlighted on the Review tab when it is on, and you can also check File > Info.
Turn the filter on correctly
Once the sheet is editable, the filter should work again.
- Select any cell within the range.
- Select Data > Filter.
- Select the column header arrow.
For data in a table, the filter controls are added to the headers automatically.
See how to sort and filter data in Excel for the filter options themselves.
Clear or remove filters
These Data tab actions come from Microsoft’s page on removing a filter.
| Goal | How |
|---|---|
| Clear one column | Click the Filter button, then Clear Filter from the column name |
| Clear all filters on the sheet | Data > Clear |
| Turn filtering off | Data > Filter, or press Alt+D+F+F |
Microsoft notes that you cannot remove filters from individual columns, so hide a column if you want to keep someone from filtering it.
What the filter icons mean
| Icon | Meaning |
|---|---|
| Drop-down arrow | A filter is available but not used on that column |
| Filter icon | A filter is currently filtering or sorting that column |
A filter that is still on can make rows look missing, so check the headers if numbers do not add up.
Related Excel fixes
If Excel will not edit at all, see AutoSave greyed out in Word and Excel.
For formulas that return errors after filtering, read how to fix #N/A, #VALUE! and #REF! errors.
Official sources
The steps come from Microsoft’s Protect a worksheet, What is Protected View, Excel file is locked for editing, About the shared workbook feature and Filter data in a range or table pages.
More Word, Excel and PowerPoint guides
- How To Sort And Filter Data In Excel (2026)
- How To Fix AutoSave Greyed Out Or Missing In Word And Excel (2026)
- How To Combine Data From Multiple Sheets In Excel (2026)
- How To Keep Leading Zeros In Excel (2026)
- How To Round Numbers In Excel With ROUND (2026)
- How To Use AutoSum And The SUM Function In Excel (2026)