Excel Filter Feature: How to Filter Data Step by Step
In this article
The filter feature in Excel narrows a list or table down to only the rows that match what you choose, without deleting or moving anything. You turn it on by selecting your data and pressing Ctrl+Shift+L on Windows (Cmd+Shift+F on Mac), or by going to Data > Filter. Dropdown arrows appear in each column header, and picking a value hides every non-matching row. Everything stays in the file, so clearing the filter brings the full list back unchanged.
The key point is that filters hide rows; they do not remove them. That distinction matters when you count rows, copy a range, or start sorting. Before you begin, make sure your data is laid out as one clean block with a single header row, no merged cells, and no blank rows or columns cutting through the middle. Filters need a proper header row to attach the dropdown arrows to, and a blank row makes Excel treat your list as two lists. This plan covers Excel for Windows, Mac, and the web. Menu labels can differ slightly by version, device, and region, but the layout below is standard across current versions.
What You'll Need
- A spreadsheet with your data arranged in a single block: one header row on top, one row per record, no merged cells.
- Excel for Windows, Excel for Mac, Excel for the web, or Excel for iPad/iPhone with the data open (the desktop apps give you the full filter options).
- Enough free space below and beside the block for Excel to know where the range ends: at least one entirely empty row and column around it.
- A clear idea of what you want to see. Filtering is easiest when you already know the column to start with, such as Status, Date, or Region.
Step-by-Step
- Click any cell inside your data. There is no need to select the whole range first; Excel sizes the block for you, and a filter is applied only to the cells directly around that point.
- Turn the filter on. Press Ctrl+Shift+L on Windows or Cmd+Shift+F on Mac, or choose Data > Filter on the ribbon. Small dropdown arrows appear at the bottom right of each header cell.
- Press the arrow on the column you want to narrow. A menu opens with sorting commands, a list of every value in that column with checkboxes, and options like Text Filters, Number Filters, or Date Filters depending on what kind of data the column holds. On Windows, the list of values is usually at the bottom of this menu.
- Tick the values you want to keep. The Select All box at the top makes this faster: clear it, then tick only the specific items. Choose OK. Rows that do not match disappear from view and the row numbers down the left side show gaps, which is how you know rows are hidden rather than deleted.
- Add more conditions one column at a time. Filters combine with AND logic across columns. If you filter Status to Open and then Region to North, Excel shows only rows that are both Open and North. Clicking a second arrow does not replace the first filter, so a filter you forget about can make your data look emptier than you expect.
- Use the search box inside the filter menu when the list of values is long. Type part of a word and Excel ticks only the matching items; click the checkbox next to the search results to include them all at once. This is far quicker than scrolling through hundreds of entries.
- Go beyond simple value picks with the filter commands. Text Filters offers Contains, Does Not Contain, Begins With, Ends With, and Equals. Number Filters offers Greater Than, Less Than, Between, Top 10, and Above Average. Date Filters offers Before, After, Between, and quick options such as This Month or Last Week.
- For a custom condition, open the relevant filter command and choose Custom Filter. You get two dropdown rows you can combine with AND or OR, for example Amount greater than 500 AND Amount less than 2000. This is the only place in the ordinary filter menu where OR logic between two conditions on the same column is available.
- Check what you are seeing before acting on it. The filter arrow on an active column turns into a small funnel icon, so you can spot which columns are filtered at a glance. The status bar at the bottom left also shows the visible count, which helps confirm you filtered to the number you expected.
- Clear a single column by opening its arrow and choosing Clear Filter From "ColumnName" (the menu shows the actual header name). Clear everything at once with Data > Clear, or by pressing Ctrl+Shift+L twice: once to remove filter mode entirely, which restores all hidden rows and removes the arrows.
- Filter by color when you are working with formatting. If you have filled cells with a color or applied cell colors or font colors, the filter menu offers Filter by Color. This is useful for tracking marked-up rows such as flagged records or reviewed items.
- Reapply a filter after you edit data. If you change a cell so it no longer matches the filter, the row can stay visible until you refresh. Choose Data > Reapply (or press Ctrl+Alt+L) to recalculate and hide anything that no longer qualifies.
Common Mistakes
Assuming hidden rows are deleted. Filtering only hides. If you copy a filtered range and paste it elsewhere, Excel copies the visible cells only in most cases, which is often what you want, but if you want everything, clear the filter first. To move only visible rows deliberately, select them and use Alt+; on Windows (Go To Special > Visible Cells Only) so hidden rows are skipped.
Leaving blank rows or merged cells in the data. A blank row splits the range and the filter stops at it, so part of your data never appears in the dropdown. Merged cells in a header row also block the arrows. Unmerge, fill headers, and delete blank rows.
Forgetting an active filter on another column. When numbers do not add up, open every header arrow and look for the funnel icon. A forgotten filter on a date column is the usual culprit.
Sorting while filtered. Sorting a filtered list sorts only the visible rows into the visible positions and leaves hidden rows where they are, which scrambles your data. Clear the filter, sort, then filter again.
Filtering a range that includes totals. If the total row sits inside the filtered block, it gets hidden or filtered out. Keep totals below the data with a blank row between.
Tips
- Convert the range to a table with Ctrl+T first. Tables expand automatically as you add rows and keep the filter arrows in place at all times.
- Use Slicers for pivot tables and tables when you filter the same way repeatedly; they show the current selection as clickable buttons.
- Copy the filtered result to a new sheet if you need a snapshot; filtering alone always leaves the original data intact.
- When filtering dates, watch for cells stored as text. They appear in the dropdown as text values and will not respond to Date Filters. Convert them with Data > Text to Columns if needed.
- Use the drop-down search box to filter to blanks by searching for the blank entry at the bottom of the value list, which is handy for finding missing data.
Troubleshooting
The filter arrows will not appear. Click a cell inside the block and try Data > Filter again. If the data contains merged cells across the header, unmerge them. If you are in a protected sheet, unprotect it via Review > Unprotect Sheet, which may require a password.
The list of values is missing entries. Check for blank rows splitting the range, and confirm you clicked inside the block rather than on a title or totals row. Reapply the filter after editing.
Numbers or dates look wrong in the dropdown. The column probably mixes text and numbers. Select the column, then use Data > Text to Columns and finish without changing anything, or format the column as Number or Date.
Rows reappear when you sort or paste. You may have sorted while filtered, or pasted into hidden rows. Clear the filter, sort the full list, then filter again.
Filter mode will not switch off. Press Ctrl+Shift+L once or twice, or choose Data > Filter. If the sheet is shared or protected, those options may be disabled; unprotect the sheet first.
Frequently Asked Questions
Does filtering delete data?
No. It hides rows from view. Clearing the filter brings every row back exactly as it was.
How do I filter for more than one value in the same column?
Tick several checkboxes in the column's filter menu, or use Custom Filter with the OR option for two conditions. Multiple ticked values are treated as OR within that column.
What is the difference between filtering and sorting?
Filtering hides rows that do not match. Sorting reorders all rows. Sorting inside an active filter can scramble hidden data, so clear the filter first.
Can I filter by more than one column at once?
Yes. Each additional column filter narrows the result further, combined with AND logic.
Why did rows disappear that I did not filter out?
Another column likely has an active filter, or a condition is still applied. Open each header arrow and look for the funnel icon, then clear it.