Avatar of Chi Is Current
Chi Is Current
Flag for United States of America asked on

Multiple, Independent IIf Statements in One Expression

Looking for a way to write multiple, INDEPENDENT iif statements in one expression (in a text box).
Example: IIf(Field1 = x, "1", "2") OR IIf(Field2 = x, "3", "4")  OR IIf(Field3 = x, "5", "6")...

Comparing 3 different and unrelated fields.
All three statements could be true, in which case the result would look like: 135

Heading for dreamtime now; imagining a better solution out there.
Thank you all in advance.
Will return in AM.

Health ~ Jacob
Microsoft Access

Avatar of undefined
Last Comment
Chi Is Current

8/22/2022 - Mon
Robert Sherman

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Chi Is Current

Nothing like elegant simplicity.

Thank you ~ Jacob
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck