Conditional Formatting

Igor1207

New Member
Joined
Sep 18, 2014
Messages
1
I need some help in making a spreadsheet work as follows:

I have six columns which when filled with a Y change colour and that all looks nice and dandy!

However, I now need the column next to them to change based upon the number of Ys in the other columns.

For instance: 2Ys = LOW in text with a red background, 4Ys = MEDIUM in text with an amber background, 6Ys = HIGH in text with a green background.

Could you please let me know if this is achievable.

Thanks in advance.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
welcome to the board.

Assuming your y values are in A5:F5, try something like this in G5:

=IFERROR(CHOOSE(INT(COUNTIF(A5:F5,"Y")/2),"Low","Medium","High"),"")

Then set the appropriate conditional formatting.

**Keep in mind that this will return nothing for no y's or 1 y.
 
Upvote 0
Your conditional format formulas would be:

=G5="Low"
format as red

=G5="Medium"
format as yellow

=G5="High"
format as green
 
Upvote 0

Forum statistics

Threads
1,214,892
Messages
6,122,112
Members
449,066
Latest member
Andyg666

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