Calculating risk

Grazzyj

New Member
Joined
Feb 10, 2017
Messages
15
Hi All,

I need a formula to look at values in 3 columns and then based on what is displayed assign a score. The first column is a status (green, yellow, red), the 2nd is a yes or no column and so is the 3rd. So for example if the first column is red and the other 2 are "yes" then it needs to assign a score of 5 for risk level. Then say if the first column is yellow and the second is "yes" but the 3rd is "no" then assign a different score.

Is this possible?

Thanks in advance guys.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Hi,

Maybe this:-

The key to calculating :
no=0yes=1green=1yellow=2red=3

<tbody>
</tbody>


D1 =SUMPRODUCT(COUNTIF(A1,{"green","yellow","red"}),{1,2,3})+COUNTIF(B1:C1,"yes")

ABCD
1greennono1
2greennoyes2
3yellowyesyes4
4redyesyes5
5rednono3
6redyesno4

<colgroup><col width="70" span="5" style="width:52pt"> </colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,216,759
Messages
6,132,548
Members
449,735
Latest member
Gary_M

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