Nested IF, INDEX, MATCH formula returning invalid value

Using the formula =IF(UPN@row <> "", INDEX({Cardinal Metadata - UPN & UPI List

'EI&C'}, UPN@row, MATCH(UPN@row, {Cardinal Metadata - UPN & UPI List 'UPN'}, 0)), "")

to return the email address if the UPN is not blank in the destination sheet, eliminates errors if the look up sheet has an entry in a blank row, I get invalid value. I have checked all my column types and they are correct. A shortened version of the formula without the IF statement added works except when we proofed the formula and put an email address in row without a UPN number all cells in the column were filled in.

Best Answer

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭
    Answer ✓

    Hi @mifala.chris

    I hope you're well and safe!

    Try something like this.

    =IF(UPN@row <> "", INDEX({Cardinal Metadata - UPN & UPI List 'EI&C'}, MATCH(UPN@row, {Cardinal Metadata - UPN & UPI List 'UPN'}, 0)), "")

    Did that work?

    I hope that helps!

    Be safe, and have a fantastic week!

    Best,

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

Answers