adding months to an inputted date

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need a function that will take a date that a user has typed in a different
cell and will then add two months to the date. For instance, if I type
"2/12/05" in B1, then I want C2 to be: "4/12/05". Thank you for any help
that you may be able to give.

Logan
 
=DATE(YEAR(B1),MONTH(B1)+2,DAY(B1))

however what do you want the date to be in C2 if B1 is
01/30/05?

Regards,

Peo Sjoblom
 
Hi Logan

=DATE(YEAR(B1),MONTH(B1)+1,DAY(B1))

HTH. Best wishes Harald
 
Correct <g>

--
Regards,

Peo Sjoblom

(No private emails please)
 

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

Similar Threads


Back
Top