IIF Statement Expression

mjohnson1105

New member
Local time
Today, 03:27
Joined
Jun 6, 2013
Messages
8
Hi, I need help writing a very complex 'if statement' query expression. I need to create an alias column based on data from two data fields.

Here's the logic:

True: If [PP] = "WG" or "WS" or "WL" and If [GR] > 10 Then "Skilled" or
[GR] Between 6-9 Then "Semi - Skilled" or [GR] <6 Then "Unskilled"

False: "GS"

Any help would be greatly appreciated.

:confused:
:banghead:
 
Iif(PP="WG" orPP="WS" or PP="WL", Iif(GR>10,"skilled",Iif(GR<6,"unskilled","semi-skilled")),"GS")

Give or take the odd typo that should be it.

Brian
 
Thank you Brianwarnock!!!!
 

Users who are viewing this thread

Back
Top Bottom