Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default Conditional formatting

Hi,

I want to turn one cell green (f45) based on another cell (a45) having a
zero in it.

Seems simple enough, and I thought it would be as straightforward as:

=a1=0

I should also mention that this is condition 3. The first 2 conditions a

=A45=MAX(A45:B45) format is red
=B45=MAX(A45:B45) format is blue

The reason I need a third condition is that sometimes the source cells will
have zeroes in, so I need this to be reflected as a colour other than those
used for conditions 1 and 2, as excel is currently returning a format of red
for source cells with zero in.

Thanks in advance for your help.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default Conditional formatting

You need to make the 0 condition your first condition. If you have it as
your last condition, and A45 was zero and B45 was 12, then the condition of
A45=MAX(A45:B45) will be met first.

Condition 1:
=A45=0

Condition 1:
=B45=MAX(A45:B45)

Condition 1:
=A45=MAX(A45:B45)

HTH,
Paul

"Kierano" wrote in message
...
Hi,

I want to turn one cell green (f45) based on another cell (a45) having a
zero in it.

Seems simple enough, and I thought it would be as straightforward as:

=a1=0

I should also mention that this is condition 3. The first 2 conditions
a

=A45=MAX(A45:B45) format is red
=B45=MAX(A45:B45) format is blue

The reason I need a third condition is that sometimes the source cells
will
have zeroes in, so I need this to be reflected as a colour other than
those
used for conditions 1 and 2, as excel is currently returning a format of
red
for source cells with zero in.

Thanks in advance for your help.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 156
Default Conditional formatting

Try putting your 3rd condition first. Conditional formatting finds the
first "True" value in the contitions and then stops, so since 0 might
be the max for your range a true value will result in condition1 and
will never get to condition 3.

HTH

Sandy


Kierano wrote:
Hi,

I want to turn one cell green (f45) based on another cell (a45) having a
zero in it.

Seems simple enough, and I thought it would be as straightforward as:

=a1=0

I should also mention that this is condition 3. The first 2 conditions a

=A45=MAX(A45:B45) format is red
=B45=MAX(A45:B45) format is blue

The reason I need a third condition is that sometimes the source cells will
have zeroes in, so I need this to be reflected as a colour other than those
used for conditions 1 and 2, as excel is currently returning a format of red
for source cells with zero in.

Thanks in advance for your help.


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
sorting a range with conditional formatting renie Excel Worksheet Functions 2 June 2nd 06 10:43 PM
conditional formatting glitches Kat Excel Discussion (Misc queries) 2 May 26th 06 08:16 PM
Keeping conditional formatting when sorting Andrea A Excel Discussion (Misc queries) 0 April 4th 06 03:00 PM
conditional formatting Rich Excel Discussion (Misc queries) 2 April 1st 06 10:27 AM
cannot use ISEVEN or ISODD functions in Conditional Formatting Scott Paine Excel Worksheet Functions 6 December 6th 05 09:44 PM


All times are GMT +1. The time now is 11:41 AM.

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"