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

I know basically how conditional formatting works, but have encountered a
slight problem. I have a column of figures (whole numbers) in which there
are some blanks. I want to use conditional formatting to change the cell
colors to RED if the number is in the range 0 to 99, ORANGE if it is -1 to
-7, and BLUE if it is below -7. This bit I can do, however, if the cell has
no value in it I need it to stay white.
The conditional formatting appears to regard having a blank cell as the same
as having a zero in it, so it changes to RED.
Is there a way round this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,358
Default Conditional formatting

On the red portion, it would be something like this:
=AND(A1=0,A1<=99,A1<"")
--
** John C **

"ukredskin" wrote:

I know basically how conditional formatting works, but have encountered a
slight problem. I have a column of figures (whole numbers) in which there
are some blanks. I want to use conditional formatting to change the cell
colors to RED if the number is in the range 0 to 99, ORANGE if it is -1 to
-7, and BLUE if it is below -7. This bit I can do, however, if the cell has
no value in it I need it to stay white.
The conditional formatting appears to regard having a blank cell as the same
as having a zero in it, so it changes to RED.
Is there a way round this?

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

condition 1 =AND(A1=0,A1<=99,A1<"")

condition 2 =AND(A1<=-1,A1=-7)

condition 3 =A1<-7



On Oct 24, 6:52*pm, ukredskin
wrote:
I know basically how conditional formatting works, but have encountered a
slight problem. *I have a column of figures (whole numbers) in which there
are some blanks. *I want to use conditional formatting *to change the cell
colors to RED if the number is in the range 0 to 99, ORANGE if it is -1 to
-7, and BLUE if it is below -7. *This bit I can do, however, if the cell has
no value in it I need it to stay white.
The conditional formatting appears to regard having a blank cell as the same
as having a zero in it, so it changes to RED.
Is there a way round this?


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
Formatting cells in a column with conditional formatting? shamor Excel Discussion (Misc queries) 8 May 19th 08 10:11 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


All times are GMT +1. The time now is 07:16 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"