Select any cell inside your data, go to the Data tab on the ribbon, and click Filter. Excel adds a drop-down arrow to the header of every column in that row, so you can sort and narrow the list by the values in each column. That is the whole job in three clicks: one cell, one tab, one button. The rest of this guide covers how to do it cleanly on a properly formed table, how to filter a single row of values rather than a column of records, and how to fix the cases where the arrows appear in the wrong place or refuse to show up at all.
The one thing to get right before you start is the layout. AutoFilter works on a rectangular list where row 1 of the selection is a set of unique column headings and the rows underneath are records. If your sheet has a merged title row above the data, or a blank row in the middle, or two columns with the same heading, Excel may treat the wrong row as the header or cut the filter range short. Clear those out first and the filter will behave.
What You'll Need
- Microsoft Excel for Windows, Mac, the web, or the mobile app. The ribbon layout and wording differ slightly between versions, platforms and regions, so a button may sit in a marginally different place than described here.
- A list of data with a single header row at the top, no merged cells, and no completely blank rows or columns splitting it into pieces.
- Enough free space below the data, because filtered rows are hidden rather than removed, and sorting rearranges them permanently.
Step-by-Step
- Save a copy first if the data matters. Filtering is reversible, but sorting inside a filter is not, and it is easy to sort the wrong column by mistake. A duplicate of the sheet costs nothing and gives you a way back.
- Click a single cell anywhere inside the data block. Do not select the whole range or a whole column. Excel uses the position of that one cell to detect the surrounding block and to work out where the headers are.
- Open the Data tab on the ribbon. On desktop (Windows and Mac) the Filter button lives in the Sort & Filter group. On Excel for the web it is in the same Data tab. On the mobile apps, tap the cell, open the table or editing menu, and look for the sort and filter options, which sit in a different place than on desktop.
- Click Filter. A small drop-down arrow appears in the bottom-right corner of every header cell in the detected block. The shortcut is Ctrl+Shift+L on Windows; on Mac it is usually Cmd+Shift+L or Ctrl+Shift+L depending on your keyboard layout and Excel version.
- Check where the arrows landed. If they appear in the correct header row, you are done. If they appear one row too high, on a title row, Excel guessed the header from formatting. Click Filter again to switch it off, delete or separate the title row, and repeat.
- Click the arrow on the column you want to narrow. A menu opens with sort options at the top (Sort A to Z, Sort Z to A, or sort by colour) and a checklist of every distinct value in that column below.
- Untick the values you do not want, or use the search box at the top of the value list to type a term. The search box matches text fragments, so typing a partial word returns every value containing it.
- Click OK. Excel hides the rows that do not match. The row numbers on the left turn blue and skip the hidden ones, and the header arrow changes to a small funnel icon to show that column is filtered.
- Add more filters to other columns for an AND effect. Filters on different columns combine: showing "North" in the Region column and "Open" in the Status column leaves only rows that satisfy both. Note that ticking several values inside one column is an OR, not an AND.
- Clear filters when you are finished. Use Data > Clear (next to Filter), or open a column's arrow and choose Clear Filter From that column. To remove the arrows entirely, click the Filter button again. Hidden rows are not deleted, so nothing is lost when you clear.
Filtering a Single Row Instead of Columns
A common source of confusion is a spreadsheet that is wide rather than tall, where the labels run across row 1 and the values sit in row 2. AutoFilter always filters records downwards, so it cannot usefully hide columns based on a row of values in the way people expect. There are two honest options.
The first is to transpose the data so the labels become column headings and the values become a column of records, then filter normally. Copy the block, paste it somewhere with Paste Special > Transpose, and filter the result. The second is to use a table instead: select the block, press Ctrl+T (Cmd+T on Mac), confirm the headers, and the table gets filter buttons automatically. Tables handle renamed headings and growing data ranges far better than a plain range, and a table's filter arrows survive adding new rows underneath.
Common Mistakes
- Leaving a blank row inside the data. Excel stops detecting at the gap, so the filter covers only the part above it. Delete blank rows or fill them before filtering.
- Merged header cells. Merged cells in the header row are the single most common reason filter arrows appear in the wrong place or not at all. Unmerge them first.
- Selecting the entire sheet. Pressing Ctrl+A and then Filter can make Excel treat row 1 as data rather than headings, producing arrows with no labels. Select one cell inside the data instead.
- Sorting to "see" the data. Sorting while a filter is active reorders only the visible rows in some situations and the full list in others, depending on how you invoke it. Clear the filter before sorting if the original order matters.
- Expecting several values in one column to combine as AND. They combine as OR. To match two conditions in the same column, use a helper column with a formula, or Number Filters and Text Filters for ranges and partial matches.
- Assuming hidden rows are gone. They are not. Copying a filtered range normally copies only visible cells, but if you paste elsewhere without care you can drag hidden rows along. Use visible-cells-only copying when that matters, or paste into a fresh location and check the row count.
Tips
- Header names should be unique. Two columns both called "Date" make the filter menus ambiguous and can confuse formulas that reference headers.
- Text Filters and Number Filters at the bottom of a column's arrow menu give you Contains, Begins With, Between and the top-N options, which handle most of what people try to build by hand.
- Freeze the header row with View > Freeze Panes before scrolling a long filtered list, so you can always see which arrows are active.
- Header arrows show a funnel icon when a filter is applied to that column. Scanning the header row tells you at a glance why some rows are missing.
- For repeating monthly data, convert the range to a table once and the filters, formatting and formulas extend automatically as rows are added.
- If you need the filtered subset as a separate file, copy the visible rows only and paste into a new sheet, rather than deleting rows in the original.
Troubleshooting
The arrows do not appear at all
Click a cell inside the data and look at the Name Box on the left of the formula bar: it should show a range like A1:F200, not a single cell and not the whole sheet. If the data contains merged cells in the header, unmerge them. If the data lives inside a protected worksheet, filtering may be disabled; you need the sheet unprotected, which requires the password if one was set.
The arrows appear on the wrong row
Excel has treated a title row as the header because it was formatted differently. Turn the filter off, delete the title text or move it to a separate row, and turn the filter back on. Setting the header row to bold text and the data rows to plain text also helps Excel guess correctly.
Only some of the data is filtered
The detected range is too short, almost always because of a blank row, a blank column, or a stray value far away that confused the block detection. Delete the gaps, or convert the range to a table and the range will stay correct.
Rows stay hidden after clearing
Turning Filter off restores everything, but if rows remain hidden, they were probably hidden manually with Format > Hide Rows rather than by the filter. Select the surrounding rows, right-click the row headers and choose Unhide. If the whole sheet looks blank, check for a hidden top row the same way.
Filters are lost when the file is reopened
Filter settings are saved, but if you are working in a shared workbook or a file synced through a service that rewrites it, the state can reset. Convert to a table and reapply, or reapply the filter after opening. Nothing in your data is affected.
Frequently Asked Questions
Can I filter more than one column at once?
Yes. Each column has its own arrow, and filters on different columns combine so that only rows matching every active filter are shown. Multiple values within the same column combine as OR.
Does filtering delete rows?
No. Filtered rows are hidden, not removed. Clearing the filter brings them back in their original positions. Sorting inside a filtered view is the only action that permanently changes row order, which is why a backup copy is worth having.
What is the keyboard shortcut for Filter?
Ctrl+Shift+L on Windows. On Mac, it is typically Cmd+Shift+L or Ctrl+Shift+L depending on your Excel version and keyboard settings. The same keystroke turns the filter arrows on and off.
Can I save a filter so it applies every time I open the file?
Excel saves the active filter state with the workbook, so reopening it usually keeps your selection. It does not restore filters that were cleared before saving. If the data is a query or table refreshed from an external source, the filter may need reapplying after each refresh.
Why does the filter list miss some values?
The filter menu shows distinct values up to a limit and long lists are scrolled. If a value truly is missing, it is probably outside the detected range — check for a gap or a row that was added after the filter was switched on. Typing in the search box will still find values within the detected range.
Can I filter by cell colour or icon?
Yes, if the cells are formatted with fills or conditional icons. The column arrow menu includes a Filter by Color option, and the sort menu offers sort by colour too. Plain text values without conditional formatting cannot be filtered by colour.