Multi Filter in Excel: How to Filter Multiple Columns
In this article
Multi filtering in Excel allows you to narrow down a large dataset by applying criteria to two or more columns simultaneously. This achieves a highly specific view of your data—for example, showing only "Sales" from the "North Region" that occurred in "January"—by hiding all rows that do not meet every single selected condition. To do this, you simply need a dataset with clear column headers and a consistent structure where each row represents a single record.
What You'll Need
- A computer with Microsoft Excel installed (Desktop version is recommended for full feature access).
- A dataset organized in a tabular format (rows and columns) with unique headers in the top row.
- Data that is clean, meaning there are no completely empty rows or columns breaking up the dataset.
Step-by-Step
Depending on your version of Excel and your specific goal, there are three primary ways to perform a multi filter: using the standard AutoFilter, using Slicers (via Tables), and using the dynamic FILTER function. Note that menu labels may differ slightly depending on your version of Excel or region.
Method 1: Using AutoFilter (The Standard Way)
- Select your data: Click any single cell within your data range. Excel will usually detect the boundaries of your data automatically. If it does not, manually highlight the entire range, including the headers.
- Enable Filters: Go to the Data tab on the top ribbon and click the Filter button. Alternatively, you can use the keyboard shortcut Ctrl + Shift + L. You will now see small drop-down arrows appearing in the header cell of every column.
- Apply the first filter: Click the drop-down arrow in the first column you wish to filter. Uncheck (Select All) and then check the boxes next to the specific values you want to keep. Click OK. The list will shrink to show only those results.
- Apply subsequent filters: Move to the next column you wish to filter and click its drop-down arrow. Again, select the specific criteria you need and click OK. Excel applies an "AND" logic here, meaning it only shows rows that satisfy the first filter AND the second filter.
- Refine with Text or Number Filters: Instead of checking boxes, you can hover over Text Filters (for words) or Number Filters (for digits) within the drop-down menu. This allows you to use logic like "Contains," "Greater Than," or "Between" across multiple columns.
- Clear Filters: To remove a filter from one column, click that column's filter icon and select Clear Filter From [Column Name]. To remove all filters at once, go to the Data tab and click Clear next to the Filter button.
Method 2: Using Slicers (The Visual Way)
- Convert Data to a Table: Click anywhere in your data range and press Ctrl + T. Ensure the box "My table has headers" is checked and click OK. This converts your range into an official Excel Table.
- Insert Slicers: With a cell in the table selected, go to the Table Design tab (which appears only when you are inside a table) and click Insert Slicer.
- Choose Columns: A dialog box will appear listing all your column headers. Check the boxes for every column you want to use as a multi-filter. Click OK.
- Filter Visually: Floating buttons (Slicers) will appear on your sheet. Click a value in the first Slicer to filter the table. Then, click a value in the second Slicer. The table updates instantly to show only the intersection of those choices.
- Multi-Select in Slicers: To select more than one item within a single Slicer, hold the Ctrl key while clicking the items, or click the Multi-Select button (the icon with three checkmarks) in the top right of the Slicer window.
Method 3: Using the FILTER Function (The Dynamic Way)
This method is available in Microsoft 365 and Excel 2021. It creates a separate, live-updating list rather than hiding rows in your original data.
- Prepare your output area: Click in an empty cell where you want the filtered results to start appearing.
- Start the formula: Type
=FILTER(. - Define the array: Select the entire range of data you want to filter (e.g.,
A2:D100) and type a comma. - Set the multi-criteria logic: To filter by multiple columns using "AND" logic, you must wrap each condition in parentheses and multiply them together. The syntax looks like this:
(Range1="Criteria1")*(Range2="Criteria2"). For example:=FILTER(A2:D100, (B2:B100="North")*(C2:C100="Sales")). - Handle empty results: Add a final argument to the formula to avoid an error if no matches are found:
=FILTER(A2:D100, (B2:B100="North")*(C2:C100="Sales"), "No results found"). - Press Enter: The results will "spill" into the surrounding cells automatically.
Common Mistakes
- Including Blank Rows: If you have a completely blank row in the middle of your data, AutoFilter often stops at that row and ignores everything below it. Always ensure your data is a continuous block.
- Confusing AND vs OR Logic: When using AutoFilter or Slicers, Excel uses "AND" logic across columns (Column A must be X AND Column B must be Y). If you need "OR" logic (Column A is X OR Column B is Y), you cannot use standard AutoFilter; you must use the FILTER function with a plus sign
(+)instead of an asterisk(*), or use Advanced Filter. - Filtering Hidden Rows: Applying a filter to a range that already has manually hidden rows can lead to confusion, as you may not know if a row is gone because of the filter or because it was manually hidden.
- Forgetting to Update Ranges: When using the FILTER function, if you add new rows to your source data but your formula only references
A2:D100, the new data will be ignored. Converting your source data to a Table and using Table References (e.g.,Table1) solves this.
Tips
- Search Box: In the AutoFilter drop-down, use the "Search" box to find specific text quickly rather than scrolling through hundreds of checkboxes.
- Filter by Color: If you use conditional formatting or manual highlighting, you can select Filter by Color from the drop-down menu to find specific visually flagged items across multiple columns.
- Saving Filter Views: If you frequently use the same multi-filter combinations, consider using the "Custom Views" feature (under the View tab) to save and quickly switch between different filtered states of the same sheet.
- Slicer Layout: You can change the number of columns in a Slicer under the Slicer tab in the ribbon. This allows you to arrange your filters in a compact grid rather than a long vertical list.
Troubleshooting
If your multi filter is not working as expected, try these steps in order:
- Check for Leading/Trailing Spaces: A common reason filters fail is "hidden" spaces. If a cell says "North " (with a space) but you filter for "North", Excel will not find it. Use the
=TRIM()function to clean your data. - Verify Data Types: Ensure that columns you are filtering as numbers are actually formatted as numbers and not as text. If a number is stored as text, "Greater Than" filters will not function.
- Reset All Filters: Sometimes multiple overlapping filters create a result of zero rows. Go to Data > Clear to wipe all filters and start again from the first column.
- Check for Merged Cells: Merged cells are the enemy of filtering. If your headers or data cells are merged, the filter may behave unpredictably or refuse to activate. Unmerge all cells in the data range.
- Refresh Table/Slicer: If you have added data to a Table and the Slicer isn't showing the new values, right-click the Slicer and select Refresh.
Frequently Asked Questions
Can I filter by multiple criteria in the same column?
Yes. In the AutoFilter drop-down, simply check multiple boxes. This acts as "OR" logic (e.g., show rows where the city is either "New York" OR "London").
How do I filter for a range of dates across two columns?
Use the Date Filters option in the drop-down menu. You can select "Between..." and enter a start and end date for the first column, then repeat the process for the second column.
Does filtering delete the data that is hidden?
No. Filtering only hides rows from view. The data remains in the workbook and is still included in formulas like SUM unless you use the SUBTOTAL or AGGREGATE functions, which can ignore hidden rows.
Why is my FILTER function returning a #CALC! error?
This usually happens when no rows meet all the criteria you set. To fix this, add the "If_empty" argument at the end of your formula (e.g., , "No results") to provide a friendly message instead of an error.
Can I use multi filters on a mobile device?
Yes, but the interface is different. Tap the column header to find the filter icon. You can apply filters to multiple columns one by one, though Slicers and complex FILTER functions are best managed on the desktop version.