Excel greys out the Filter button or refuses to apply a filter for one main reason: the worksheet is protected, the workbook is shared, or the data range is not a proper table. Unprotect the sheet, stop sharing the workbook, or convert the range to a table, and filtering works again. The steps below cover every common cause in order, from the quickest fix to the ones that need a settings change.

What You'll Need

  • Excel desktop app (Microsoft 365, Excel 2021, 2019, or 2016) or Excel for the web
  • The workbook that is refusing to filter, saved to a local drive or OneDrive
  • Permission to edit the sheet (if it is protected, you need the password)

Step-by-Step

  1. Check whether the sheet is protected. Go to the Review tab and look at the Protect Sheet button. If it says Unprotect Sheet, the sheet is protected and that is why Filter is greyed out. Click Unprotect Sheet, enter the password if prompted, and try filtering again. Menu labels can differ slightly by Excel version and region, but the Review tab is consistent across desktop versions.
  2. Check whether the workbook is shared. On the Review tab, look at the Share Workbook button. If sharing is on, Excel disables filters, tables, and many other features. Click Share Workbook, untick Allow changes by more than one user at the same time, and click OK. Save the workbook, then reapply the filter. Note that this option is not available in Excel for the web; if you are in the browser, open the file in the desktop app to turn sharing off.
  3. Make sure you selected a single, contiguous range. Click any cell inside your data, then press Ctrl+A (Windows) or Command+A (Mac) once to select the current region. If your data has blank rows or blank columns, Excel treats each block as a separate range and filtering only applies to one block. Fill the blanks or delete the empty rows and columns, then select the data again.
  4. Convert the range to a table. Select any cell in the data and press Ctrl+T (Windows) or Command+T (Mac). Confirm the range in the Create Table dialog and make sure My table has headers is ticked if your first row contains column names. Tables have filter dropdowns built in, so you do not need the Filter button at all. This also fixes the greyed-out Filter button in many cases because Excel treats the table as a single object.
  5. Apply the filter from the Data tab. Select a cell inside the data, go to Data > Filter. If the button is active, dropdown arrows appear in the header row. If it is still greyed out, go back to step 1 and step 2; those are the only two settings that disable it at the sheet level.
  6. Check for merged cells in the header row. Merged cells in the top row prevent Excel from placing filter arrows correctly. Select the header row, go to Home > Merge & Center, and click it to unmerge. Then reapply the filter.
  7. Try Excel for the web if the desktop app still refuses. Open the workbook in Excel for the web and use Data > Filter. The web version has fewer restrictions and will often let you filter a sheet that the desktop app has locked down. If it works there, the problem is a desktop setting, not the file itself.

Common Mistakes

  • Filtering a single column instead of the whole range. If you select only one column and click Filter, Excel filters just that column and the rest of the data does not move with it. Always select a cell inside the full data range first.
  • Leaving blank rows in the data. A blank row breaks the range, so the filter only covers the rows above it. Remove blank rows before filtering.
  • Forgetting that shared workbooks disable filters. Many people turn on Share Workbook for collaboration and then wonder why Filter is greyed out months later. Check the Review tab first.
  • Confusing sheet protection with workbook protection. Protect Workbook (also on the Review tab) restricts structure changes such as adding or deleting sheets, but it does not usually block filters. Protect Sheet is the one that does.
  • Using Filter on a pivot table. Pivot tables have their own filter controls. The Data > Filter button does not apply to them, so use the pivot table field list instead.

Tips

  • Convert your data to a table (Ctrl+T) before filtering. Tables expand automatically when you add rows, so the filter always covers the full dataset.
  • If you need to share a workbook and keep filters, use co-authoring in OneDrive or SharePoint instead of the legacy Share Workbook feature. Co-authoring does not disable filters.
  • To remove a filter, go to Data > Filter again or press Ctrl+Shift+L (Windows) / Command+Shift+L (Mac). This toggles filters on and off for the selected range.
  • If the filter arrows are visible but clicking them does nothing, check whether the sheet is protected. Protection blocks the dropdown from opening even when the arrows are shown.
  • Save a copy of the workbook before unprotecting or unsharing, in case you need to restore the original settings.

Troubleshooting

If Filter is still greyed out after unprotecting the sheet and turning off sharing, try these checks in order:

  1. Close and reopen Excel. A stuck add-in or a temporary glitch can disable ribbon buttons. Restarting clears it.
  2. Open the file in safe mode. On Windows, press Windows+R, type excel /safe, and press Enter. If Filter works in safe mode, an add-in is the cause. Go to File > Options > Add-ins, manage Excel Add-ins, and untick add-ins one at a time to find the culprit.
  3. Check the file format. If the workbook is saved as .xls (Excel 97-2003), some features are limited. Save a copy as .xlsx and try again.
  4. Repair the workbook. Go to File > Open, browse to the file, click the arrow next to Open, and choose Open and Repair. This can fix corruption that blocks filters.
  5. Test a new blank workbook. If Filter works there, the problem is specific to your file. If it does not, the problem is with your Excel installation; run Office repair from Settings > Apps > Microsoft 365 > Modify > Quick Repair.

Warning: unprotecting a sheet or turning off sharing changes the file for everyone who uses it. If the workbook is shared with others, tell them before you change these settings, and save a backup copy first.

Frequently Asked Questions

Why is the Filter button greyed out in Excel?

The two most common causes are sheet protection and the legacy Share Workbook feature. Unprotect the sheet on the Review tab, or turn off sharing, and the button becomes active again.

Can I filter a protected sheet without the password?

No. Sheet protection is password-based, and there is no legitimate way to bypass it. Ask the person who protected the sheet for the password, or use a copy that is not protected.

Does Excel for the web support filters?

Yes. Excel for the web has Data > Filter and supports table filters. It does not have the Share Workbook option, so shared-workbook restrictions do not apply there.

Why do my filter arrows disappear after I save?

This usually happens when the data range changes, for example after inserting rows above the header. Reapply the filter with Data > Filter, or convert the range to a table so the filter stays attached to the data.

Can I filter multiple columns at once?

Yes. Once filters are applied, each column has its own dropdown. Set a filter in one column, then set another in a different column; Excel applies both conditions together.

What is the keyboard shortcut for filters?

Ctrl+Shift+L on Windows and Command+Shift+L on Mac toggles filters on and off for the selected range.