Applies to MS-Excel 2003, MS-Excel 2007
In this session, we are going to discuss how to use Advance Filter when the Auto filter fails to give the desired results.
![]() | ||
| Picture 1: Custom AutoFilter |
Custom Auto filter (Picture 1) will help us to filter data with the maximum of TWO filter criteria only. When we have more than TWO criteria, we have to use the Advanced Filter.
Before applying the Advance Filter what are all necessary information we should require?
- Data Table
- Criteria Table
1. DATA Table:
- The FIRST ROW of the database should have HEADINGS.
- There SHOULD NOT be any fully BLANK ROWS within the Database.
- LAST COLUMN and LAST ROW should be BLANK. (Why is this necessary? While applying Advance Filter, system will automatically select the LIST RANGE by default)
![]() |
| Picture 2: Database Sample |
2. CRITERIA Table
I have already mentioned that to filter the data with more than two criteria, we are using the Advanced Filter option. In Picture 2, we are having FOUR different products; out of these we are going to select THREE products as Filter criteria to filter the data.
How to define Criteria Table?
- Select a blank cell in an unused part of the worksheet.
- Give Criteria Title (It should be same as your database FIELD TITLE. Example: here the database field title is PRODUCT. The same title only we have to use as Criteria title. It will help the system to identify the field on which it has to apply the advance filter)
- Mention all the THREE product’s names in the subsequent rows.
Sample of Criteria Table is given below:
![]() |
| Picture 3: Criteria Table |
Both the basic things are ready.Now, how to apply the Advance Filter?
Select Data>Filter>Advanced Filter
![]() |
| Picture 4: Advanced Filter Dialog Box |
MS-Excel, by default, will ask us to give the following two inputs:
- List Range
- Criteria Range
1. LIST RANGE:
To fix the List range:
- By selecting the Advance Filter itself, System will select the List range automatically.

Picture 5: List Range - If List range is not picked up automatically or if you want to restrict the data range, then you have to click
Collapse Dialog button to choose the List Range. - Select the Database Table where you want to apply filter.
2. Criteria Range
To fix the Criteria range:
- Click: Criteria Range Collapse Dialog button
to choose the Criteria Range - Select the Criteria table what you have created
- Now Press
Expand Button.
![]() |
| Picture 6: Advanced Filter - Criteria Range |
![]() |
| Picture 7: Advanced Filter - After basic Inputs |
RESULT:
We can get the result in two ways:
- Filter the list, in-place
- Copy to another location
1. Filter the List, in-place
- It is a default option.
- Now, if we press OK Button, Advanced Filter will filter the data and show the result (Row index will be turned in BLUE colour) in the Database Table itself.
![]() |
| Picture 8: Filtered Data |
(See the row index 4,5,7,8 and 9 are not visible now)
2. Copy to another Location
- Under Action, we have to select “Copy to another Location” option button
- Now the “Copy to collapse dialog box” (as shown below) will be activated.
- Here, we have to give the cell reference where the filtered result should be printed.
- Press OK
![]() |
| Picture 9: Copy to dialog |
How to remove the filter:
Select DATA>FILTER>SHOW ALL
Please create the following table and try the exercise to get a clear idea about the Advance filter and feel the difference
![]() |
| Picture 10: Data Table |
Exercise 1:
![]() |
| Picture 11: Exercise Number 1 |
Exercise 2:
![]() |
| Picture 12: Exercise Number 2 |
Exercise 3:
![]() |
| Picture 13: Exercise Number 3 |
Exercise 4:
![]() |
| Picture 14: Exercise Number 4 |

















