• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Using a conditional coloring *set* depending on value of a cell

Bus

New Member
This is an outstanding site for Excel.


I had a conditional formatting question for a dashboard I am developing. I would like to use different conditional formatting *sets* depending on value of a different cell.


For e.g.,


If J1=1, then if C2>98 format cell C2 green, if C2<98 format cell C2 amber

If J1=2, then if C2>95 format cell C2 green, if C2<95 format cell C2 amber

etc.


Many thanks in advance,
 
Thanks, but that's not it.


I am using a different conditional formatting color set/pallete depending on value of a different cell.
 
Bus


You will need to add 4 Conditional formats like the below to cell C2


=AND($J$1=1,$C$2>98) Set Green

=AND($J$1=1,$C$2<98) Set Amber

=AND($J$1=2,$C$2>95) Set Green

=AND($J$1=2,$C$2<95) Set Amber
 
For any 2003 users out there:

=OR(AND($J$1=1,$C$2>98),AND($J$1=2,$C$2>95)) Set Green

=OR(AND($J$1=1,$C$2<98),AND($J$1=2,$C$2<95)) Set Amber
 
Back
Top