PC Review


Reply
Thread Tools Rate Thread

Advanced filter exclusion

 
 
=?Utf-8?B?RXJpYyBTdGVwaGVucw==?=
Guest
Posts: n/a
 
      19th May 2006
I would like to create an advanced filter criterion that works in reverse; in
other words, it doesn't select rows BECAUSE they contain a specified value,
it selects all rows that do NOT contain a specified value. For example, if I
have a column that contains any of the 26 individual letters of the alphabet
as a code (meaning the value for that column in each individual row would
either be the single letter "A" or "B" or "C", etc.), I want the filter to
return all rows that have a value OTHER THAN "X" (so that the result would be
rows that had any value of A-W or Y or Z). How can I do this?

Thanks,
Eric
 
Reply With Quote
 
 
 
 
Ardus Petus
Guest
Posts: n/a
 
      19th May 2006
Create a new criterion with blank column heder, and in next row, following
formula:
=A2<>"X"

HTH
--
AP

"Eric Stephens" <(E-Mail Removed)> a écrit dans le
message de news: 8F096002-F80E-424B-A9F4-(E-Mail Removed)...
>I would like to create an advanced filter criterion that works in reverse;
>in
> other words, it doesn't select rows BECAUSE they contain a specified
> value,
> it selects all rows that do NOT contain a specified value. For example, if
> I
> have a column that contains any of the 26 individual letters of the
> alphabet
> as a code (meaning the value for that column in each individual row would
> either be the single letter "A" or "B" or "C", etc.), I want the filter to
> return all rows that have a value OTHER THAN "X" (so that the result would
> be
> rows that had any value of A-W or Y or Z). How can I do this?
>
> Thanks,
> Eric



 
Reply With Quote
 
=?Utf-8?B?Um9uIENvZGVycmU=?=
Guest
Posts: n/a
 
      19th May 2006
Try something like this:

With your list in A5:A60, with the column title in A5 (eg A5: MyTitle)

A1: MyTitle (or whatever your column title is)
A2: <>X

Select your list
<data><filter><advanced filter>
List range: (your already selected list: $A$5:$A$60
Criteria Range: $A$1:$A$2
Click the [OK] button

Only list items that do not equal X will be visible

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Eric Stephens" wrote:

> I would like to create an advanced filter criterion that works in reverse; in
> other words, it doesn't select rows BECAUSE they contain a specified value,
> it selects all rows that do NOT contain a specified value. For example, if I
> have a column that contains any of the 26 individual letters of the alphabet
> as a code (meaning the value for that column in each individual row would
> either be the single letter "A" or "B" or "C", etc.), I want the filter to
> return all rows that have a value OTHER THAN "X" (so that the result would be
> rows that had any value of A-W or Y or Z). How can I do this?
>
> Thanks,
> Eric

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unique Filter Code / Advanced Filter Fester Microsoft Excel Discussion 1 30th Oct 2008 05:37 PM
How do I use advanced filter to filter for blank cells? =?Utf-8?B?TW9uaXF1ZQ==?= Microsoft Excel Misc 2 21st Mar 2006 06:43 PM
Exclusion filter in Windows Explorer Search to exclude zip files =?Utf-8?B?UGhpbGlwIFRvcnk=?= Windows XP General 5 24th May 2005 07:27 AM
advanced filter won't allow me to filter on bracketed text (-456.2 =?Utf-8?B?THVjaWFub0c=?= Microsoft Excel Misc 2 7th Dec 2004 09:03 AM
automating data/filter /advanced filter copy Frank Microsoft Excel Worksheet Functions 2 7th Jan 2004 10:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:22 AM.