Pull a rating from a matrix (INDEX / MATCH? INDEX / COLLECT)

Berto D
Berto D ✭✭
edited 06/02/22 in Formulas and Functions

I have this data in a spread sheet, with the combination of two variables resulting in a Risk Rating... But I don't know how to write the formula to address these nine combinations.

Thanks in advance for the help...


Best Answer

  • Genevieve P.
    Genevieve P. Employee
    Answer ✓

    Hi @Berto D

    You're right, I would use an INDEX(COLLECT for this!


    For example:

    =INDEX(COLLECT({Risk Rating Column}, {Probability Column}, Probability@row, {Impact Column}, Impact@row), 1)


    This will check the sheet that has your three columns listed to find the row that has the same matching combination of Probability and Impact as your current row and then return the matching Risk Rating.

    Let me know if this works for you or if I can explain the formula further.

    Cheers,

    Genevieve

Answers

  • Genevieve P.
    Genevieve P. Employee
    Answer ✓

    Hi @Berto D

    You're right, I would use an INDEX(COLLECT for this!


    For example:

    =INDEX(COLLECT({Risk Rating Column}, {Probability Column}, Probability@row, {Impact Column}, Impact@row), 1)


    This will check the sheet that has your three columns listed to find the row that has the same matching combination of Probability and Impact as your current row and then return the matching Risk Rating.

    Let me know if this works for you or if I can explain the formula further.

    Cheers,

    Genevieve

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!