Conditional Formating question

Solved/Closed
sforde Posts 2 Registration date Wednesday 8 June 2016 Status Member Last seen 8 June 2016 - 8 Jun 2016 à 15:15
sforde Posts 2 Registration date Wednesday 8 June 2016 Status Member Last seen 8 June 2016 - 8 Jun 2016 à 16:09
Hi I need help with changing the color of a cell based on the Text values in the cells below it. So say B1 is the cell i want to change. B2-B7 has text values 'Yes', 'No', 'In Progress' I want to set this up so if 4 out of 6 has 'No' B1 changes to a red color and vice versa if 'Yes' It changes to green. Can someone help me with this?

1 response

RayH Posts 122 Registration date Tuesday 31 August 2010 Status Contributor Last seen 20 June 2016 26
8 Jun 2016 à 15:45
Select cell B1 then add the rules below.

For the Green:
=COUNTIF($B$2:$B$7,"Yes")>=4

For the Red:
=COUNTIF($B$2:$B$7,"No")>=4
sforde Posts 2 Registration date Wednesday 8 June 2016 Status Member Last seen 8 June 2016
8 Jun 2016 à 16:09
Thanks this is perfect