Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / October 2006

Tip: Looking for answers? Try searching our database.

Conditional formatting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kierano - 20 Oct 2006 14:11 GMT
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 are:

=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.
PCLIVE - 20 Oct 2006 14:32 GMT
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

> Hi,
>
[quoted text clipped - 20 lines]
>
> Thanks in advance for your help.
Sandy - 20 Oct 2006 14:34 GMT
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

> Hi,
>
[quoted text clipped - 16 lines]
>
> Thanks in advance for your help.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.