The Clear button under Sort & Filter is greyed out because the active cell or range isn't inside a table or a contiguous block of data that Excel recognizes. Click any cell directly inside your data range — not on a blank row, not on a merged header, not in an outside column — and the Clear option usually becomes active again. If it stays grey, the range is either not contiguous, the worksheet is protected, or you're working with an Excel Table where the filter button behaves differently. This guide walks through each cause in the order you should check it, so you fix the real problem rather than clicking around randomly.

A quick clarification on naming: Excel offers several things that look similar. Clear removes the active filter from the current range but leaves the filter arrows in place. Reapply re-runs the filter after data changes. Remove Filter (in the ribbon) deletes the filter arrows entirely. Confusing these is one of the most common reasons people think the feature is broken. Menu labels can differ slightly by Excel version, platform and region, but the behaviour described here is consistent across current desktop builds.

What You'll Need

  • Excel for Windows or Mac (desktop), or Excel on the web. The mobile apps have a much reduced Sort & Filter menu and are covered briefly in the FAQ.
  • A worksheet with data in a single contiguous block, with no fully blank rows, blank columns or stray values off to the side.
  • The ability to unprotect the sheet if it is password-protected, or the cooperation of whoever owns the password.
  • Optionally, the Home tab visible, since Sort & Filter lives there on the ribbon.

Step-by-Step

  1. Click a single cell inside the data. Not a whole column, not a blank cell below the data, and not a merged title row. Excel enables Clear based on what the active cell touches. Try clicking a cell in the middle of the block and check the button again.
  2. Remove blank rows and columns inside the range. If row 12 of a 500-row dataset is entirely blank, Excel may treat rows 1–11 and 13–500 as two separate ranges. Delete the blank row (right-click the row header > Delete) so the data is continuous, then retry.
  3. Look for merged cells. Merged cells in the header or body break the range detection. Select the range, open the Home tab, find Merge & Center, and choose Unmerge Cells. Fill the unmerged headers with repeated labels if needed.
  4. Check whether the sheet is protected. Go to the Review tab and look at the Protect Sheet button. If it reads Unprotect Sheet, the sheet is locked and most filter commands are disabled. Click Unprotect Sheet; you'll be asked for the password if one was set. Be aware that unprotecting makes the sheet editable by anyone with access, so re-protect it afterwards.
  5. Check workbook protection and structure. On the same Review tab, look for Protect Workbook. If it is active, structure changes and some range operations are blocked. Unprotect it, retry, then re-protect.
  6. Reapply the filter to refresh state. Sometimes the filter is technically cleared but the dropdown arrows and hidden rows persist because the stored filter criteria are stale. Select the range, open Data > Sort & Filter (or Home > Sort & Filter), and choose Reapply. This forces Excel to recalculate which rows match.
  7. Remove the filter and add it again. On the Data tab, click Filter to toggle the arrows off, then click Filter again to turn them back on. This resets the filter object and is often faster than chasing the greyed-out Clear button.
  8. Convert the range to a proper Excel Table (or out of one). If your data is a plain range, select it and press Ctrl+T (Cmd+T on Mac), confirm the header checkbox, and use the Table Design tab. Tables track their own range and Clear works reliably inside them. Conversely, if an Excel Table's filter button is greyed out, the table may have filtering turned off: go to Table Design and tick the Filter Button checkbox.
  9. Unhide rows first if the data appears missing. Hidden rows from a previous filter can make a range look truncated. Select the row headers around your data, right-click, and choose Unhide. Then retry the Clear step.
  10. Separate data from unrelated content. If a note or total sits one column to the right with a blank column between, Excel sees two ranges. Move unrelated content well away from the data block, leaving at least one fully empty column and row as a buffer.
  11. Test in a copy of the workbook. Before changing structure on an important file, save a copy (File > Save As) and experiment there. This lets you confirm the fix without risking your original layout.

Common Mistakes

  • Selecting the whole column header. Clicking column A's header selects an entire column including blank cells below the data, which changes how Excel interprets the range. Select a cell inside the data instead.
  • Confusing Clear with Remove Filter. Clear removes criteria but keeps the arrows. If you actually want the arrows gone, use Data > Filter to toggle them off.
  • Assuming greyed-out means broken. It almost always means the selection isn't a filterable range. The button state is a hint about context, not an error.
  • Leaving the sheet protected after fixing. People unprotect, fix, and forget to re-protect. Always restore protection if the file is shared.
  • Deleting rows to "clean up" without a backup. Deleting the wrong rows removes real data permanently. Save a copy first.
  • Filtering a range that includes totals. A grand-total row inside the data block gets sorted and filtered like a normal record, scrambling your figures. Keep totals outside the filtered range.

Tips

  • Use Ctrl+T (Cmd+T on Mac) to convert ranges to Tables. Tables auto-expand, keep headers visible while scrolling, and make filter state far more predictable.
  • Press Ctrl+Shift+L (Cmd+Shift+L on Mac) to toggle filter arrows on and off quickly — a fast way to reset a stubborn filter.
  • Keep one blank row and one blank column between your data and anything else on the sheet. This simple habit prevents most range-detection problems.
  • Name your data range (Formulas > Define Name) so you can select it reliably even on very large sheets where scrolling is slow.
  • If you regularly share the workbook, note in the file which sheets are protected and why, so colleagues don't waste time puzzling over greyed controls.
  • Use Clear (not Remove Filter) when you want to keep the arrows for the next person. It preserves the setup while showing all rows.

Troubleshooting

If Clear remains greyed out after all of the above, work through these in order, simplest first:

  • Restart Excel entirely and reopen the file. A stuck ribbon state is rare but real, and a restart costs nothing.
  • Check for updates through your Microsoft account or the app's update option. Older builds can have odd ribbon behaviour with protected or shared files.
  • Open the file in Excel on the web to see whether the button works there. If it does, the problem is local to your desktop installation or its protection state.
  • Open a brand-new blank workbook and type a few rows with a filter applied. If Clear works there, the issue is specific to your file's structure, not Excel itself.
  • Look for co-authoring conflicts. If someone else has the file open in a shared session, some commands are locked until they save and close.
  • Reinstall only as a last resort. Before that, try signing out of your Microsoft account in Excel and signing back in, which refreshes licensing and can restore disabled commands.

One caution: if you resort to clearing app data or resetting the app on a mobile device, you may lose unsaved local files and preferences. Back up anything important first.

Frequently Asked Questions

Why is Clear greyed out but Remove Filter is available?

They are separate commands with different conditions. Remove Filter works whenever a filter object exists; Clear needs an active filter on the current range. If no criteria are applied, there is nothing to clear, so the button greys out while the arrows remain.

Does unprotecting a sheet remove the password?

No. Unprotecting for the session requires the password, and the sheet stays unprotected until you re-protect it. Re-protect it with a password if the file is shared.

Can I clear a filter on the Excel mobile app?

The mobile apps have a reduced Sort & Filter menu, and the exact options vary by platform. In general, selecting the table and using the filter menu lets you clear criteria, but for full control use Excel on the web or the desktop app.

Why did my data disappear after sorting?

It is almost certainly hidden rows, not deleted data. Select the rows around the data, right-click the row headers and choose Unhide. Then use Clear or Remove Filter to show all records.

Can a filter be greyed out because of my selection?

Yes. If you have multiple non-adjacent ranges selected, or a chart or shape selected, Excel disables range commands. Click a single cell in the data to restore them.

Should I use a Table or a plain range?

Tables are generally more reliable for filtering, sorting and adding rows, because Excel tracks the range automatically. Use a plain range only when you need a fixed layout for a specific report or print area.