Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default 2 conditions using conditional formatting

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.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default 2 conditions using conditional formatting

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

"jimar" wrote:

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.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default 2 conditions using conditional formatting

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
_______


"Joel" wrote in message
...
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

"jimar" wrote:

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.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default 2 conditions using conditional formatting

Thanks for the reply. It worked perfectly

"Jon Peltier" wrote:

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
_______


"Joel" wrote in message
...
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

"jimar" wrote:

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.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting with 4 or more conditions Philipp Ehrenstein Excel Worksheet Functions 6 November 27th 06 05:39 PM
Need 6 Conditions / Conditional Formatting Rothman Excel Worksheet Functions 4 March 14th 06 10:07 PM
More than 3 Conditional Formatting Conditions Beth H Excel Worksheet Functions 12 January 6th 06 07:35 PM
Conditional formatting wth more than 3 conditions Sue Excel Worksheet Functions 3 August 19th 05 10:26 PM
more than 3 conditions in conditional formatting - possible? rob curtis Excel Discussion (Misc queries) 11 August 17th 05 04:02 PM


All times are GMT +1. The time now is 03:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"