Smart Systems for Home

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

Multiple Filters 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 have multiple filters in Excel, you simply apply a filter to one column and then repeat the process for additional columns; Excel automatically treats these as "AND" logic, meaning it will only show rows that meet all the selected criteria across every filtered column. This allows you to drill down into large datasets to find specific intersections of data, such as finding all "Sales" employees located in "New York" who joined in "2023."

What You'll Need

  • A computer with Microsoft Excel installed (Windows or macOS).
  • A dataset organized in a table format with clear header rows (column titles).
  • Data that is contiguous, meaning there are no entirely empty rows or columns breaking up the dataset.

Step-by-Step

  1. Prepare your data: Ensure your data has a header row at the top. Click any single cell inside your data range.
  2. Enable the Filter feature: Go to the Data tab on the top ribbon and click the Filter button. Alternatively, you can use the keyboard shortcut Ctrl + Shift + L (Windows) or Cmd + Shift + F (Mac). You will now see small drop-down arrows appearing in the header cell of every column.
  3. Apply the first filter: Click the drop-down arrow in the first column you wish to filter. Uncheck (Select All), then check the boxes for the specific values you want to keep. Click OK. The list will now shrink to show only those items.
  4. Apply the second filter: Move to the next column you want to refine. Click its drop-down arrow. Again, uncheck (Select All) and select the criteria for this specific column. Click OK. Excel will now filter the already-filtered list, showing only rows that meet both the first and second criteria.
  5. Add additional filters: Repeat the process for as many columns as necessary. Each new filter further narrows the results.
  6. Clear specific filters: If you want to remove the filter from just one column but keep the others, click the filter icon in that column's header and select Clear Filter From [Column Name].
  7. Remove all filters: To return the dataset to its full view, go to the Data tab and click the Filter button again to toggle the feature off entirely, or click Clear (next to the Filter button) to keep the arrows but show all data.

Common Mistakes

  • Including blank rows: If you have a completely empty row in the middle of your data, Excel may assume the dataset ends there. When you turn on filters, only the data above the blank row will be filtered, leaving the rest of your list untouched.
  • Filtering "OR" instead of "AND": Many users try to filter two different values in the same column to find "this OR that" (which works), but then try to do the same across different columns. Remember that filtering across different columns always acts as an "AND" operation.
  • Hidden rows: If you have manually hidden rows (Right-click > Hide), the filter may behave unexpectedly or make it difficult to see if the filter is actually working. It is best to unhide all rows before applying filters.
  • Merged cells: Merged cells in header rows or within the data range often break the filtering functionality or cause the filter to skip certain rows. Avoid using merged cells in datasets intended for filtering.

Tips

  • Use Text Filters: For columns with a lot of unique text, don't scroll through checkboxes. Click the drop-down arrow, hover over Text Filters, and choose options like Contains... or Begins With... to find specific keywords.
  • Number Filters: For financial or numeric data, use the Number Filters menu to select ranges, such as Greater Than... or Between....
  • Convert to a Table: Instead of using the Data tab, select your data and press Ctrl + T (Windows) or Cmd + T (Mac) to turn your range into an official Excel Table. Tables automatically include filter buttons and expand automatically when you add new rows.
  • Slicers for Visual Filtering: If you have converted your data into a Table, you can go to the Table Design tab and select Insert Slicer. Slicers are visual buttons that sit next to your data, allowing you to apply multiple filters with a single click rather than using drop-down menus.

Troubleshooting

If your filters are not working as expected, try these steps in order:

  1. Check for empty rows: Ensure there are no completely empty rows or columns within your data block. If there are, delete them or manually select the entire range of data before clicking the Filter button.
  2. Verify Header Rows: Make sure your data starts with a clear header row. If Excel thinks your first row of data is the header, that first record will be excluded from the filter results.
  3. Clear all existing filters: Sometimes a filter is active in a column you forgot about, which makes it seem like your new filter isn't working because no data matches both criteria. Go to Data > Clear to start fresh.
  4. Check for protected sheets: If the Filter button is greyed out, the worksheet may be protected. Go to the Review tab and check if there is an option to Unprotect Sheet.

Frequently Asked Questions

Can I filter by multiple criteria in the same column?

Yes. When you click the filter drop-down for a single column, you can check multiple boxes. This tells Excel to show any row that matches any of the selected items in that specific column.

How do I filter for "this" OR "that" across two different columns?

Standard filters only support "AND" logic across columns. To achieve "OR" logic (e.g., show rows where Column A is "Red" OR Column B is "Blue"), you will need to create a helper column with an IF formula or use the Advanced Filter tool found in the Data tab.

Why did my filter stop working when I added new data?

Standard filters do not always automatically include new rows added to the bottom of a range. You may need to turn the filter off and back on again, or convert your data into an official Table (Ctrl + T) so that new rows are automatically included in the filter range.

Does filtering delete the data that is hidden?

No. Filtering only hides rows that do not meet your criteria. The data is still there and will reappear as soon as you clear the filters.

Can I save a specific set of multiple filters?

Standard filters cannot be saved as presets. However, if you use "Custom Views" (found in the View tab), you can save the current filter settings and display preferences to return to them later.