Using IF statement in an ifferror and index/match formula

Jacob A
Jacob A ✭✭✭✭✭
edited 05/25/24 in Formulas and Functions

I wrote a formula to return Not Found if an error is found. However I also what it to return an abbreviation for some couple of matches that have long names instead of the full descriptions.

For example =IFERROR(INDEX({Degree}, MATCH([Primary Column]@row, {Name}, 0)), "Not Found. Please update"), IF(INDEX({Location}, MATCH([Primary Column]@row, {Name}, 0)) = "Master of Business Administration", "MBA")

Best regards,

Jacob A. PMP, AgileXP, CSM

Please kindly upvote if my contributions have provided you some value or answer. Thank you

Best Answer

  • Kelly Moore
    Kelly Moore ✭✭✭✭✭✭
    Answer ✓

    Hey @jacob.alabi

    Try this:

    =IFERROR(IF(INDEX({Degree}, MATCH([Primary Column]@row, {Name}, 0))="Master of Business Administration", "MBA",INDEX({Degree}, MATCH([Primary Column]@row, {Name}, 0))), "Not Found. Please update")

    Will this work for you?

    Kelly

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!