Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Multiple Filter in Excel: How to Filter Multiple Columns

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To apply multiple filters in Excel, you can use the AutoFilter feature to select specific criteria across several columns, or use the FILTER function for a dynamic list. By applying filters to multiple columns, Excel uses "AND" logic, meaning only the rows that meet all the selected criteria in every filtered column will remain visible.

What You'll Need

  • A computer with Microsoft Excel installed (Windows or macOS).
  • A dataset organized in a table format with clear header rows at the top.
  • Data that is free of completely empty rows or columns within the range you wish to filter.

Step-by-Step

Method 1: Using AutoFilter (The Standard Way)

This is the fastest method for manually narrowing down a list based on multiple conditions. Note that menu labels may vary slightly depending on your version of Excel or region.

  1. Select your data: Click any cell within your data range or highlight the entire table.
  2. Enable Filters: Go to the Data tab on the top ribbon and click the Filter button. Alternatively, you can use the shortcut Ctrl + Shift + L (Windows) or Cmd + Shift + F (Mac). Filter arrows will now appear in the header cell of each column.
  3. Apply the first filter: Click the filter arrow in the first column you want to restrict. Uncheck "Select All," then check the boxes for the specific values you want to keep. Click OK.
  4. Apply subsequent filters: Move to the next column and click its filter arrow. Select the criteria for this second column and click OK. Excel will now hide all rows that do not match both the first and second criteria.
  5. Refine further: Repeat this process for as many columns as necessary. The data will continue to shrink as you add more restrictive filters.
  6. Clear filters: To start over, go to the Data tab and click Clear, or click the filter icon on a specific column and select "Clear Filter From [Column Name]."

Method 2: Using the FILTER Function (The Dynamic Way)

If you have Microsoft 365 or Excel 2021, you can use a formula to extract data to a new location. This is useful because the results update automatically when the source data changes.

  1. Set up your destination: Click in an empty cell where you want the filtered results to appear.
  2. Enter the formula: Use the FILTER function with an asterisk (*) to act as the "AND" operator. The syntax is: =FILTER(Array, (Criteria1) * (Criteria2)).
  3. Example: If your data is in range A2:C10, and you want to filter for "East" in column A and "Completed" in column B, enter: =FILTER(A2:C10, (A2:A10="East") * (B2:B10="Completed")).
  4. Press Enter: Excel will "spill" the results into the surrounding cells.

Method 3: Using Advanced Filter

Advanced Filter is best for complex "OR" logic (e.g., showing rows where either Column A is "X" OR Column B is "Y").

  1. Create a Criteria Range: In a blank area of your sheet, copy the headers of the columns you want to filter.
  2. Enter Criteria:
    • To use AND logic, place criteria for different columns on the same row.
    • To use OR logic, place criteria for different columns on different rows.
  3. Run the Filter: Go to the Data tab and click Advanced.
  4. Define Ranges: In the dialog box, select your "List range" (the main data) and your "Criteria range" (the headers and values you just created). Click OK.

Common Mistakes

  • Including Empty Rows: If there is a completely blank row in your data, AutoFilter may stop at that row and fail to filter the data below it. Ensure your dataset is a continuous block.
  • Confusing AND vs OR: When using AutoFilter, adding a second filter always acts as "AND." If you need to see results that match *either* condition A *or* condition B, you must use the Advanced Filter or a helper column.
  • Filtering Hidden Rows: Applying a filter to a range that already has manually hidden rows can lead to confusion about which data is actually missing. Clear all filters before starting a new set of criteria.

Tips

  • Use Slicers for Tables: If you convert your data range into an official Table (Ctrl + T), you can go to the Table Design tab and insert Slicers. Slicers are visual buttons that allow you to apply multiple filters with a single click.
  • Search Box: Instead of scrolling through a long list of checkboxes in the filter menu, use the "Search" box to quickly find a specific value.
  • Number Filters: For columns containing numbers, don't just check boxes. Use the "Number Filters" submenu to select "Greater Than," "Less Than," or "Between" for more powerful results.

Troubleshooting

The filter arrows disappeared: Check if you accidentally clicked "Filter" again in the Data tab, which toggles the feature off. Also, ensure you are not in "Cell Edit" mode (cursor blinking inside a cell), as many ribbon options are disabled until you press Enter.

The FILTER function returns #CALC!: This usually means no data matches all the criteria you provided. Double-check your spelling and ensure there are no leading or trailing spaces in your data cells.

Only some rows are being filtered: This happens if your data range wasn't fully selected. Clear the filter, select the entire dataset manually, and then re-enable the filter arrows.

The Advanced Filter isn't showing any results: Ensure your criteria headers exactly match the headers in your data range. A single extra space or a typo in the header will cause the filter to fail.

Frequently Asked Questions

Can I filter multiple columns at once?

Yes. By applying a filter to one column and then applying another to a second column, Excel narrows the results to only those rows that satisfy both conditions.

How do I filter for "This OR That" across two different columns?

AutoFilter cannot do this natively because it uses "AND" logic. To do this, use the Advanced Filter tool or create a helper column with an =OR() formula and filter for "TRUE."

Does filtering delete my data?

No. Filtering only hides rows that do not meet your criteria. The data is still there and can be restored by clearing the filters.

Can I use multiple filters on a mobile device?

Yes, in the Excel mobile app, you can tap the filter icon in the column header to select criteria. You can repeat this for multiple columns to narrow your results.

Why is my FILTER function not working?

The FILTER function is only available in Microsoft 365 and Excel 2021 or newer. If you are using an older version like Excel 2016 or 2019, you must use AutoFilter or Advanced Filter.