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

mrchonginhk

Well-known Member
Joined
Dec 3, 2004
Messages
670
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,077,784
Messages
5,336,327
Members
399,076
Latest member
vullistax

Some videos you may like

This Week's Hot Topics

Top