#1   Report Post  
Posted to microsoft.public.excel.misc
Dee
 
Posts: n/a
Default Advanced Filter

I am using the advanced filter to extract information from my spreadsheet. I
setup the filter in the following way

PI Name Name Role Country
Principal Brazil
Sub Mexico
Specialist Argentina

When it filters it only gives me two of the criteria. It will give me
Prinicpal and sub in Brazil and Mexico but not specialist and Argentina. What
I want is all principal, sub and specialists in Brazil, Mexico and Argentina.
Have I entered the criteria wrong? If so how would I enter the criteria to
get the results I am looking for.

Thanks in advance for your help.

Regards,

Dee
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Advanced Filter

I think you have to specify the combinations

Role Country
Principal Brazil
Sub Mexico
Specialist Argentina
Principal Mexico
Sub Argentina
Specialist Brazil
Principal Argentina
Sub Brazil
Specialist Mexico




--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Dee" wrote in message
...
I am using the advanced filter to extract information from my spreadsheet.

I
setup the filter in the following way

PI Name Name Role Country
Principal Brazil
Sub Mexico
Specialist Argentina

When it filters it only gives me two of the criteria. It will give me
Prinicpal and sub in Brazil and Mexico but not specialist and Argentina.

What
I want is all principal, sub and specialists in Brazil, Mexico and

Argentina.
Have I entered the criteria wrong? If so how would I enter the criteria to
get the results I am looking for.

Thanks in advance for your help.

Regards,

Dee



  #3   Report Post  
Posted to microsoft.public.excel.misc
PancakeBatter
 
Posts: n/a
Default Advanced Filter

Hi Dee- Check out Advanced Filter. For Excel 2002, this appears to allow
more than 2 values for each column of data.

Or, a quick way would be to:

Copy the Country column to new column CountryCopy. Replace Brazil, Mexico,
Argentina in CountryCopy with ZZBrazil, ZZMexico, ZZArgentina. Data, Filter
column
Role with "begins with" "s*". Data Filter column Country Copy with
"begins with "zz*".

PB

"Dee" wrote:

I am using the advanced filter to extract information from my spreadsheet. I
setup the filter in the following way

PI Name Name Role Country
Principal Brazil
Sub Mexico
Specialist Argentina

When it filters it only gives me two of the criteria. It will give me
Prinicpal and sub in Brazil and Mexico but not specialist and Argentina. What
I want is all principal, sub and specialists in Brazil, Mexico and Argentina.
Have I entered the criteria wrong? If so how would I enter the criteria to
get the results I am looking for.

Thanks in advance for your help.

Regards,

Dee

  #4   Report Post  
Posted to microsoft.public.excel.misc
Debra Dalgleish
 
Posts: n/a
Default Advanced Filter

Enter the Role and Country lists on the worksheet (not in the criteria area)
In the criteria area, leave the heading cell blank.
In the cell below, enter a formula that refers to the Role and Country
lists, e.g.:

=AND(COUNTIF($K$2:$K$4,C2),COUNTIF($L$2:$L$4,D2))

where C2 contains the first Role in the table to be filtered, and D2
contains the first Country.

When you run the Advanced Filter, select the blank heading cell and the
cell with the formula as the Criteria range.


Dee wrote:
I am using the advanced filter to extract information from my spreadsheet. I
setup the filter in the following way

PI Name Name Role Country
Principal Brazil
Sub Mexico
Specialist Argentina

When it filters it only gives me two of the criteria. It will give me
Prinicpal and sub in Brazil and Mexico but not specialist and Argentina. What
I want is all principal, sub and specialists in Brazil, Mexico and Argentina.
Have I entered the criteria wrong? If so how would I enter the criteria to
get the results I am looking for.

Thanks in advance for your help.

Regards,

Dee



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
advanced filter BorisS Excel Worksheet Functions 1 January 13th 06 05:30 PM
Using advanced filter to search for criteria in a list Potatosalad2 Excel Discussion (Misc queries) 1 June 8th 05 03:08 AM
Advanced Filter Problems Brian Excel Discussion (Misc queries) 2 December 20th 04 06:31 PM
Advanced Filter: No Filter Evan Weiner - Richalnd WA Excel Discussion (Misc queries) 2 December 9th 04 04:36 PM
advanced filter won't allow me to filter on bracketed text (-456.2 LucianoG Excel Discussion (Misc queries) 1 December 6th 04 08:38 PM


All times are GMT +1. The time now is 04:06 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"