PC Review


Reply
Thread Tools Rate Thread

how do have 2 conditional formats for one cell

 
 
Ken
Guest
Posts: n/a
 
      22nd Nov 2008
I want to change the font colour of a cell to Blue if another cell has a
certain value such as Y and if another cell has a value of 1 I want the
background of that cell to go blue. What I am finding is if I have 2
conditions for this one cell the first one overides the second condition ie
if the font goes red because it satisfies the 1st condition it then won't
change the cell to blue if the second condition is satisfied is there anyway
I can make that happen.
 
Reply With Quote
 
 
 
 
Ron Rosenfeld
Guest
Posts: n/a
 
      22nd Nov 2008
On Sat, 22 Nov 2008 13:33:01 -0800, Ken <(E-Mail Removed)> wrote:

>I want to change the font colour of a cell to Blue if another cell has a
>certain value such as Y and if another cell has a value of 1 I want the
>background of that cell to go blue. What I am finding is if I have 2
>conditions for this one cell the first one overides the second condition ie
>if the font goes red because it satisfies the 1st condition it then won't
>change the cell to blue if the second condition is satisfied is there anyway
>I can make that happen.


You have to list your rules in the proper order.

So, given

B1: Might have a "Y"
B2: Might have a 1

Rule 1 (applying to any cell you wish:

=AND(B1="Y",B2=1)
format red font with blue fill

then, if that fails, it will look at rule 2

=B1="Y"
format red font with "no color" fill
--ron
 
Reply With Quote
 
Shane Devenshire
Guest
Posts: n/a
 
      23rd Nov 2008
Hi,

Although I'm not sure, it sounds like you may need three rule, two of which
you already have:

=AND(B3=1,C3="Y") Red Font, Blue Background
=B3=1 Blue Background
=C3="Y" Red Font

The order of the last two don't matter by the first rule must be first in
this case as was stated in the last post.

If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Ken" wrote:

> I want to change the font colour of a cell to Blue if another cell has a
> certain value such as Y and if another cell has a value of 1 I want the
> background of that cell to go blue. What I am finding is if I have 2
> conditions for this one cell the first one overides the second condition ie
> if the font goes red because it satisfies the 1st condition it then won't
> change the cell to blue if the second condition is satisfied is there anyway
> I can make that happen.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: more than 3 conditional formats per cell Gord Dibben Microsoft Excel Misc 0 20th Dec 2006 09:42 PM
Why can't I use more than 3 conditional formats per cell? =?Utf-8?B?SmlsbGlhbiBS?= Microsoft Excel Worksheet Functions 1 16th Oct 2006 06:53 PM
is there any way to have more than 3 conditional formats per cell =?Utf-8?B?R3JlZyBM?= Microsoft Excel Misc 8 19th Sep 2006 12:51 AM
how do I get 8 Conditional Formats for 1 Cell =?Utf-8?B?Q3JhaWc=?= Microsoft Excel Worksheet Functions 2 28th Dec 2005 04:42 PM
Conditional Cell Formats-Colors Cindyjk Microsoft Excel Discussion 1 18th Feb 2005 05:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:58 PM.