Dates Adding 9 months to 1/1/09

K

Kathleen

Hi,

Is it possible to create a formula that will add a specific number of months
to a date?

Column a1 has the begin date 1/1/09
Column b1 needs to show 9 months from 1/1/09, which would give an end date
of 10/1/09

Kathleen
 
M

macropod

Hi Kathleen,

For a date in A1:
=MIN(DATE(YEAR(A1),MONTH(A1)+9+{0,1},DAY(A1)*{1,0}))
This ensures adding 9 months to the 31st of the month, for example, won't spill over to the next month.
 
K

Kathleen

That works perfectly! Thank you!!

macropod said:
Hi Kathleen,

For a date in A1:
=MIN(DATE(YEAR(A1),MONTH(A1)+9+{0,1},DAY(A1)*{1,0}))
This ensures adding 9 months to the 31st of the month, for example, won't spill over to the next month.

--
Cheers
macropod
[Microsoft MVP - Word]


Kathleen said:
Hi,

Is it possible to create a formula that will add a specific number of months
to a date?

Column a1 has the begin date 1/1/09
Column b1 needs to show 9 months from 1/1/09, which would give an end date
of 10/1/09

Kathleen
 

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