When Excel won't let you clear a filter, it's usually because the sheet is protected, the filter is applied to a table or a range that's been partially hidden, or the workbook is in a shared or compatibility mode. The quickest fix is to press Ctrl + Shift + L to toggle filters off, or go to the Data tab and click Clear. If that doesn't work, you'll need to check for protection, table settings, or hidden rows. This guide walks through every likely cause and the exact steps to resolve it.
What You'll Need
- A computer with Excel (desktop version, Microsoft 365, or a standalone version like Excel 2016/2019). Steps are for the desktop app; web and mobile versions have slightly different menus but the logic is the same.
- Access to the workbook file (you'll need to know if it's shared or protected).
- Basic familiarity with Excel's ribbon tabs (Data, Review, Home).
Step-by-Step: How to Clear a Filter That's Stuck
Method 1: Use the Ribbon's Clear Button (Fastest)
- Click anywhere inside the filtered range or table. You don't need to select all cells; just one cell within the data is enough.
- Go to the Data tab on the ribbon.
- In the Sort & Filter group, click the Clear button (it looks like a funnel with a red X). This removes all filter arrows and shows all rows again.
- If the Clear button is greyed out, skip to Method 3 (protection) or Method 4 (table).
Method 2: Use the Keyboard Shortcut
- Select any cell in the data range.
- Press Ctrl + Shift + L on Windows or Cmd + Shift + F on Mac. This toggles filters on and off. If filters are currently on, it turns them off entirely, which also clears any active filter criteria.
- If the shortcut doesn't work, your keyboard focus might be in a cell that's not part of the filter. Click a cell that's definitely inside the filtered area and try again.
Method 3: Check for Sheet or Workbook Protection
If the Clear button is greyed out or the filter arrows are missing but rows are still hidden, the sheet is likely protected. Protected sheets disable filtering changes unless the protection allows it.
- Go to the Review tab.
- Look for Unprotect Sheet (if it says Protect Sheet, the sheet is not protected). If you see Unprotect Sheet, click it.
- If prompted for a password, you'll need the password to unprotect. If you don't have it, ask the workbook owner. There's no legitimate way to bypass it.
- After unprotecting, try clearing the filter again via the Data tab.
- Also check Review > Protect Workbook – if that's highlighted, the workbook structure is protected, but that usually doesn't block filters. Still, unprotect it if you can.
Method 4: If the Data Is in an Excel Table
When your data is formatted as an Excel Table (Ctrl + T), filters behave differently. Clearing a filter from the Data tab might not work if the table has a slicer or if the filter is applied via a slicer.
- Click anywhere inside the table. The Table Design tab appears on the ribbon.
- Look for a Slicer – if there's a slicer pane visible, click the eraser icon (Clear Filter) on the slicer, or press Alt + C when the slicer is selected.
- If no slicer, go to the Data tab and click Clear again. If that fails, click the filter arrow in the header row, then click Clear Filter From [column name].
- If the header row is not visible (it's hidden), right-click on the table, choose Table > Show Header Row.
Method 5: Unhide All Rows Manually
If the filter is stuck but you can't clear it, you can manually unhide rows. This is a workaround, not a true clear, but it shows all data.
- Click the square at the top-left corner of the sheet (where row numbers and column letters meet) to select all cells.
- Right-click on any row number (like row 1) and choose Unhide.
- If rows are still hidden, right-click on any column letter and choose Unhide as well (sometimes columns are hidden too).
- This doesn't remove the filter arrows, but it reveals all data. To remove arrows, you'll need to fix the underlying issue.
Method 6: Check for Shared Workbook or Compatibility Mode
If the workbook is in Shared mode (old feature) or saved as an .xls file (compatibility mode), filters may not clear properly.
- Look at the title bar – if it says "Shared" after the file name, the workbook is shared.
- Go to Review > Share Workbook (in older Excel versions) or Review > Track Changes (in newer versions). If sharing is on, turn it off: uncheck "Allow changes by more than one user at the same time."
- If the file is .xls, go to File > Save As and choose Excel Workbook (*.xlsx) to convert to modern format. Then try clearing the filter.
Method 7: Use Go To Special to Find Hidden Rows
If you suspect hidden rows are not from a filter but from manual hiding, use this:
- Press Ctrl + G (Go To).
- Click Special.
- Choose Visible cells only and click OK. This selects only visible cells, but it doesn't unhide.
- Instead, press Ctrl + Shift + 9 to unhide all rows in the selection. This is a shortcut that works even when filters are on.
Common Mistakes
- Clicking outside the filtered range: If you click a cell that's not part of the filtered data, the Clear button won't work. Always click inside the range first.
- Confusing filter with hidden rows: Sometimes rows are hidden manually (right-click > Hide) and you think it's a filter. Use the row numbers – if they are blue, it's a filter; if they are white but missing, it's manual hiding.
- Forgetting about slicers: Slicers are visual filters that override the normal filter arrows. If you have a slicer, clearing the column filter won't work until you clear the slicer.
- Ignoring protection: A protected sheet can still show filter arrows, but you can't change them. Always check protection first if buttons are greyed out.
Tips
- Use Ctrl + Shift + L as a toggle – it's faster than the ribbon and works in most situations.
- If you frequently get stuck, consider converting your data range to a proper Excel Table (Ctrl + T). Tables handle filters more predictably.
- Create a macro to clear all filters at once: go to View > Macros, record a macro of you clicking Clear, then assign it to a button. This is a one-time setup.
- If the sheet is protected but you need to allow filtering, ask the owner to enable "Use AutoFilter" in the sheet protection options (Review > Protect Sheet > check "Use AutoFilter").
Troubleshooting: If It Still Won't Clear
Check for Merged Cells
Merged cells can interfere with filters. If your header row has merged cells, Excel might not recognize the filter correctly. Unmerge any merged cells in the header row (select the merged area, go to Home > Merge & Center and click it to unmerge). Then reapply the filter.
Check for Data Validation or Conditional Formatting
These don't usually block filters, but they can cause weird behavior. Try removing conditional formatting rules temporarily (Home > Conditional Formatting > Clear Rules > Clear Rules from Entire Sheet) and see if that helps.
Check for Outdated Excel Version
If you're using an old Excel version, filters might have bugs. Update Excel via File > Account > Update Options > Update Now.
Check for Corrupted Workbook
If nothing works, the workbook might be corrupted. Try opening it in Excel's safe mode (hold Ctrl while opening Excel) and see if the filter clears. If it does, the file is fine but an add-in is causing issues. Disable add-ins via File > Options > Add-ins.
Use the Name Box to Jump to a Hidden Cell
Type a cell reference like A1 in the Name Box (left of the formula bar) and press Enter. This forces Excel to navigate to that cell, which sometimes resets the filter state.
Frequently Asked Questions
Why is the Clear button greyed out in Excel?
The Clear button is greyed out when the active cell is not inside a filtered range, or when the sheet is protected. Click a cell that's definitely within the data range, and if it's still greyed, check Review > Unprotect Sheet.
How do I clear a filter but keep the filter arrows?
Click the filter arrow in the header, then choose "Clear Filter From" [column]. This removes the criteria but keeps the filter dropdowns active. Alternatively, press Alt + Down Arrow, then C.
Can I clear all filters at once in Excel?
Yes. Go to the Data tab and click the Clear button (the one with the red X). This clears all filters in the current range. If you have multiple tables, you'll need to do it for each.
Why can't I see the filter arrows even though rows are hidden?
This happens when the header row is hidden, or when the filter is applied to a range that doesn't include the header. Unhide the header row by selecting the top rows, right-clicking, and choosing Unhide. Also check if the filter range includes the header (Data > Filter should show arrows in the header).
Does clearing a filter delete my data?
No. Clearing a filter only reveals hidden rows. It doesn't delete any data. If you see missing rows after clearing, they might be manually hidden or filtered by a slicer.
What if I don't have the password to unprotect the sheet?
You cannot remove sheet protection without the password. Ask the workbook owner for the password, or request that they unprotect it. There's no legitimate way to bypass protection in Excel.