Conditional Formatting using 3 colours for percentage ranges.

Anga73

New Member
Joined
Sep 7, 2014
Messages
4
Hi, I have searched but not able to find what I'm after.

I am trying to return 3 different colours for percentage ranges in excel.

I can get two colours to work - but not the 3rd.

This is what I'm trying:

IF$F$76>=95% (Green)
IF$F$76>=85% (Yellow)
IF$F$76<85% (Red)

I can get Red and Green to work, or Red and Yellow, but not all 3.

Anyone know what I'm doing wrong?
 
Last edited:

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

FDibbins

Well-known Member
Joined
Feb 16, 2013
Messages
6,723
1. highlight the range you want to apply the conditional formatting to
2. on the home tab, styles, select CF
3. select new rule, select use formula
4. enter =$F$76>=95

Repeat 3 and 4 for the other 2 rules
 
Upvote 0

FDibbins

Well-known Member
Joined
Feb 16, 2013
Messages
6,723
I just noticed that your rules seem a little mixed up?
IF$F$76>=95 (Green)
IF$>=85 (Yellow)
IF<85 (Red)
Unless that is a typo, your 2nd rule is pretty much redundant. If a value is >= 85, the 1st rule will always kick in, while the 2nd rule will be ignored
 
Upvote 0

Anga73

New Member
Joined
Sep 7, 2014
Messages
4
Yeah that is my problem - the second rule is being ignored - I want anything under 85% to show as red, anything over 95% to be green and any between 86 and 94% to be yellow.
 
Upvote 0

FDibbins

Well-known Member
Joined
Feb 16, 2013
Messages
6,723
Then you only need 2 rules...

=$F$76<.85 Red
=$F$76>.95 Green

Then set the default color of the cell to yellow
 
Upvote 0

Anga73

New Member
Joined
Sep 7, 2014
Messages
4
Totally makes sense and was my next option - thanks for your help and so quick, really appreciate it.
 
Upvote 0

mfexcel

Well-known Member
Joined
Jan 8, 2009
Messages
791
Mind the sequence of the conditional formatting.
the 1st condition should be >=0.95
the 2nd condition: >=0.85
the 3rd condition: <0.85


Yeah that is my problem - the second rule is being ignored - I want anything under 85% to show as red, anything over 95% to be green and any between 86 and 94% to be yellow.
 
Upvote 0

Anga73

New Member
Joined
Sep 7, 2014
Messages
4
Mind the sequence of the conditional formatting.
the 1st condition should be >=0.95
the 2nd condition: >=0.85
the 3rd condition: <0.85

OMG - that works :) Thank you, thank you - I didn't realise the sequence played a part!
 
Upvote 0

Forum statistics

Threads
1,190,916
Messages
5,983,569
Members
439,850
Latest member
suhailrocks786

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
Top