index match not working

Options

I have the following formula to find the closest match to my first column from two lists extracted from different programs, i.e. Shakedown list and Exto List. I have identified the unique identifiers and was going to build nested IF(HAS(INDEX(MATCH statements to return the near matches. However, my first formular returns an error when I know the second column ends with the same 5 characters as the first, and I expected a match.

FORMULA; =IF(HAS([Shakedown List]@row, "0.5"), INDEX([Exto List]:[Exto List], MATCH(RIGHT([Shakedown List]@row, 5), [Exto List]:[Exto List], 0)), "messy")


Best Answer

  • Nick Korna
    Nick Korna ✭✭✭✭✭✭
    Answer ✓
    Options

    Hi @mifala.chris

    You probably want to use INDEX & COLLECT here, something along the lines of:

    =IF(CONTAINS("0.5", [Shakedown List]@row), IFERROR(INDEX(COLLECT([Exto List]:[Exto List], [Exto List]:[Exto List], CONTAINS(RIGHT([Shakedown List]@row, 5), @cell)), 1), "Messy"))

    Rough data:

    Hopefully this helps, any problems/questions just post them up!

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!