create a RAID document

This discussion was created from comments split from: Help with IF formula.

Answers

  • Great forum, I'm a new user. I'm trying to create a RAID document and want to use a formula of Impact and Probability ratings to calculate the Risk Rating. Each rating has values of Low, Medium and High with values of 1,2,3. So a Low Impact and High Probability would have a Risk Rating of 3, but a High Impact and Medium Probability would be 6, basically multiplying the values together. I'm getting #UNPARSEABLE in my simple IF statement =If([Impact]@row=Medium),"2","3"), so before I try to create this monster IF/THEN, I thought I should check to see if it is possible. Thanks in advance. Mark

  • James Keuning
    James Keuning ✭✭✭✭✭
    edited 04/06/21

    =IF(impact@row = "Medium", 2, 3)

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    The formula should have quotes around "Medium", and you have an extra closing parenthesis after "Medium" that needs removed.

    =If([Impact]@row="Medium","2","3")


    Really you shouldn't need a "monster" if Statement. We could use a nested IF for the impact and a nested if for the probability then multiply them together.

    =IF(Impact@row = "Low", 1, IF(Impact@row = "Medium", 2, 3))

    =IF(Probability@row = "Low", 1, IF(Probability@row = "Medium", 2, 3))


    Then multiply them together:

    =IF(Impact@row = "Low", 1, IF(Impact@row = "Medium", 2, 3)) * IF(Probability@row = "Low", 1, IF(Probability@row = "Medium", 2, 3))

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!