Hi all,
I'm transferring an excel spreadsheet into an access database and i'm having a few issues with converting some of the formulae
In my excel sheet i have a formulae that looks across a number of columns K to AP for the words "Non Compliant" and returns "Yes" if any contain it.
=IF(ISNUMBER(MATCH("Non compliant",K8:AP8,0)),"Yes","Compliant")
Now that each of these are individual columns in access i am trying to replicate this formula in an access query, and being fairly new to access syntax i am struggling. Columns K-AP are now labelled [Compliance 1], [Compliance 2] through to [Compliance 16]
Initially i thought of going down the route:
=Iif(([Compliance 1]="Non Compliant" OR [Compliance 2]="Non Compliant" OR [Compliance 3]="Non Compliant" OR [Compliance 4]="Non Compliant" OR [Compliance 5]="Non Compliant" OR [Compliance 6]="Non Compliant"),"Yes","Compliant")
but this does not work,
Anyone know how i can do this?
Regards,
Mike
Bookmarks