2 conditions using conditional formatting

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like a cell to change colour for 2 separate condidtions. Cell C1 is
default cell colour grey. 1st condition is Cell C1 to change to white if A1
= "No". 2nd condition is C1 to change to yellow if A1 = "No" and B1 = "3rd
Party". I have tried putting these in as 2 separate formulae in the
Conditional Formatting but only condition 1 works ie C1 stays white even when
"3rd Party" is in cell B1.

Any help appreciated.
 
this is a logic problem. here is the truth table for your problem

Cell A1
No Yes
No 3rd Party White Grey
B1
3rd Party Yellow Grey


You nee three forula in conditional formating

1) grey if A1 = Yes
2) White if A1= No and 3rd Party = No
3) Yellow is A1 = No and 3rd Party = yes
 
It can be simpler than this. The first condition below is unnecessary. The
real first condition is yellow if A1="No" and B1="3rd Party". The second
condition is white if A1="No".

- Jon
 
Thanks for the reply. It worked perfectly

Jon Peltier said:
It can be simpler than this. The first condition below is unnecessary. The
real first condition is yellow if A1="No" and B1="3rd Party". The second
condition is white if A1="No".

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top