?
Solved

Advanced Filter (500)

Posted on 2007-03-28
6
Medium Priority
?
191 Views
Last Modified: 2010-04-30
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
0
Comment
Question by:bfreescott
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 27

Expert Comment

by:VBRocks
ID: 18810426
Is this a SQL question, VB question, VB.NET question, etc.?
0
 

Author Comment

by:bfreescott
ID: 18810450
It's Excel VBA
0
 
LVL 81

Expert Comment

by:zorvek (Kevin Jones)
ID: 18812561
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
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:bfreescott
ID: 18812823
Can't I put a formula into the criteria section? something like <> Applies
0
 
LVL 81

Accepted Solution

by:
zorvek (Kevin Jones) earned 2000 total points
ID: 18812834
You certainly can. I thought you wanted a drop down...

And that's the exact syntax.

Kevin
0
 

Author Comment

by:bfreescott
ID: 18813159
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
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question