How to Add a Dropdown Filter in Excel: Step-by-Step
In this article
To add a dropdown filter in Excel, select your data range, go to the Data tab, and click Filter (or press Ctrl+Shift+L). This adds a dropdown arrow to each column header, letting you filter rows by text, number, date, or color. For a single cell with a fixed list of choices, use Data Validation instead (Data > Data Validation > List). The steps below cover both methods, plus common pitfalls and fixes.
What You'll Need
- Excel 2010 or later (desktop) — the ribbon layout is similar across versions, but labels can differ slightly by version, device, or region.
- A worksheet with data arranged in columns, ideally with a single header row and no blank rows or columns inside the range.
- For Data Validation lists: the list values typed directly (comma-separated) or stored in a separate range on the same sheet.
Step-by-Step
Method 1: Add Filter Dropdowns to Column Headers (AutoFilter)
- Click any cell inside your data range. Excel will automatically detect the surrounding block, but you can also select the entire range manually (including headers).
- Go to the Data tab on the ribbon.
- In the Sort & Filter group, click Filter. (Keyboard shortcut: Ctrl+Shift+L on Windows; Cmd+Shift+L on Mac.)
- Dropdown arrows appear in each header cell. Click an arrow to open the filter menu.
- Use the search box or checkboxes to select the values you want to show. For numbers or dates, use Number Filters or Date Filters for conditions like greater than, between, or before.
- Click OK to apply. Rows that don't match are hidden (not deleted).
- To remove a filter, click the arrow again and choose Clear Filter from [column name]. To remove all dropdowns, click Filter again on the Data tab.
Method 2: Create a Dropdown List in a Single Cell (Data Validation)
- Select the cell or cells where you want the dropdown.
- Go to Data > Data Validation (in some versions, it's under Data > Data Tools > Data Validation).
- In the Settings tab, under Allow, choose List.
- In the Source box, do one of the following:
- Type your list items separated by commas (e.g.,
Red,Green,Blue). - Or click the range selector and select a range containing your list (e.g.,
$F$1:$F$5). If you use a range, make sure it's on the same sheet or use a defined name.
- Type your list items separated by commas (e.g.,
- Check In-cell dropdown to ensure the arrow appears.
- Optionally, go to the Error Alert tab to customize the message shown when someone types a value not in the list.
- Click OK. The cell now shows a dropdown arrow when selected.
Note: Data Validation dropdowns are for data entry, not for filtering existing rows. If you need to filter a table, use Method 1.
Common Mistakes
- Blank rows or columns inside the data range: AutoFilter may stop at the blank row, leaving some data unfiltered. Remove blank rows or select the full range manually before enabling Filter.
- Merged cells in headers: Filter dropdowns don't work well with merged header cells. Unmerge them first.
- Using Data Validation when you meant to filter: Data Validation creates a pick-list for typing, not a way to hide rows. Use AutoFilter for filtering.
- List source range on a different sheet: In older Excel versions, Data Validation lists cannot directly reference another sheet unless you use a defined name. Either keep the list on the same sheet or create a named range.
- Forgetting to include headers: If you select only data rows and enable Filter, Excel may treat the first row as headers, hiding your actual headers. Always include the header row in the selection.
Tips
- Convert your range to an Excel Table (Ctrl+T) before adding filters. Tables automatically expand filters when you add new rows.
- Use Sort A to Z or Sort Z to A from the filter dropdown to reorder visible rows quickly.
- For a quick filter without dropdowns, right-click a cell and use Filter > Filter by Selected Cell's Value.
- To copy only visible rows after filtering, select the range, press Alt+; (Windows) to select visible cells only, then copy.
- If you need a dropdown that updates automatically when the source list changes, use a Table as the source range for Data Validation. Excel will expand the list as you add items.
Troubleshooting
- Filter dropdowns don't appear: Check that you're on the Data tab and that the sheet isn't protected. If the workbook is shared, filtering may be limited; unshare or use a copy.
- Filter hides all rows: You may have conflicting filters across columns. Clear all filters (Data > Clear) and reapply one at a time.
- Data Validation dropdown missing: Ensure In-cell dropdown is checked. Also verify the cell isn't locked in a protected sheet (protection prevents dropdowns).
- List source error: If you see "The Source currently evaluates to an error," check that the range reference is correct and contains no blank cells at the start. For comma-separated lists, ensure no spaces after commas unless intended.
- Filter arrows disappeared after saving: The file may have been saved in a format that doesn't support filters (e.g., .csv). Save as .xlsx.
- Dropdown list doesn't update: If you used a fixed range, new items added outside that range won't appear. Either extend the range or use a Table as the source.
Frequently Asked Questions
Can I add a dropdown filter to multiple columns at once?
Yes. When you enable Filter on a range, Excel adds dropdowns to every column header in that range. You can then filter each column independently.
How do I remove a dropdown filter?
To remove a single filter, click the dropdown arrow and choose Clear Filter. To remove all filter dropdowns, go to Data > Filter (toggle it off). For Data Validation dropdowns, select the cell, open Data Validation, and click Clear All.
Why does my dropdown show numbers instead of text?
This usually happens when the column contains mixed data types or when the filter is set to a number format. Check the cell formatting and ensure the column is consistent. You can also use Text Filters to filter by text criteria.
Can I use a dropdown filter on a protected sheet?
Filtering is disabled on protected sheets by default. To allow it, unprotect the sheet (Review > Unprotect Sheet), enable Filter, then re-protect the sheet and check the box to allow filtering.
How do I create a dropdown that filters a table based on the selected value?
Excel's built-in filter dropdowns don't work that way. For a dynamic filter, you can use a slicer (available for Tables and PivotTables) or write a formula with FILTER (Excel 365) to display matching rows. Slicers are the simplest no-code option: select your Table, then Insert > Slicer.
What's the difference between AutoFilter and Data Validation?
AutoFilter adds dropdowns to column headers to hide rows that don't match your criteria. Data Validation adds a dropdown to a single cell to restrict what can be entered. They serve different purposes and can be used together.