Using IF statement in an ifferror and index/match formula

Options

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 Answer

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

    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!