Excel filters are your best friend for sorting and narrowing down massive data sets. Adding two filters at once can instantly make your sheets more manageable—no more scrolling through endless rows. It’s simple to do, but mistakes can blur your results. Here’s exactly how to add two filters to an Excel sheet, what to watch for, and how to fix common problems.
What You'll Need
- A Microsoft Excel spreadsheet with at least one column that contains data you want to filter.
- Knowledge of basic filter commands (though the steps below assume you’re starting fresh).
- Optional: Excel on a desktop (Windows/macOS) or Excel for Office 365 (mobile/desktop).
- A clear dataset with two distinct filters you want to apply—one column for the first filter (e.g., "Product Category"), another for the second (e.g., "Sales Year").
Step-by-Step
- Open your Excel file: Launch Excel and load the sheet containing your data. Ensure the entire range you want to filter covers all relevant rows—no partial cuts.
- Select the column for the first filter: Click the header of the first column you want to filter (e.g., "Category"). The headers will turn dark gray, indicating they’re selected for filtering. If you accidentally deselect, hold Ctrl and click the header again.
- Click "Data" in the top menu and "Filter": In Excel desktop, go to the Data tab (not the Home tab). In Excel mobile, tap the filter icon (three small lines) in the top-right corner of the spreadsheet. This adds a dropdown arrow to each selected column header. If mobile doesn’t show filters, tap the table icon (bottom-right) to convert to a proper table, then filter.
- Select the second column for filtering: Click the header of the second column you want to filter (e.g., "Year"). The dropdown arrow now appears beside this column. You cannot apply filters to the same column twice—Excel requires two distinct columns.
- Apply your first filter: Click the dropdown arrow beside the first column’s header and choose a filter (e.g., "B2:B100" for a specific range). In the dropdown box, type the value or range you want to filter by (e.g., "Electronics"). Press Enter to apply. The visible data will now narrow to only those matching your first filter.
- Apply your second filter: Repeat step 5 for the second column. Type the value or range (e.g., "2023") and press Enter. The data will now only show rows matching both filters. To clear either filter, click the dropdown arrow and select "All" from the list.
- Test your setup: Verify that only rows meeting both criteria appear. If data still doesn’t filter as expected, check for hidden characters (e.g., spaces in text) in your filter values. Use Excel’s "Find & Select" (Ctrl+H) to search for hidden characters in the column.
Common Mistakes
- Double-clicking headers: If you accidentally double-click a column header, it may temporarily expand the view, but filtering won’t apply. Solution: Double-click again to revert.
- Filtering the same column twice: Excel won’t allow it, but if you did, the second filter won’t work. Solution: Select a different column for the second filter.
- Ignoring hidden data: If your sheet has hidden rows or columns, filters may exclude them. Solution: Check "Show All Data" in the Filter dropdown or reveal hidden rows/columns before filtering.
- Mixing Excel versions: Older Excel versions (2016 or earlier) lack advanced filtering features. Solution: Use Excel 365 or 2019 with the "Filter by Colors" and "Slicers" options enabled.
Tips
- Use wildcards for text: In mobile Excel, wildcard characters (* and ?) work for text filters (e.g., "E*r" for "Electronic"). In desktop, use Ctrl+H to find and replace text before applying filters.
- Save filter settings: Click the filter dropdown arrow and select "Save Selection" to remember your filters for future use. Note: This only saves one filter—you’d need to reapply the second manually.
- Filter by date ranges: For dates, use the dropdown to select "Date Range" and choose specific months/years. Mobile Excel does not support this.
- Combine filters with logical operators: In Excel 365, add "AND" or "OR" conditions (e.g., "Sales Year = 2023 AND Product Category = Electronics").
- Use "Sort & Filter" for complex data: Right-click a column header > "Sort & Filter" > "Custom Sort" to add multiple criteria in one step.
Troubleshooting
- Filters don’t show: If the dropdown arrow isn’t visible, ensure the column header is selected (dark gray) and click "Data" > "Filter." For mobile, tap the table icon to enable filters.
- Data doesn’t update: Click the dropdown arrow and choose "All" temporarily. Then reapply the filters. If the issue persists, check for duplicate values in the selected range.
- Filters exclude blank rows: Blank rows may be filtered out by default. Add a filter for blank cells by selecting the column > clicking the dropdown > "Blank Cells" (if available).
- Excel crashes: Try closing other programs, updating Excel, or disabling add-ins. If necessary, restart your computer.
- Filters show "All" but data is still visible: The filters are active—click the dropdown to see the applied criteria. If you don’t see a dropdown, your sheet may not have filters enabled.
If that did not work
If none of the above steps resolve the issue, try this: Open the spreadsheet in Excel Online (web version) or a different computer. If the problem persists, contact Microsoft Support or check the Excel forum for version-specific issues (e.g., older Excel 2016 versions may lack certain filters).
Frequently Asked Questions
Can I add more than two filters?
Yes, but only one at a time. To add a third filter, select the third column, then apply it to the existing filtered data. Each new filter further narrows the results.
Why won’t my filters show the correct data?
Check for hidden characters (e.g., spaces or special symbols) in your filter values. In desktop Excel, use Ctrl+H to find and remove them. In mobile, ensure the filter text matches exactly (case-sensitive).
How do I remove all filters at once?
Click the dropdown arrow in the first filtered column and select "Clear" or "All." This removes all active filters from the sheet.
Can I filter by multiple columns in one go?
Not natively, but you can use Excel’s "Sort & Filter" option (right-click a column header) to apply multiple criteria simultaneously. For advanced filtering, use Power Query or VBA.
What if my data has dates? How do I filter by range?
In desktop Excel, click the dropdown > "Date Range" and select the period (e.g., "Year," "Month"). Mobile Excel doesn’t support this. Instead, use relative dates (e.g., "This Year") or manual range selection.
How do I save filtered data to a new sheet?
Copy the filtered data (Ctrl+C), then paste it into a new sheet (Ctrl+V). To preserve the filters, you’ll need to manually recreate them in the new sheet.