Excel > Excel 2003 Advanced > Data Management

Advanced Filter

Advanced Filter is the most powerful way of filtering data in Excel. It takes a lot more work to set up than Autofilter, but goes beyond Autofilter's limitations.

The advantages to using Advanced Filter include:

  • Run more complex filters
  • Copy filtered results to another area on the worksheet
  • Filter for unique records

The criteria that the Advanced Filter uses for its filtering are held in a separate range outside the range of data being filtered. This needs to be set up prior to using the Advanced Filter.

Apply an Advanced Filter

  1. Copy the desired column labels from the range to be filtered to the first row of the criteria range
  2. The example below is being setup to filter for the products in the list with a stock level of less than 20 and a stock value of more than £200. For this to work I would need the Stock Level and Stock Value labels in the criteria range.

    In this example column labels have also been copied into cells H7:I7. This is optional, and is being used to extract the filtered data to. In this example I would only like to see the data from the Code and Product columns in my filter results.

    Criteria range

    The criteria range can be placed in any open cells on your worksheet and you only need to copy the column labels of the columns you will filter by.

  3. Enter the criteria you want to filter for below the criteria labels
    • Criteria entered on the same line must occur in the same record (And logic)
    • Criteria entered on separate lines must occur in different records (Or logic)
    • Criteria headings with no data under them are not filtered
    • Duplicate criteria headings allow more than one set of criteria to be entered i.e. for a date column you may use less than and specific date and greater than a specific date under separate criteria headings

    Criteria range data

  4. Click Data > Filter and then Advanced Filter from the submenu
  5. The Advanced Filter dialogue box appears

    Advanced Filter dialogue box

  6. Select either the Filter the list, in-place (like Autofilter) or Copy to another location option button
  7. In List range, select the range of data to be filtered
  8. In Criteria range, select the criteria range
  9. If copying the filter results to another location, enter the range you wish to copy to in the Copy to field
  10. Completed Advanced Filter dialogue box

  11. Click Ok

Follow us on

Facebook  Twitter  You Tube