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

CauseHow to tellFix
Protected ViewA yellow or red bar at the top of the windowSelect Enable Editing, or File > Edit Anyway on the red bar
Protected sheetReview tab shows Unprotect SheetReview > Unprotect Sheet
File locked or opened for viewingViewing shows in the upper-right cornerClose it elsewhere or request edit access
Shared workbookShared shows next to the file nameReview > 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.

  1. Look for the message bar at the top of the window.
  2. If the bar is yellow, select Enable Editing.
  3. 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.

  1. Go to the worksheet that will not filter.
  2. Select Review > Unprotect Sheet, or use File > Info > Protect > Unprotect Sheet.
  3. 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.

  1. Unprotect the sheet.
  2. Select any cell in the data and choose Data > Filter.
  3. Select Review > Protect Sheet.
  4. 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 optionWhat it allows
Use AutoFilterChange filters that are already applied
SortRun 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.

  1. Close the file on all your devices.
  2. If the error persists, wait a few minutes for the server to release the lock.
  3. If someone else has it open, wait until they close it or ask them to give you edit permissions.
  4. 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.

  1. Make sure you are the only user listed under Who has this workbook open now.
  2. Select Review > Share Workbook.
  3. On the Editing tab, clear Allow changes by more than one user.
  4. 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.

  1. Select any cell within the range.
  2. Select Data > Filter.
  3. 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.

GoalHow
Clear one columnClick the Filter button, then Clear Filter from the column name
Clear all filters on the sheetData > Clear
Turn filtering offData > 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

IconMeaning
Drop-down arrowA filter is available but not used on that column
Filter iconA 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.

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.

Leave a Reply

Your email address will not be published. Required fields are marked *