#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default IF date not blank

Hello - Excel 2003-
THis is my formula =IF(M18=" "," ", M18+60)
In Cell M18 person will enter a date
Cell M 19 is formated as date
( if cell M18 is blank then blank, otherwise the date on cell M18 plus 60
days )
The problem is if I add any date to cell M18 I get the correct answer , but
if cell M18 is blank I get a date
February 29 1900
How Do I correct this so that if M18 is blank them M19 is blank


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 133
Default IF date not blank

Can't it be :
=IF(M18="","", M18+60)
HTH
Daniel

Hello - Excel 2003-
THis is my formula =IF(M18=" "," ", M18+60)
In Cell M18 person will enter a date
Cell M 19 is formated as date
( if cell M18 is blank then blank, otherwise the date on cell M18 plus 60
days )
The problem is if I add any date to cell M18 I get the correct answer , but
if cell M18 is blank I get a date
February 29 1900
How Do I correct this so that if M18 is blank them M19 is blank



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default IF date not blank

You got some answers to your posts from yesterday.

Wanna Learn wrote:

Hello - Excel 2003-
THis is my formula =IF(M18=" "," ", M18+60)
In Cell M18 person will enter a date
Cell M 19 is formated as date
( if cell M18 is blank then blank, otherwise the date on cell M18 plus 60
days )
The problem is if I add any date to cell M18 I get the correct answer , but
if cell M18 is blank I get a date
February 29 1900
How Do I correct this so that if M18 is blank them M19 is blank



--

Dave Peterson
  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 318
Default IF date not blank

Hello Everyone and Thank you . I apologize but as far as I knew I only
posted the question once. the other times I kept getting an error message-
question not posted try later. This happened a few times yesterday and so I
tried this morning and the posting went trough.

"Wanna Learn" wrote:

Hello - Excel 2003-
THis is my formula =IF(M18=" "," ", M18+60)
In Cell M18 person will enter a date
Cell M 19 is formated as date
( if cell M18 is blank then blank, otherwise the date on cell M18 plus 60
days )
The problem is if I add any date to cell M18 I get the correct answer , but
if cell M18 is blank I get a date
February 29 1900
How Do I correct this so that if M18 is blank them M19 is blank


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
blank date shows up as s 1/0/00 Mary Excel Worksheet Functions 2 July 17th 08 12:00 AM
Blank Date NotGood@All Excel Worksheet Functions 4 March 28th 08 05:27 PM
Date changes to ### when next cell is blank - why? pamjmac27 Excel Discussion (Misc queries) 6 December 12th 07 07:43 PM
Date Formula Problem - Leave date blank if Null Gayla Excel Worksheet Functions 5 April 24th 07 09:42 PM
How do I make a blank cell with a date format blank? Pivot Table/Query Excel Worksheet Functions 6 June 14th 05 11:19 PM


All times are GMT +1. The time now is 01:25 AM.

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"