Formula Help - Risk Matrix

cwim1990

New Member
Joined
Jul 19, 2021
Messages
11
Office Version
  1. 365
Platform
  1. Windows
Can someone help me fix this formula for the section in RED.
As it stands I am just a '0' result, I have tried other ways such as IF(AND(L2="Almost Certain", M2="Extreme"), "Extreme", "Extreme") but then I get an error with any result as extreme as the consequence. I am assuming its an easy fix for someone more capable than I am with excel ;)
For reference - this is the matrix requirements:
RareInsignificantLOW
RareMinorLOW
RareModerateLOW
RareMajorMEDIUM
RareExtremeHIGH
UnlikelyInsignificantLOW
UnlikelyMinorLOW
UnlikelyModerateLOW
UnlikelyMajorMEDIUM
UnlikelyExtremeHIGH
PossibleInsignificantLOW
PossibleMinorMEDIUM
PossibleModerateMEDIUM
PossibleMajorHIGH
PossibleExtremeHIGH
LikelyInsignificantLOW
LikelyMinorMEDIUM
LikelyModerateHIGH
LikelyMajorHIGH
LikelyExtremeEXTREME
Almost CertainInsignificantMEDIUM
Almost CertainMinorHIGH
Almost CertainModerateHIGH
Almost CertainMajorEXTREME
Almost CertainExtremeEXTREME

=IF(OR(L2="", M2=""), "NIL",
IF(AND(L2="Rare", M2="Insignificant"), "Low",
IF(AND(L2="Rare", M2="Minor"), "Low",
IF(AND(L2="Rare", M2="Moderate"), "Low",
IF(AND(L2="Rare", M2="Major"), "Medium",
IF(AND(L2="Rare", M2="Extreme"), "High",
IF(AND(L2="Unlikely", M2="Insignificant"), "Low",
IF(AND(L2="Unlikely", M2="Minor"), "Low",
IF(AND(L2="Unlikely", M2="Moderate"), "Low",
IF(AND(L2="Unlikely", M2="Major"), "Medium",
IF(AND(L2="Unlikely", M2="Extreme"), "High",
IF(AND(L2="Possible", M2="Insignificant"), "Low",
IF(AND(L2="Possible", M2="Minor"), "Medium",
IF(AND(L2="Possible", M2="Moderate"), "Medium",
IF(AND(L2="Possible", M2="Major"), "High",
IF(AND(L2="Possible", M2="Extreme"), "High",
IF(AND(L2="Likely", M2="Insignificant"), "Low",
IF(AND(L2="Likely", M2="Minor"), "Medium",
IF(AND(L2="Likely", M2="Moderate"), "High",
IF(AND(L2="Likely", M2="Major"), "High",
IF(AND(L2="Likely", M2="Extreme"), "Extreme",
IF(AND(L2="Almost Certain", M2="Insignificant"), "Medium",
IF(AND(L2="Almost Certain", M2="Minor"), "High",
IF(AND(L2="Almost Certain", M2="Moderate"), "High",
IF(AND(L2="Almost Certain", M2="Major"), "Extreme",
IF(AND(L2="Almost Certain", M2="Extreme"), "Extreme",)
)
)
)
)
)
)
)
)
)
)
)
)
)
)
)
)
)
)
)
)
)
)
)
)
)
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Why not using lookup table like this?
In N2: shorter formula, using lookup table
In N5: longer vesion, without lookup table (by harcording lookup table value)

CALCULETOR - Copy.xlsx
LMNOPQRST
1LOOKUP TABLE
2RareInsignificantLOWRareInsignificantLOW
3RareMinorLOW
4RareModerateLOW
5UnlikelyExtremeHIGHRareMajorMEDIUM
6RareExtremeHIGH
7UnlikelyInsignificantLOW
8UnlikelyMinorLOW
9UnlikelyModerateLOW
10UnlikelyMajorMEDIUM
11UnlikelyExtremeHIGH
12PossibleInsignificantLOW
13PossibleMinorMEDIUM
14PossibleModerateMEDIUM
15PossibleMajorHIGH
16PossibleExtremeHIGH
17LikelyInsignificantLOW
18LikelyMinorMEDIUM
19LikelyModerateHIGH
20LikelyMajorHIGH
21LikelyExtremeEXTREME
22Almost CertainInsignificantMEDIUM
23Almost CertainMinorHIGH
24Almost CertainModerateHIGH
25Almost CertainMajorEXTREME
26Almost CertainExtremeEXTREME
Sheet2
Cell Formulas
RangeFormula
L2:M2L2=R2
N2N2=LOOKUP(2,1/($R$2:$R$26=L2)/($S$2:$S$26=M2),$T$2:$T$26)
L5L5=R9
M5M5=S11
N5N5=LOOKUP(2,1/({"Rare";"Rare";"Rare";"Rare";"Rare";"Unlikely";"Unlikely";"Unlikely";"Unlikely";"Unlikely";"Possible";"Possible";"Possible";"Possible";"Possible";"Likely";"Likely";"Likely";"Likely";"Likely";"Almost Certain";"Almost Certain";"Almost Certain";"Almost Certain";"Almost Certain"}=L5)/({"Insignificant";"Minor";"Moderate";"Major";"Extreme";"Insignificant";"Minor";"Moderate";"Major";"Extreme";"Insignificant";"Minor";"Moderate";"Major";"Extreme";"Insignificant";"Minor";"Moderate";"Major";"Extreme";"Insignificant";"Minor";"Moderate";"Major";"Extreme"}=M5),{"LOW";"LOW";"LOW";"MEDIUM";"HIGH";"LOW";"LOW";"LOW";"MEDIUM";"HIGH";"LOW";"MEDIUM";"MEDIUM";"HIGH";"HIGH";"LOW";"MEDIUM";"HIGH";"HIGH";"EXTREME";"MEDIUM";"HIGH";"HIGH";"EXTREME";"EXTREME"})
 
Upvote 0
Thankyou for the quick response.
In the main sheet1 I have a risk register, with drop down options to choose the likelihood/consequence. I am not really using the table at all - it was more just to reference what the matrix was.
I will have a play around though using the hardcoding. thankyou!
 
Last edited by a moderator:
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,249
Members
452,623
Latest member
Techenthusiast

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top