Risk Management Formula
I have two columns named Probability and Occurrence. Both the columns has a closed list. User have to select from Very Low (1), Low (2), Medium (3), High (4) and Very High (5). When the users select medium from one column and high from the second column then the third column should multiply the 3 x 4 = 12. The third column should give me the number 12.
Any suggestions?
Best Answers
-
Ok. In that case we would use a nested IF statement to convert the Probability data into the appropriate number then do the same for the Occurrence data. Once those are converted into numbers, you can use a basic formula to multiply them together into our Score column.
[Probability Helper]:
=IF(Probability@row = "Very Low", 1, IF(Probability@row = "Low", 2, IF(Probability@row = "Medium", 3, IF(Probability@row = "High", 4, 5))))
[Occurrence Helper]:
=IF(Occurrence@row = "Very Low", 1, IF(Occurrence@row = "Low", 2, IF(Occurrence@row = "Medium", 3, IF(Occurrence@row = "High", 4, 5))))
Score:
=[Probability Helper]@row * [Occurrence Helper]@row
-
You can choose which column(s) to apply the formatting to by clicking on the link titled "entire row".
Answers
-
There a a few different ways this can be accomplished. You could use helper columns to convert the Probability and Occurrence columns into the numbers then multiply those numbers together. You could create a longer formula that does it all in one column. Or you can build out a quick grid and use a formula to reference it.
Which option sounds like what you would prefer?
-
I am not a programmer and need some help with the syntax. Thanks!
-
It depends on which solution you would prefer. Do you want a larger formula in one column, two medium sized formulas in some helper columns, or a smaller formula that references a 5x5 table?
-
two medium size are ok. Thanks!
-
Ok. In that case we would use a nested IF statement to convert the Probability data into the appropriate number then do the same for the Occurrence data. Once those are converted into numbers, you can use a basic formula to multiply them together into our Score column.
[Probability Helper]:
=IF(Probability@row = "Very Low", 1, IF(Probability@row = "Low", 2, IF(Probability@row = "Medium", 3, IF(Probability@row = "High", 4, 5))))
[Occurrence Helper]:
=IF(Occurrence@row = "Very Low", 1, IF(Occurrence@row = "Low", 2, IF(Occurrence@row = "Medium", 3, IF(Occurrence@row = "High", 4, 5))))
Score:
=[Probability Helper]@row * [Occurrence Helper]@row
-
Is there is any way, I can also add different colors to each selection. If it's Very Low then it's yellow, Low is orange, etc.
=IF(Probability@row = "Very Low", 1, IF(Probability@row = "Low", 2, IF(Probability@row = "Medium", 3, IF(Probability@row = "High", 4, 5))))
-
Do you mean the cell fill color? If that is the case, then you would use conditional formatting.
-
Yes. I tried it but it highlights the entire row based on my column 1 formatting. I want to apply different format to different cells based on above criteria.
-
You can choose which column(s) to apply the formatting to by clicking on the link titled "entire row".
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!