Sub topic 7
Combine Filters Across Columns and Clear Them
This chapter assumes you can turn on AutoFilter, apply a single-column filter, and tell a header cell from a data range. If not, review the earlier chapters on AutoFilter and filter conditions first.
You will learn how filters on several columns interact, how to read the signs that a filter is active, how to clear filters without losing data, and where OR logic is possible. You will also learn the common mistakes that make a combined filter return the wrong rows or no rows.
How filters combine across columns
When you filter two or more columns of the same range, Excel combines the filters with AND. A row stays visible only if it passes the filter on every filtered column.
Suppose a sales list has these columns: Region, Product, Amount, Date. You apply two filters:
- Region is "West".
- Amount is greater than or equal to 500.
Excel shows only the rows where Region is West and Amount is at least 500. A West row with an Amount of 300 is hidden. An East row with an Amount of 900 is hidden too.
Each filter works on the full set of rows, and each one narrows the result further. The order in which you apply the filters does not change the final result.
Filtering is hiding, not deleting
A filter hides rows that do not match. It does not delete them or change their values. The row numbers on the left turn blue and skip numbers, which shows that rows are hidden. If the row numbers read 2, 5, 9, rows 3 to 4 and 6 to 8 are hidden.
Read the signs of an active filter
Excel gives you several clues about which filters are on.
- A filtered column shows a funnel icon on its drop-down button. A column with no filter shows only the plain arrow.
- Pointing at a filtered header shows a tooltip that describes the condition, for example "Region: Equals West".
- The status bar at the bottom left shows a message such as "17 of 120 records found".
- Row numbers are blue, and numbers are missing from the sequence.
Check these signs before you trust a total or copy data. A forgotten filter is a very common reason for numbers that look wrong.
Add a second filter step by step
The drop-down list of a column shows only the values that remain after the other filters. This is a useful feature. Once Region is filtered to West, the Product list shows only products sold in the West.
- Click any cell inside the data range.
- Choose Data, then Filter, if the arrows are not already visible.
- Open the Region drop-down. Clear Select All, then tick West. Select OK.
- Open the Amount drop-down. Choose Number Filters, then Greater Than Or Equal To. Enter 500 and select OK.
- Read the status bar to see how many rows remain.
Because the lists adapt, you can move through the columns from left to right and narrow the data a step at a time. If a value you expect is missing from a list, another filter has already hidden every row that contains it.
Combine two conditions in one column
A single column can hold up to two conditions in the Custom AutoFilter dialog. Open it from Number Filters, Text Filters, or Date Filters, and choose Custom Filter.
Within one column you choose how the two conditions relate:
- And: the value must satisfy both conditions. Example: Amount is greater than or equal to 500 And is less than 1000. This selects a range.
- Or: the value must satisfy at least one condition. Example: Region equals West Or equals East.
For a longer list of allowed values in one column, tick several items in the drop-down list. Ticking items is an OR across values in the same column. Ticking West and East shows rows that are in either region.
The following table summarizes where AND and OR apply.
| Situation | Logic | Example |
|---|---|---|
| Filters on different columns | AND | Region is West, and Amount is 500 or more |
| Several ticked items in one column | OR | Region is West or East |
| Custom filter, And option | AND | Amount is 500 or more and under 1000 |
| Custom filter, Or option | OR | Amount is under 100 or over 5000 |
What AutoFilter cannot do
AutoFilter cannot apply OR between different columns. You cannot ask for "Region is West or Amount is at least 500" with the drop-downs. Each column filter always narrows the same result.
You have three options when you need this:
- Use Advanced Filter with a criteria range. Put conditions on separate rows to get OR across columns. A later chapter covers this.
- Use the FILTER function. Adding conditions gives you OR, and multiplying them gives you AND.
- Add a helper column with a formula that returns TRUE when either condition holds, then filter that column for TRUE.
Here is the FILTER version of the OR request. The plus sign acts as OR.
=FILTER(A2:D100, (B2:B100="West")+(D2:D100>=500), "No matches")The helper column approach works with ordinary AutoFilter, which is useful when you share the file with people on older Excel versions.
=OR(B2="West", D2>=500)Enter the second formula in a new column, such as E2, and fill it down. Filter column E for TRUE.
Reapply a filter after data changes
Excel does not refresh a filter automatically when you edit values. If you change a West row to East, the row stays visible until you reapply the filter. The same happens when you add new rows by typing them in.
To refresh, click any cell in the range and choose Data, then Reapply. The keyboard shortcut is Ctrl+Alt+L. Excel runs all the active filters again against the current values.
Sorting works the same way. A sort does not repeat itself when data changes, and Reapply runs the last sort again.
Clear filters
Excel has three different ways to remove a filter. They have different effects, so choose with care.
| Action | Where | Effect |
|---|---|---|
| Clear Filter From "Column" | Drop-down for that column | Removes the filter from that column only. Other filters stay on. |
| Clear | Data tab, Sort & Filter group | Removes all filters and shows every row. The arrows stay visible. |
| Filter button (turning it off) | Data tab, or Ctrl+Shift+L | Removes all filters and hides the arrows. |
Use the first action when you want to relax one condition and keep the rest. Use Clear when you want to start over but keep working with filters. Turn the Filter button off when you are done.
Ctrl+Shift+L toggles the arrows. If filters are active when you press it, Excel removes them as it hides the arrows.
Clearing does not undo a sort
Clear removes filters only. It does not restore the original row order if you also sorted the data. If the original order matters, add a numbered column such as ID before you sort. You can then sort by that column to return to the starting order.
Copy and edit only the visible rows
Copying a filtered range copies only the visible rows. Paste the result in a new location and you get only the matching rows. This is a quick way to take an extract.
Editing needs more care:
- Typing a value in a cell and filling it down across a filtered range changes only visible cells in most cases.
- Deleting entire rows removes only the visible rows in the filtered range. Hidden rows are kept. Check the status bar and row numbers first.
- Hidden rows are not always protected against every action, such as clearing a cell range that you selected by dragging across hidden rows from outside the filter. If you want to be sure, copy the visible rows to a new sheet first.
Common problems with combined filters
A filter returns no rows
If the sheet shows only the header and the status bar reads "0 of 120 records found", the filters together exclude everything. Clear the filters one at a time, starting from the last one you added, and watch when rows return.
A value is missing from the drop-down
The list shows only values that pass the other active filters. Clear the other column filters and open the list again.
Filters seem to ignore the lower part of the data
Excel finds the range from the cells around the one you selected. A completely blank row or column ends that range. Rows below the blank row are left out of the filter. Remove the blank row, or select the whole data range before turning on the filter.
Dates, numbers, or text act oddly
Numbers stored as text do not match number filters, and text dates do not group into months. Check the column type before you filter. A later chapter on troubleshooting covers the fixes.
Two filtered lists on one sheet
A worksheet allows only one AutoFilter range at a time. To filter two lists separately, put them on different sheets or convert them to Tables, which each carry their own filter.
Worked example
You manage a sales sheet with columns Region (B), Product (C), Amount (D), and Date (E). Your manager asks for all West sales of Widgets from 2026 with an amount of at least 500.
- Click a cell in the data and press Ctrl+Shift+L.
- Filter Region to West.
- Filter Product to Widget.
- Open the Date drop-down, choose Date Filters, then Year to Date, or choose Between and enter 1/1/2026 and 12/31/2026.
- Filter Amount with Number Filters, Greater Than Or Equal To, 500.
- Check the status bar for the number of matches, then copy the visible rows to a new sheet.
- Return to the data sheet and select Clear in the Data tab to restore all rows.
The new sheet holds the extract. The source data is unchanged.
Exercise
A sheet is filtered with Region = West and Amount >= 500. You need rows where Region is West OR Amount is at least 500. Why can't the two drop-down filters do this, and name two ways to get the result?
Show answer
Filters on different columns always combine with AND, so each added column filter can only narrow the result. To get OR across columns, use a FILTER formula such as =FILTER(A2:D100, (B2:B100="West")+(D2:D100>=500), "No matches"), or use Advanced Filter with the two conditions on separate rows of the criteria range. A helper column with =OR(B2="West", D2>=500), filtered for TRUE, also works.
Exercise
You filtered a list by three columns and now want to remove only the Product filter while keeping the other two. Which action do you use, and which action would remove all three at once and keep the arrows visible?
Show answer
Open the Product drop-down and choose Clear Filter From "Product". To remove all three filters and keep the arrows, choose Clear in the Sort & Filter group of the Data tab.