Excel Performance Problems

Fix Excel Advanced Filter for Large Data Sets with a Correct Criteria Range

Steven ParkerSteven Parker Nov 12, 2026 868 views

Question details

The user needs to run Advanced Filter successfully on a large Excel data set.

Fix Excel Advanced Filter for Large Data Sets with a Correct Criteria Range
Product
Microsoft Excel
Device & OS
not provided
Scenario
The user is filtering a complete list by conditions stored in a separate criteria range.
Observed behavior
Advanced Filter does not return the expected results when the criteria range, headers, source range, or filter settings are configured incorrectly.
Before you start

Make sure the source list has one header row with no blank header cells. Create the criteria range in unused cells and type the source column headers exactly as they appear in the list.

Solution 1Recommended

Include exact headers in the Advanced Filter criteria range

Use this method when Advanced Filter fails or returns incorrect results because the criteria range does not include matching field names.

Advanced Filter reads the first row of the criteria range as column headers. Each criteria header must exactly match a header in the source list, and the condition must be directly beneath that header.

1
Create a criteria range with headers

In blank cells, such as F1:G2, copy or type the exact source headers into F1 and G1. Enter the filter conditions directly below them in F2 and G2.

2
Select the complete source list

Click any cell in the data list, then select the entire list including its header row. Do not exclude the headers from the selected range.

3
Open Advanced Filter

On the Excel ribbon, select Data > Advanced in the Sort & Filter group.

4
Verify the filter ranges

In the Advanced Filter dialog, confirm that List range includes every data column and its headers, and set Criteria range to the cells containing both the criteria headers and conditions, such as $F$1:$G$2.

5
Apply the filter

Choose Filter the list, in-place or Copy to another location, then click OK to run the filter.

Include exact headers in the Advanced Filter criteria range
Criteria headers are required: A criteria range containing only conditions and no matching headers will not be evaluated correctly by Advanced Filter.
Work with large data sets more easily

Use WPS Spreadsheets to Apply Advanced Filters to Large Tables

WPS Spreadsheets lets you filter large worksheets by defining a complete data range and a criteria range with matching headers. Its familiar spreadsheet interface helps you move existing workbooks into WPS and manage filtered results efficiently.

  1. 1. Open the workbook in WPS Spreadsheets: Launch WPS Office, select Spreadsheets, and open the Excel workbook containing the data list.
  2. 2. Build the criteria range: In empty worksheet cells, enter the exact data-list headers in the first row and place the required conditions in the row beneath them.
  3. 3. Select the full data list: Click inside the table and select the complete range, including all column headers.
  4. 4. Run Advanced Filter: Go to the Data tab, choose Advanced Filter, and enter the full List range and the criteria range with its header row.
  5. 5. Choose where to show results: Select in-place filtering or copy the filtered records to another location, then confirm to apply the filter.
Create criteria ranges with matching column headers for advanced filteringFilter and organize large spreadsheet tables in a familiar ribbon interfaceOpen, edit, and save Microsoft Excel .xlsx and .xls filesLightweight, free office suite for everyday spreadsheet work
microsoft office alternative - wps office

Frequently Asked Questions

Do criteria range headers have to match the Excel list headers exactly?

Yes. In the criteria range, the first-row header must match the corresponding source-list header exactly. Include the header and the condition beneath it when setting the Criteria range in Data > Advanced.

Why does Excel Advanced Filter return no records?

Check that the List range includes the header row, the Criteria range includes matching headers, and the conditions are entered beneath the correct headers. Also check for unintended spaces or misspellings in header names and criteria values.

Can I use Advanced Filter on a large Excel data set?

Yes. Advanced Filter can process large lists when the entire source range is selected and the list is not interrupted by blank rows or columns that divide the data.

How do I use AND and OR conditions in an Advanced Filter criteria range?

Place conditions on the same row to apply AND logic. Put conditions on separate rows to apply OR logic. Each condition column still needs the matching source header above it.

What should the List range include in Excel Advanced Filter?

The List range should include every column and record you want to filter, including the single header row at the top of the data list.