help with a formula question

Michelle Barnett
Michelle Barnett ✭✭✭✭

Hi,

I'm trying to use this formula to evaluate whether a value should appear Red, Green or Yellow by multiplying to other values in the sheet, but I keep getting an #unparsable error.

=IF(sum([Severity]1*[Probability]1) >"1.0", "Red", IF(AND(sum[Severity]1*[Probability]1) >".50", (sum[Severity]1*[Probability]1) <".75"), "Yellow", "Green"))

I'm not sure why - if someone else has run into this issue, please let me know how to resolve it.

thanks,

Michelle

Best Answers

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    Answer βœ“

    You have a misplaced parenthesis. Move the opening parenthesis from before the 3rd "sum" to immediately after it.

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    Answer βœ“

    Knowing what you want it to do, try this one instead...

    =IF(Severity@row * Probability@row > .75, "Red", IF(Severity@row * Probability@row > .5, "Yellow", "Green"))

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    Answer βœ“

    Happy to help. πŸ‘οΈ


    With nested IFs, the formula will stop on the first true value. Using that logic, if it moves past an IF then that particular IF must already be false. So by the time we get to the "Yellow" output, we already know that it must be less than .75 so there is no real need to repeat that as a criteria.

Answers