text to formula help needed: risk colors

gn28

New member
Joined
Jun 14, 2015
Messages
5
Reaction score
0
Points
0
Excel Version(s)
office 365
Hi everyone,

I have a risk tracker basic risk colors (red, green, amber, grey) for 4 risk categories (scope, budget, resources, schedule) and I want to turn them into a number to help me generate an overall risk level for each project.
I would like to give the following values: green=1, amber=10, red=100, grey=0, so a project with 1 amber and 3 green statuses would have a Risk Score of 103 (examples below).

Could someone please help me with a formula to calculate the Risk Score automatically based on the Red/Amber/Green/Grey values in the risk columns?

project name
Scope R.
Budget R.
Resource R.
Schedule R.
Risk Score
Project 1RedGreenGreenAmber112
Project 2AmberGreenGreenGreen13


Thanks in advance !
 
Try this

Code:
=SUMPRODUCT(COUNTIF(B2:E2,{"Green","Amber","Red","Grey"})*{1,10,100,1})
 
Try this

Code:
=SUMPRODUCT(COUNTIF(B2:E2,{"Green","Amber","Red","Grey"})*{1,10,100,1})

apologies for the extra spam. I know I am doing something wrong but I can't figure out what.
Hopefully the attachment with the error screenshot works.
 

Attachments

  • Capture.JPG
    Capture.JPG
    58.6 KB · Views: 9
What SPAM???

What is your PC's locale? I suggest you try this:

=SUMPRODUCT(COUNTIF(B2:E2;{"Green";"Amber";"Red";"Grey"})*{1;10;100;1})
 
What SPAM???

What is your PC's locale? I suggest you try this:

=SUMPRODUCT(COUNTIF(B2:E2;{"Green";"Amber";"Red";"Grey"})*{1;10;100;1})

Thanks a lot. That did it :brick:
Swiss PC setup.
 
= European locale = semi-colons instead of commas (because of the potential confusion with a decimal separator)

Glad to have helped. :)
 
Back
Top