What Advanced Filter Does and When to Use It
Advanced Filter in Excel lets you show only the rows that match conditions you set, without removing anything from your spreadsheet. The standard filter (the dropdown arrows in your header row) works fine for simple choices like "show only January" or "show only items over $100". Advanced Filter handles the harder cases: rows where column A contains text AND column B is greater than 50, or rows where the date falls between two specific dates, or rows that match a pattern you define in a separate area of your sheet.
The key difference is that Advanced Filter uses a criteria range — a small table you build somewhere else on your sheet that tells Excel exactly what to match. You then run the filter and Excel hides everything that does not meet your criteria. Nothing gets deleted. You can turn the filter off and see all your data again.
Most people reach for Advanced Filter when they have tried the standard filter and found it cannot do what they need, or when they want to filter the same way repeatedly and save the criteria for later use.
Key Takeaways
- Advanced Filter uses a criteria range — a small reference table you create with column headers and the conditions you want to match.
- You must select your data range (including headers) before opening Advanced Filter, which lives under the Data menu.
- Criteria in the same row are treated as AND (all must be true); criteria in different rows are treated as OR (any can be true).
- Advanced Filter hides rows rather than deleting them, so you can remove the filter later and see your full dataset again.
- You can copy filtered results to a new location instead of hiding rows, which is useful when you want to work with a subset of data separately.
Building Your Criteria Range
Before you open Advanced Filter, you need to create a criteria range — a small table that tells Excel what to look for. Pick an empty area of your sheet, away from your main data. In the first row, type the exact column headers from your data table. If your data has columns for Name, Region, and Sales, your criteria range headers must say Name, Region, and Sales in the same order.
In the rows below, type the conditions you want to match. If you want to show only rows where Region is "West", type West in the Region column of your criteria range. If you want Region to be West AND Sales to be greater than 5000, type West in the Region column and >5000 in the Sales column, both in the same row. Excel treats conditions in the same row as AND — all must be true.
If you want rows where Region is West OR Region is East, type West in one row and East in the row below it, both in the Region column. Leave the other columns blank. Excel treats conditions in different rows as OR — any one can be true.
You do not need to include every column header in your criteria range, only the ones you are filtering on. If you are filtering by Region and Sales but not Name, your criteria range can have just those two headers.
Running Advanced Filter Step by Step
First, select your entire data range, including the header row. Click on the first cell of your data (usually the top-left corner) and drag to the last cell that contains data, or click the first cell and press Ctrl+Shift+End to select to the end of your data.
Open the Data menu at the top of Excel. Look for a button or option called Advanced Filter or Filter with an arrow. In newer versions of Excel, it may be under Data > Filter > Advanced. Click it.
A dialog box will open. The first field, "List range", should already show your selected data range. If it does not, click in that field and select your data again. The second field is "Criteria range" — click in it and then select your criteria table, including headers and all the rows with conditions you built.
You have two options for what happens next. "Filter the list, in-place" hides rows that do not match your criteria and shows only the rows that do. "Copy to another location" copies the matching rows to a new part of your sheet. If you choose the second option, a third field appears asking where to put the results — click in it and pick a cell where you want the filtered data to start.
Click OK. Excel will hide or copy the rows that match your criteria.
Understanding AND and OR Logic
The way you arrange conditions in your criteria range controls whether Excel uses AND or OR logic. This is the part that trips up most people.
If you put two conditions in the same row, Excel treats them as AND — both must be true. For example, if your criteria range has Region = "West" in one column and Sales > 5000 in another column, both in row 2, Excel shows only rows where the region is West AND sales are greater than 5000. A row with Region = "West" and Sales = 3000 will be hidden because it does not meet both conditions.
If you put conditions in different rows, Excel treats them as OR — any one can be true. If row 2 of your criteria range says Region = "West" and row 3 says Region = "East", Excel shows rows where the region is West OR East. A row with Region = "South" will be hidden because it matches neither condition.
You can combine AND and OR. If you want (Region = "West" AND Sales > 5000) OR (Region = "East" AND Sales > 3000), put the first set of conditions in row 2 and the second set in row 3. Excel will show rows that match either pair.
Removing the Filter and Seeing All Your Data Again
When you run Advanced Filter with "Filter the list, in-place", Excel hides rows but does not delete them. To see all your data again, go to the Data menu and look for a button that says Clear Filter, Reset Filter, or Show All. Click it and all hidden rows will reappear.
If you used "Copy to another location", your original data is untouched — the filtered results are in a separate area. You can delete the copied results or keep them. Your original data is still there.
If you want to run the same filter again later, save your criteria range. As long as you do not delete it, you can select your data, open Advanced Filter, and point to the same criteria range again.
Common Mistakes and How to Fix Them
The most common mistake is forgetting to include headers in your criteria range. Your criteria range headers must match your data headers exactly, including capitalization and spacing. If your data says "Sales Amount" but your criteria range says "Sales", Excel will not recognize it as the same column.
Another mistake is selecting the wrong range. Make sure you select your entire data range, including all columns and rows, before opening Advanced Filter. If you select only part of your data, Advanced Filter will only work on that part.
A third mistake is mixing up AND and OR. Remember: conditions in the same row are AND, conditions in different rows are OR. If your filter is not showing what you expect, check your criteria range and make sure your conditions are in the right rows.
If Advanced Filter seems to do nothing, check that your criteria range is not empty and that at least one row of data matches your conditions. If no rows match, Advanced Filter will hide everything, which can look like the filter did not work.
When to Use Copy to Another Location Instead of Filtering In Place
Filtering in place is useful when you want to look at a subset of your data but keep working in the same table. Copying to another location is better when you want to work with the filtered results separately — for example, to send them to someone else, to create a chart from just those rows, or to do calculations on a subset of your data without affecting the original.
When you choose "Copy to another location", Excel puts the filtered results in a new area of your sheet. The original data stays untouched and unfiltered. You can then sort, format, or analyze the copied results without changing your source data. This is also useful if you want to keep multiple filtered views of the same data on one sheet.
Frequently Asked Questions
Can I use Advanced Filter with text that contains certain words?
Yes. In your criteria range, use a wildcard: type *word* to find any cell containing that word, or word* to find cells that start with that word. For example, type *urgent* in your criteria range to show only rows where a text column contains the word "urgent" anywhere in it.
What if I want to filter by a date range?
Put two rows in your criteria range. In the first row, type >=1/1/2024 in the date column. In the second row, type <=12/31/2024. Make sure both rows have the same column header. Excel will show rows where the date is greater than or equal to January 1 and less than or equal to December 31.
Does Advanced Filter change my original data?
No. Advanced Filter hides rows or copies them to a new location, but it does not delete or modify your original data. If you filter in place, you can remove the filter anytime to see all rows again. If you copy to another location, your original data is completely separate and unchanged.
Can I save my criteria range and use it again later?
Yes. Keep your criteria range on your sheet and do not delete it. The next time you want to run the same filter, select your data, open Advanced Filter, and point to the same criteria range. You can also copy your criteria range to a different sheet if you want to use it on similar data elsewhere.
What is the difference between Advanced Filter and the regular filter dropdown?
The regular filter dropdown is simpler and works for basic choices like picking one value from a column. Advanced Filter is more powerful — it lets you combine multiple conditions with AND and OR logic, use wildcards and comparisons like > and <, and save your criteria for later use. Use the regular filter for quick, simple filtering and Advanced Filter when you need more control.