Excel Drop Down Filter: How to Create and Use Them
In this article
To make a drop down filter in Excel, select your data range, go to the Data tab, and click the Filter button. This adds a drop down arrow to each column header, allowing you to sort or filter your data by specific criteria instantly. This feature is essential for managing large datasets, as it lets you hide irrelevant information and focus only on the rows that meet your specific needs.
What You'll Need
- A computer with Microsoft Excel installed (Windows, macOS, or Web version).
- A dataset organized in a table format with clear headers in the top row.
- Data that is contiguous, meaning there are no completely empty rows or columns within the dataset you want to filter.
Step-by-Step
- Prepare Your Data: Ensure your data is organized with a header row (e.g., "Date," "Customer Name," "Amount"). Make sure there are no blank rows or columns inside the data block, as Excel uses these gaps to determine where the data range ends.
- Select Your Range: Click any single cell inside your data range. Excel will typically automatically detect the boundaries of your data. Alternatively, you can click and drag to highlight the specific columns and rows you wish to include.
- Apply the Filter: Navigate to the Data tab on the top ribbon. In the "Sort & Filter" group, click the Filter button (which looks like a funnel).
Note: Menu labels and icons may vary slightly depending on your version of Excel or region. - Verify the Drop Down Arrows: You will now see small square drop down arrows appearing in the bottom-right corner of each header cell.
- Filter Your Data: Click the drop down arrow in the column you want to filter. A menu will appear showing all unique values in that column.
- Uncheck (Select All) to clear all selections.
- Check the boxes next to the specific values you want to see.
- Click OK.
- Use Text or Number Filters: For more advanced filtering, click the drop down arrow and hover over Text Filters (for words) or Number Filters (for digits). Here, you can choose options like "Contains," "Begins With," "Greater Than," or "Between" to find specific data without scrolling through a long list.
- Clear the Filter: To show all your data again, click the filter icon on the column header (which now looks like a funnel with a small arrow) and select Clear Filter From [Column Name]. To remove the drop down arrows entirely, go back to the Data tab and click the Filter button again.
Common Mistakes
- Including Blank Rows: If you have a completely empty row in the middle of your data, Excel may stop the filter at that row, leaving the data below it unfiltered. Always remove empty rows or manually select the entire range before applying the filter.
- Filtering Hidden Rows: Applying a filter to a range that already has manually hidden rows can lead to confusion, as the filter only manages the visibility based on the criteria you set, not your previous manual hides.
- Merged Cells: Merged cells in the header row or within the data range often prevent filters from working correctly. Unmerge cells to ensure every piece of data is in its own individual cell.
- Forgetting to Clear Filters: A common error is performing calculations (like SUM or AVERAGE) on a filtered list and forgetting that the formula may still be calculating hidden rows, or conversely, forgetting that the filter is active when looking for "missing" data.
Tips
- Convert to a Table: Instead of using the Filter button, press Ctrl + T (Windows) or Cmd + T (Mac) to turn your data into an official Excel Table. Tables automatically include filter drop downs and expand the filter range automatically when you add new rows.
- Filter by Color: If you have used conditional formatting or manually highlighted cells, click the drop down arrow and select Filter by Color to isolate those specific cells.
- Keyboard Shortcut: You can quickly toggle filters on and off by pressing Ctrl + Shift + L (Windows) or Cmd + Shift + F (Mac).
- Search Box: If your column has hundreds of unique values, don't scroll through the list. Use the Search box inside the drop down menu to find your target value instantly.
Troubleshooting
If the drop down filters are not working as expected, try these steps in order:
- Check for Protected Sheets: If the Filter button is greyed out or unclickable, the worksheet might be protected. Go to the Review tab and check if there is an option to Unprotect Sheet.
- Remove Merged Cells: If the filter arrows appear but don't seem to capture all the data, look for merged cells in your headers. Select the headers, right-click, go to Format Cells, and ensure "Merge cells" is unchecked.
- Re-select the Range: If the filter is only applying to a few rows, click the Filter button to turn it off, manually highlight the entire dataset from the top-left cell to the bottom-right cell, and then click the Filter button again.
- Check for Grouped Sheets: If you have multiple tabs selected (grouped), some data tools are disabled. Right-click one of the sheet tabs at the bottom and select Ungroup Sheets.
Frequently Asked Questions
Can I apply filters to more than one column at once?
Yes. You can apply filters to as many columns as you like. Each subsequent filter further narrows down the results, showing only rows that meet all the selected criteria across all filtered columns.
Do filters delete the data that is hidden?
No. Filtering only hides the rows that do not meet your criteria. The data is still there and will reappear as soon as you clear the filter or turn the filter feature off.
How do I filter for a blank cell?
Click the drop down arrow for the desired column, scroll to the bottom of the list of values, and check the box labeled (Blanks). This will hide all rows that contain data in that column, leaving only the empty ones.
Is there a difference between Sorting and Filtering?
Yes. Sorting changes the order of your data (e.g., A to Z or Smallest to Largest) but keeps all rows visible. Filtering hides rows that do not match your criteria, reducing the amount of data displayed on the screen.
Can I save a specific filter view so I don't have to redo it?
In standard Excel, filters are not "saved" as presets. However, if you use Custom Views (found under the View tab), you can save the current filter settings and return to them later. In Excel for the Web or Office 365, "Sheet Views" allow you to create personal filter views that don't affect what other collaborators see.