Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Empty Date Cell as Zero

I am trying to tie a formula to a cell that contains a starting date.
However, when this "starting date" cell is empty, I want the
corresponding formula to read it as zero. Because the "starting date"
cell is formatted as a date, the corresponding formula seems to still
show blank cell as having a default date in it, and returns a value for
that cell.

How can I make this blank cell be read as "null" or void of data to the
cooresponding formula?

Here's the detail:

A1 The Cell a Date Would Be Input (currently blank)
A2 The formula: IF(A10,A1,0)

Currently, the formula returns a value of "1/0", which is the current
month/day format of the blank cell. I want it to return "0", since no
data is in A1.

Thanks!!

~Rip

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default Empty Date Cell as Zero

Try this: =IF(ISBLANK(A1),"0",A1) and right align the cell
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

wrote in message
ups.com...
I am trying to tie a formula to a cell that contains a starting date.
However, when this "starting date" cell is empty, I want the
corresponding formula to read it as zero. Because the "starting date"
cell is formatted as a date, the corresponding formula seems to still
show blank cell as having a default date in it, and returns a value for
that cell.

How can I make this blank cell be read as "null" or void of data to the
cooresponding formula?

Here's the detail:

A1 The Cell a Date Would Be Input (currently blank)
A2 The formula: IF(A10,A1,0)

Currently, the formula returns a value of "1/0", which is the current
month/day format of the blank cell. I want it to return "0", since no
data is in A1.

Thanks!!

~Rip



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
insert date Larry Excel Worksheet Functions 28 July 15th 06 02:41 AM
why a reference to an empty cell is not considered empty Nicoscot Excel Discussion (Misc queries) 10 March 10th 06 05:36 AM
Date Range within one cell Cachod1 New Users to Excel 5 October 18th 05 03:30 AM
Changing Cell formats to date fields automatically PCLIVE Excel Worksheet Functions 3 April 12th 05 10:34 PM
Addition to Turn cell red if today is greater or equal to date in cell Rich New Users to Excel 2 December 9th 04 02:06 AM


All times are GMT +1. The time now is 05:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"