Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 60
Default Conditional formatting a whole column but with the conditions < &

I am trying to get cells D2 thro' D71 to turn red if D65 cell formula is
63.0 and to turn yellow if D65 formula is <57.0

Formula in D65 is =D9/D10*D11*50
I have the following conditional formulas set up
Formula is =D$65"63.0"
Formula is =D$65<"57.0"
But it will only turn yellow & seems to do this as soon as I enter data is
cell D9
Please help
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Conditional formatting a whole column but with the conditions < &

By putting your comparison values in quotes you are comparing with text
strings. If you want to compare with numbers, throw away the quote marks.
--
David Biddulph

"Carolyn" wrote in message
...
I am trying to get cells D2 thro' D71 to turn red if D65 cell formula is
63.0 and to turn yellow if D65 formula is <57.0

Formula in D65 is =D9/D10*D11*50
I have the following conditional formulas set up
Formula is =D$65"63.0"
Formula is =D$65<"57.0"
But it will only turn yellow & seems to do this as soon as I enter data is
cell D9
Please help



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Conditional formatting a whole column but with the conditions < &

Formula is =D$65"63.0"
Formula is =D$65<"57.0"


Remove the quotes:

=D$6563
=D$65<57

The second formula can be made more robust so that an empty cell won't be
formatted (if D65 might ever be empty):

=AND(COUNT(D$65),D$65<57)

An empty cell will evaluate to 0 and 0 < 57.


--
Biff
Microsoft Excel MVP


"Carolyn" wrote in message
...
I am trying to get cells D2 thro' D71 to turn red if D65 cell formula is
63.0 and to turn yellow if D65 formula is <57.0

Formula in D65 is =D9/D10*D11*50
I have the following conditional formulas set up
Formula is =D$65"63.0"
Formula is =D$65<"57.0"
But it will only turn yellow & seems to do this as soon as I enter data is
cell D9
Please 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
Conditional Formatting for more than 3 conditions Neon520 Excel Worksheet Functions 1 January 9th 08 10:09 PM
More conditions for Conditional Formatting? Ed Excel Discussion (Misc queries) 1 April 13th 06 08:22 AM
Need 6 Conditions / Conditional Formatting Rothman Excel Worksheet Functions 4 March 14th 06 10:07 PM
Need more than 2 conditions in Conditional Formatting Amy Excel Worksheet Functions 6 March 9th 06 06:25 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 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"