Beruflich Dokumente
Kultur Dokumente
Search
Get Microsoft Excel Help Easy Excel Reporting tool Create & Use Macro Easily
Pros You Can Afford on Elance. Web-based reporting, free trial Create & Use Macros in minutes.
Hire and Get Started Today. Finish a Complex Report In 5 Mins Download Now & Get a Free Trial
www.Elance.com/Office www.raqsoft.com www.workspacemacro.com
Apply an Excel
Advanced
Filter Download zipped Excel advanced filter workbook
with sample data and criteria.
1. Set up the
database
The first row (A1:D1)
has headings.
Subsequent rows
contain data.
There are no blank
rows within the
database.
There is a blank row
at the end of the
database, and a
blank column at the
right.
www.contextures.com/xladvfilter01.html 1/7
11-Aug-10 Excel Advanced Filter Introduction
The heading in F1 exactly matches a heading (D1)
in the database.
Cell F2 contains the criterion. The > (greater than)
operator is used, with the number 500 (no $ sign
is included)..
Filter Unique
Records
You can use an Excel Advanced
Filter to extract a list of unique items
in the database. For example, get a
www.contextures.com/xladvfilter01.html 2/7
11-Aug-10 Excel Advanced Filter Introduction
list of customers from an order list,
or compile a list of products sold:
Extract Data to
Another Worksheet
If the database is on Sheet1, you
can extract data to Sheet2, by
using an Excel Advanced Filter:
Go to Sheet 2
Select a cell in an unused
part of the sheet (cell C4 in
this example).
From the Data menu, choose
Filter, Advanced Filter.(In
Excel 2007, click the Data
tab on the Ribbon, then click
Advanced Filter.)
Choose Copy to another
location.
Click in the List Range box
Select Sheet 1, and select
the database.
(optional) Click in the Criteria
range box.
Select the criteria range
Click in the Copy to box.
Select the cell on Sheet 2 in
which you want the results to
start, or select the headings
that you have typed on
Sheet 2.
(optional) Check the box for
Unique Values Only
Click OK
www.contextures.com/xladvfilter01.html 3/7
11-Aug-10 Excel Advanced Filter Introduction
Setting up the
1.
Excel Advanced
Filter Criteria
Range
AND vs OR
If a record meets all
criteria on one row in
the criteria area, it
will pass through the
Excel advanced
filter. In example 1,
at right --
customer must be
MegaMart AND
product must be
Cookies AND total
must be greater than
500.
Criteria on different 2.
rows are joined with
an OR operator. In
the second example
at right --
customer must be
MegaMart OR
product must be
Cookies OR total
must be greater than
500.
By using multiple 3.
rows, you can
combine the AND
and OR operators. In
the third example at
right --
customer must be
MegaMart AND
product must be
Cookies
OR
product must be
Cookies AND total
must be greater than
500.
The
asterisk (*)
wildcard
character
represents
any number
of
characters
in that
position,
including
zero
characters.
www.contextures.com/xladvfilter01.html 4/7
11-Aug-10 Excel Advanced Filter Introduction
In this
example,
any
customer
whose
name
contains
"mart" will
pass
through the
Excel
advanced
filter.
The ? wildcard
The
question
mark (?)
wildcard
character
represents
one
characters
in that
position.
In this
example
any 4-
letter
product
that
begins
with c,
and ends
with ke,
will pass
through
the Excel
advanced
filter.
The ~ wildcard
The tilde
(~) wildcard
character
lets you
search for
characters
that are
used as
wildcards.
In this
example
any
products
that begins
with Good
and ends
with Eats,
will pass
through the
Excel
advanced
filter.
To find
only the
product
named
Good*Eats,
use a tilde
character
www.contextures.com/xladvfilter01.html 5/7
11-Aug-10 Excel Advanced Filter Introduction
in front of
the
asterisk.
Excel Advanced
Filter Criteria
Examples
Extract Items in a
Range
www.contextures.com/xladvfilter01.html 6/7
11-Aug-10 Excel Advanced Filter Introduction
Excel Advanced
Filter Tutorials:
Excel Advanced Filters --
Complex Criteria
1. AutoFilter Basics
2. AutoFilter Tips
3. AutoFilter Programming
Home Excel Tips Excel Files The Excel Store Blog Contact
Contextures Inc., Copyright ©2010
All rights reserved.
Privacy Policy
Debra Dalgleish
www.contextures.com/xladvfilter01.html 7/7