Conditional Formatting..

Sergio_Montenegro

Board Regular
Joined
Feb 23, 2008
Messages
108
Can you have more than one rule relating to a single cell when using conditional formatting... For example:

Cell C3 = 10
Cell C23 = 12
Cell C33 = 15

What I want to do is change the fill in Cell C3 to a coulorur depeding on it's value against the other 2...

If Cell C3 is lower than both then the fill is green
If Cell C3 is higher than Cell 23 but lower than Cell 33 then the fill is orange
If Cell C3 is higher than both C23 and C33 then the fill is red...

Can this be done (and does it make sense)

Thanks in advance

Serge...
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Try

If Cell C3 is lower than both then the fill is green
=AND(C3 < C23,C3 < C33)

If Cell C3 is higher than Cell 23 but lower than Cell 33 then the fill is orange
=AND(C3 > C23,C3 < C33)

If Cell C3 is higher than both C23 and C33 then the fill is red...
=AND(C3 > C23,C3 > C33)
 
Upvote 0
Try

If Cell C3 is lower than both then the fill is green
=AND(C3 < C23,C3 < C33)

If Cell C3 is higher than Cell 23 but lower than Cell 33 then the fill is orange
=AND(C3 > C23,C3 < C33)

If Cell C3 is higher than both C23 and C33 then the fill is red...
=AND(C3 > C23,C3 > C33)

VoG, thanks very, very much that works a treat....

Cheers

Serge
 
Upvote 0

Forum statistics

Threads
1,224,505
Messages
6,179,152
Members
452,891
Latest member
JUSTOUTOFMYREACH

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