ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   IF date not blank (https://www.excelbanter.com/excel-discussion-misc-queries/224978-if-date-not-blank.html)

Wanna Learn[_2_]

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



Daniel.C[_3_]

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




Per Jessen

IF date not blank
 
Hi

Your formula is testing if M18 contain a single space, ie it's testing if
the cell is empty. Use this to test if the cell is empty:

=IF(M18="","", M18+60)

Regards,
Per

"Wanna Learn" <Wanna skrev i meddelelsen
...
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

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

David Biddulph[_2_]

IF date not blank
 
You asked more than once yesterday, and were given the answer. Please don't
keep asking the same question.
--
David Biddulph

"Wanna Learn" <Wanna wrote in message
...
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





Wanna Learn

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




All times are GMT +1. The time now is 07:39 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com