How to use a field as "Not Something" to be condition of a query

mrchonginhk

Well-known Member
Joined
Dec 3, 2004
Messages
672
I have a table with one column storing the condition of a query, like "*" etc.
* means all countries
Now, apart from "*", there is a need to have a condition "Not US"

So, can we join table has same effect as "[Country] is not US" ?
What can I do ?
 

Fazza

MrExcel MVP
Joined
May 17, 2006
Messages
9,186
Maybe best to have more information

though the basic idea is : [Country] <> 'US'
or if you need to add some other exceptions, you might prefer [Country] NOT IN ('US', 'AnotherOne', 'OrTwo')

And if there can be Null entries in the field, be careful to correctly handle them
 

Forum statistics

Threads
1,078,275
Messages
5,339,227
Members
399,287
Latest member
Dave2804

Some videos you may like

This Week's Hot Topics

Top