IF date not blank

W

Wanna Learn

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
 
P

Per Jessen

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
 
D

David Biddulph

You asked more than once yesterday, and were given the answer. Please don't
keep asking the same question.
 
W

Wanna Learn

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top