ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Conditional Formatting - Not all colors work? (https://www.excelbanter.com/new-users-excel/184263-conditional-formatting-not-all-colors-work.html)

PSS

Conditional Formatting - Not all colors work?
 
I am using the below to auto change color if it meets the condition...

=IF(F26=0,IF(OR((F26)<=2,(F26)=-1),"GREEN",

IF(AND((F26)<=2.5,(F26)<=-1.5),"AMBER","RED")),

IF(AND((F26)=2,(F26)<=-1),"GREEN",

IF(AND((F26)=2.5,(F26)=-1.5),"AMBER","RED")))

Any help is appreciated.

--
J~

Barb Reinhardt

Conditional Formatting - Not all colors work?
 
In 2003, when you set up a conditional format, you can choose one color for
the condition. If you want to do something like what you are showing, you're
going to need to use a Worksheet_Change event and code something like this:

http://www.developersdex.com/vb/mess...2677&r=5771007

--
HTH,
Barb Reinhardt



"PSS" wrote:

I am using the below to auto change color if it meets the condition...

=IF(F26=0,IF(OR((F26)<=2,(F26)=-1),"GREEN",

IF(AND((F26)<=2.5,(F26)<=-1.5),"AMBER","RED")),

IF(AND((F26)=2,(F26)<=-1),"GREEN",

IF(AND((F26)=2.5,(F26)=-1.5),"AMBER","RED")))

Any help is appreciated.

--
J~



All times are GMT +1. The time now is 02:48 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com