Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Conditional Formatting - allowing for Blank Cells

I have a form that we are setting up to calculate the number of days someone
may have missed their due date on a project. We have if cell value is
greater than 0 it turns the cell red if we have if the cell value is less
than or = to 0 it turns green. But since not all of the projects have been
entered if the cell is blank it still turns green. Any ideas to write a
condition that recognizes a null value. I already tried if cell value is
"null" - it didn't work.

Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 427
Default Conditional Formatting - allowing for Blank Cells

use a formula
like =if(cell<"",if(cell0,1,0),0) - red
and =if(cell<"",if(cell<=0,1,0),0) -green

Steve

On Wed, 24 Jan 2007 22:55:01 -0000, Hojo
wrote:

I have a form that we are setting up to calculate the number of days
someone
may have missed their due date on a project. We have if cell value is
greater than 0 it turns the cell red if we have if the cell value is less
than or = to 0 it turns green. But since not all of the projects have
been
entered if the cell is blank it still turns green. Any ideas to write a
condition that recognizes a null value. I already tried if cell value is
"null" - it didn't work.

Thanks,

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 611
Default Conditional Formatting - allowing for Blank Cells

Hojo,

Select the cells. Note the active (white) cell.
Format - Conditional Formatting
Formula is: =AND(A2=0, A2<"") change A2 to your active cell
Click Format and set up the green.
Click "Add" and set up the red for 1 in the usual way.

--
Earl Kiosterud
www.smokeylake.com
-----------------------------------------------------------------------
"Hojo" wrote in message
...
I have a form that we are setting up to calculate the number of days
someone
may have missed their due date on a project. We have if cell value is
greater than 0 it turns the cell red if we have if the cell value is less
than or = to 0 it turns green. But since not all of the projects have
been
entered if the cell is blank it still turns green. Any ideas to write a
condition that recognizes a null value. I already tried if cell value is
"null" - it didn't work.

Thanks,



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
counting cells based on conditional formatting Marc Excel Discussion (Misc queries) 3 July 5th 06 08:37 PM
conditional formatting 2 cells debjocc Excel Worksheet Functions 6 June 2nd 06 03:21 PM
Conditional Formatting based on other cells userzero Excel Worksheet Functions 4 April 6th 06 11:16 PM
conditional formatting based on another cells formula result kstarkey Excel Discussion (Misc queries) 3 October 5th 05 09:07 PM
Copying cells with conditional formatting Benfanfromlo Excel Discussion (Misc queries) 3 February 10th 05 06:12 PM


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