Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Advanced Filter "Not Equal"

When applying multiple < criteria in advanced filter it does not work! Why?
A1
<*bus*
<*Inde*
<*schoo*
Why don't the "Or" statements work?
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Advanced Filter "Not Equal"

You probably need an AND, not an OR, if you're trying to exclude all
three of these strings.

For an AND, add the heading cell to the criteria range three times, and
put all three criteria on the same row.

Run the advanced filter again, and adjust the criteria range.

Pat Flynn wrote:
When applying multiple < criteria in advanced filter it does not work! Why?
A1
<*bus*
<*Inde*
<*schoo*
Why don't the "Or" statements work?
Thanks



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Advanced Filter "Not Equal"

Thanks Debthat makes sensebut why do the or statements work e.g.
A1
*bus*
*scho*
*indep*
Thanks again for the help


"Debra Dalgleish" wrote:

You probably need an AND, not an OR, if you're trying to exclude all
three of these strings.

For an AND, add the heading cell to the criteria range three times, and
put all three criteria on the same row.

Run the advanced filter again, and adjust the criteria range.

Pat Flynn wrote:
When applying multiple < criteria in advanced filter it does not work! Why?
A1
<*bus*
<*Inde*
<*schoo*
Why don't the "Or" statements work?
Thanks



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Advanced Filter "Not Equal"

With the sample data:
bus
school
house

Testing the data against your criteria:
Is "bus" equal to *bus* OR *scho* OR *indep* -- TRUE
Is "scho" equal to *bus* OR *scho* OR *indep* -- TRUE
Is "house" equal to *bus* OR *scho* OR *indep* -- FALSE
Since you used the OR operator, and "bus" meets at least one of the
criteria, it passes through the filter.

When you add the < (does not equal) operator:
Is "bus" not equal to *bus* -- FALSE
OR not equal to *scho* -- TRUE
OR not equal to *indep* -- TRUE

Since you used the OR operator, and "bus" meets at least one of the
criteria, it passes through the filter.
If you use the AND operator, "bus" must meet all the criteria, and not
equal any of the items in the list. It doesn't meet all the criteria, so
would not pass through the filter.


Pat Flynn wrote:
Thanks Debthat makes sensebut why do the or statements work e.g.
A1
*bus*
*scho*
*indep*
Thanks again for the help


"Debra Dalgleish" wrote:


You probably need an AND, not an OR, if you're trying to exclude all
three of these strings.

For an AND, add the heading cell to the criteria range three times, and
put all three criteria on the same row.

Run the advanced filter again, and adjust the criteria range.

Pat Flynn wrote:

When applying multiple < criteria in advanced filter it does not work! Why?
A1
<*bus*
<*Inde*
<*schoo*
Why don't the "Or" statements work?
Thanks



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Advanced Filter "Not Equal"

gracias por sus explinacion a mi amiga!

"Debra Dalgleish" wrote:

With the sample data:
bus
school
house

Testing the data against your criteria:
Is "bus" equal to *bus* OR *scho* OR *indep* -- TRUE
Is "scho" equal to *bus* OR *scho* OR *indep* -- TRUE
Is "house" equal to *bus* OR *scho* OR *indep* -- FALSE
Since you used the OR operator, and "bus" meets at least one of the
criteria, it passes through the filter.

When you add the < (does not equal) operator:
Is "bus" not equal to *bus* -- FALSE
OR not equal to *scho* -- TRUE
OR not equal to *indep* -- TRUE

Since you used the OR operator, and "bus" meets at least one of the
criteria, it passes through the filter.
If you use the AND operator, "bus" must meet all the criteria, and not
equal any of the items in the list. It doesn't meet all the criteria, so
would not pass through the filter.


Pat Flynn wrote:
Thanks Debthat makes sensebut why do the or statements work e.g.
A1
*bus*
*scho*
*indep*
Thanks again for the help


"Debra Dalgleish" wrote:


You probably need an AND, not an OR, if you're trying to exclude all
three of these strings.

For an AND, add the heading cell to the criteria range three times, and
put all three criteria on the same row.

Run the advanced filter again, and adjust the criteria range.

Pat Flynn wrote:

When applying multiple < criteria in advanced filter it does not work! Why?
A1
<*bus*
<*Inde*
<*schoo*
Why don't the "Or" statements work?
Thanks



--
Debra Dalgleish
Contextures
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
"Live" Advanced Filter (for unique records) RussG Excel Discussion (Misc queries) 15 August 3rd 07 01:10 PM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
Advanced filter formula for "contains="Sept" condor_tmc Excel Worksheet Functions 2 September 15th 06 01:00 AM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


All times are GMT +1. The time now is 09:29 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"