You add filter options in Excel by turning your data range into a table (or applying the Filter command), then clicking the filter arrow on a column header and picking the values you want to see. The filter arrows appear on the header row, and from that arrow you can also open the dialog for text, number or date filters and for sorting. The whole job takes under a minute, provided your data is laid out in a clean, contiguous block with a single header row.
What You'll Need
- A range of data where each column has a single header in row one and there are no merged cells in the header.
- No fully blank rows or columns inside the range, which would break it into separate blocks.
- Consistent data types in each column, such as all dates or all numbers in the same format.
- Excel for Windows, Mac, the web, or the Excel mobile app on iOS or Android (the desktop and web versions have the fullest filter options).
Step-by-Step
- Click any cell inside your data. Do not select only the header row; Excel needs to sense the full block.
- On the Home tab, go to the Editing group and choose Sort & Filter > Filter. Alternatively, press Ctrl+Shift+L on Windows or Cmd+Shift+L on Mac to toggle filters on and off. Menu labels can differ slightly by version, device or region.
- Check that a small drop-down arrow now sits in the corner of each header cell. If it does not, your data is probably not a single contiguous block; see Troubleshooting.
- Click the arrow on the column you want to filter. A menu opens with Sort options and a checklist of every unique value in that column.
- Untick the (Select All) box, then tick only the values you want to keep. The list scrolls, and a search box at the top of the menu lets you type a value to narrow the list quickly.
- Click OK. Rows that do not match are hidden, and the arrow on that column changes to a funnel icon to show a filter is active.
- To filter by condition instead of by value, open the arrow again and choose Text Filters, Number Filters or Date Filters, depending on the column type. Choose an operator such as Equals, Contains, Begins With, Greater Than or Between, then enter the comparison value. Use Custom Filter when you need two conditions joined with And or Or.
- Repeat on as many columns as you need. Multiple filters stack, so each new column narrows the visible rows further rather than replacing the last filter.
- To sort as well, open any column arrow and choose Sort A to Z, Sort Z to A, or Sort by Color. This reorders the whole table while keeping rows intact.
- To remove a single filter, open that column's arrow and choose Clear Filter From "ColumnName". To remove all of them at once, go to Data > Filter (or press Ctrl+Shift+L twice) so the arrows disappear.
Common Mistakes
- Blank rows inside the data. A single empty row tells Excel the data ends there, so filters cover only the top part. Delete blank rows or fill them before filtering.
- Merged header cells. Merged cells break the one-header-per-column rule and can stop the arrows from appearing or produce a filter list with wrong entries. Unmerge them and put one clear label in each header cell.
- Filtering before selecting all data. Clicking outside the block, or selecting only some columns, can lead to hiding rows in one area while leaving neighbouring data untouched and misaligned.
- Duplicate headers or accidental header rows in the middle. These get treated as data values and show up in the filter checklist.
- Inconsistent formats. Dates stored as text will not group correctly by month or year, and numbers with stray spaces will not sort or filter as numbers. Clean the column first with Text to Columns or TRIM.
- Filtering instead of deleting. Hidden rows are still there and still copy, print and count in some functions; do not treat a filter as removing data.
- Forgetting filters are saved with the workbook. Anyone opening the file may see a subset of the data and think rows are missing.
Tips
- Convert the range to a table with Ctrl+T (Cmd+T on Mac). Tables carry filter arrows automatically, expand as you add rows, and let you use structured references in formulas.
- Excel tables also give you a Total Row and slicers on Windows, which act as big clickable filter buttons that look clearer than drop-down lists.
- Use the search box in the filter menu for long lists, and the checkboxes to select several values that share nothing else in common.
- Filter on a helper column for complex cases: add a formula column such as
=ISNUMBER(SEARCH("keyword",A2)), then filter that column to TRUE. - Use Date Filters > All Dates in the Period for month-level views, and Between for a range of dates.
- Freeze the header row with View > Freeze Panes so labels stay visible while you scroll filtered results.
- If you plan to paste results elsewhere, copy only visible cells with Alt+; on Windows or Cmd+Shift+Z equivalents in some Mac versions; check your version's shortcut for Select Visible Cells.
Troubleshooting
- No arrows appear. Make sure you clicked inside a contiguous range with a header row. Check for a blank row or column splitting the block, and check whether the sheet is protected, which can block Filter. If the range is part of a filtered list already, toggle the filter off and on.
- Some rows will not hide. Usually a blank row in the middle of the range or data sitting below the detected block. Remove the gap and re-apply the filter.
- The filter list shows unwanted entries. These are often duplicate spellings, trailing spaces or numbers stored as text. Use Find & Replace to remove spaces or Text to Columns to convert the column to the right type.
- Filtered totals do not match what you can see. Use SUBTOTAL rather than SUM first, since SUM adds hidden rows too. SUBTOTAL with function number 9 or 109 ignores rows hidden by a filter.
- Only part of the sheet is filtered. You may have selected a subset before applying Filter. Clear all filters, click a single cell in the data, and re-apply.
- Arrows are greyed out. The worksheet is likely protected or shared in a mode that limits filtering, or the file is a read-only copy. Unprotect the sheet with the password you have, or save your own copy.
Frequently Asked Questions
What is the keyboard shortcut to add filters in Excel?
Ctrl+Shift+L on Windows and Cmd+Shift+L on Mac. The same shortcut removes filters if they are already on.
Can I filter more than one column at once?
Yes. Each filter narrows the results further, so applying a filter to a second column shows only rows that match both conditions.
Does filtering delete my data?
No. Filtering only hides rows. Clearing the filter brings every row back, and the underlying values are untouched.
How do I copy only the rows I can see?
Select the range and use Select Visible Cells (Alt+; on Windows) before copying. A normal copy also grabs hidden rows.
Why do my dates not group by month?
The column is probably stored as text rather than real dates. Convert it with Text to Columns or DATEVALUE, then the date grouping options appear.
Can I save a filter setup for later?
Filters are saved with the workbook, so the state returns when you reopen it. For repeatable views, convert the range to a table and use slicers, or build a PivotTable with its own filter fields.