SOLVED

Excel - Risk Rating calculation using "If(or)" function

Copper Contributor

I have copied this formula - =@IF(OR($M10="",$L10=""),"",INDEX(Matrix_Rating,MATCH($M10,Matrix_Likelihood,0),VALUE(LEFT($L10))))

from one Excel spreadsheet to another to perform the same Risk Rating task, however it does not work on the second Excel spreadsheet. I have checked to see if the original sheet has a  reference page but it doesn't. So I am confused as to why this formula works on one Excel spreadsheet and not the other. Can you help me please.

16 Replies

@Jblake998 

 

Here's your problem:

Yea_So_0-1626474911158.png

The one that says #REF

I don't see Matrix_Rating defined there too

@Yea_So 

 

Yes your right. It must refer to that "Risk_Matrix" in another document.

So I guess I'll have to do it using an inbuilt table in this document.

 

Thanks for your help.

@Jblake998 

 

You can define that range in the Risk_Matrix Sheet as a named range "Matrix_Rating and your formula should work as is.

I'm still learning how to use advanced features in Excel, If I send this file to you, could you fix this for me please.

@Jblake998 

 

What's wrong with it, I will try to help you.

I don't know how to define the Table range in the formula for the Risk Rating cell to auto fill with the Category of Risk (H18 etc.) and the colour for the risk rating.

@Jblake998 

 

I downloaded the file you shared, I will study it and I will ask you questions to verify if my comprehension to the item is correct before applying the appropriate formula

Okay Thanks.
I appreciate your help.

@Jblake998 

 

Here you go.  The formula is:

=INDEX(Consequence,MATCH(LEFT('Electrical-Commission '!W15,1),LEFT('Risk Matrix'!$A$5:$A$10,1),0),MATCH(LEFT(X15,1),LEFT('Risk Matrix'!$A$5:$F$5,1),0))

 

and it seems to bring the color along with the color in the matrix as well.

 

@Yea_So 

 

Hello Yea,

 

Thanks for that doing this for me.

When I put the formula into the first Risk rating cell "Y15" and press enter the following error message comes up. Can you send back the document that you have corrected please. 

@Jblake998 

I did it was attached to my last response, look at the bottom of my previous response.

best response confirmed by Jblake998 (Copper Contributor)
Solution

@Jblake998 

This is the workbook that i sent on my response, and it works. Isn't it the right value?

Yea_So_0-1626580521069.png

 

hello Yea,

Sorry I didn't see the attachment. it is very small.
I am happy to pay you for your time.
How much do I owe you please.

@Jblake998 

 

1,000,000.00 lol, just mark the post as the best answer.  Thank you

 

Cheers

Thank you so much.
I really appreciate your help.
:smiling_face_with_smiling_eyes:

@Jblake998 

 

You are very welcome John.

 

Cheers

1 best response

Accepted Solutions
best response confirmed by Jblake998 (Copper Contributor)
Solution

@Jblake998 

This is the workbook that i sent on my response, and it works. Isn't it the right value?

Yea_So_0-1626580521069.png

 

View solution in original post