• EZ IIF( Q (v2KSR1)

    Author
    Topic
    #382647

    I searched hi and lo for a different route but with no luck. Consider this IIF( statement:
    IIf([wow]=”a” Or [wow]=”b” Or [wow]=”c”,”abc”,”xyz”)
    Is there a way to recreate this statement without repeating the “[wow]=” ?
    I know this won’t work:
    IIf([wow]=”a” Or “b” Or “c”,”abc”,”xyz”) but is there a different approach?
    Thanks!!

    Viewing 0 reply threads
    Author
    Replies
    • #649503

      Try using IN keyword. Example:

      IIf([Wow] In (“A”,”B”,”C”),”ABC”,”XYZ”)

      HTH

      • #649586

        Outstanding Mark! Thanks a bunch…it worked perfectly!! Have a great weekend.

    Viewing 0 reply threads
    Reply To: EZ IIF( Q (v2KSR1)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: