how to do date 15/06/04 plus 5 months?

S

sokevin

hi what formula should i use if i want to work out the date of say

the 15/6/04 plus 5 months from now??

thanks :
 
D

duffy

the only way i know is to type this formula into the cell:

=DATE(YEAR(A1),MONTH(A1)+6,DAY(A1))

the cell "A1" (or any cell) will be the cell that the
original date will be in. just add in the 6 after the MONTH
(A1) to get your new date

hope that helps
 
G

Guest

sorry you said for 5 months, i gave you for 6. so, instead
of the 6 just use the 5. so your formula should look like
this:

=DATE(YEAR(A1),MONTH(A1)+5,DAY(A1))

what ever amount you need to increase, use that number.
 
N

Norman Harker

Hi Sokevin!

If there is no prospect of your date having a day number >=29:

=DATE(YEAR(A1),MONTH(A1)+5,DAY(A1)

But if the base date could have a day number >=29, you may prefer that
the date returned is the last day of the month if that day number
doesn't exist 5 months from the 1st of the base date month. In that
case use:

=DATE(YEAR(A1),MONTH(A1)+5,MIN(DAY($A$1),DAY(DATE(YEAR(A1),MONTH(A1)+6,0))))

This formula is adapted to allow copying down or across to generate a
series of dates 5 months apart.
 
Top