bfreescott
asked on
Advanced Filter (500)
I have a field with about 7 or 8 unique items and an advanced filter that filters this field. One of the items in the field accounts for the majority of the records. The rest are what I will call "everything else." I need to figure out if there is a way to use the advanced filter to filter on "everything else" without specifying the items in the criteria range. For example if Apples were your best-selling product, you would have a filter that filtered on Apples and Not Apples as your two options. Not Apples needs to return every record that has something other than Apples in that field.
TIA!
Scott
TIA!
Scott
Is this a SQL question, VB question, VB.NET question, etc.?
ASKER
It's Excel VBA
The easiest way to crack this nut is to insert a new column and put this formula in each cell in that column:
=IF(A2="Apples","Apples"," Not Apples")
Then filter on that column.
Kevin
=IF(A2="Apples","Apples","
Then filter on that column.
Kevin
ASKER
Can't I put a formula into the criteria section? something like <> Applies
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Maybe I should give the points to myself on this one! lol
Thanks for the confirmation, I had already tried and given up on that syntax, but I must have had my quotes in the wrong place or something. I've got more questions out there if you want to rid yourself of the guilt over the easy 500.
Cheers
Scott
Thanks for the confirmation, I had already tried and given up on that syntax, but I must have had my quotes in the wrong place or something. I've got more questions out there if you want to rid yourself of the guilt over the easy 500.
Cheers
Scott