is it possible to add 6 months to a given date?
i.e. if in cell A1 the date is 04/05/03, then cell B1 should return the date
plus 6 months ie 04/12/03. the only way ive been able to get something near
is by adding 182.5 which is half a year in days but this obviously doesnt
account for the different months having varying amounts of days.
Any Ideas?
Regards
Hoyt
RagDyeR - 08 Jul 2006 20:07 GMT
You could try this:
=DATE(YEAR(A1),MONTH(A1)+6,DAY(A1))

Signature
HTH,
RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================
is it possible to add 6 months to a given date?
i.e. if in cell A1 the date is 04/05/03, then cell B1 should return the date
plus 6 months ie 04/12/03. the only way ive been able to get something near
is by adding 182.5 which is half a year in days but this obviously doesnt
account for the different months having varying amounts of days.
Any Ideas?
Regards
Hoyt
Bob Phillips - 08 Jul 2006 22:16 GMT
To add 6 months, but cater for that month having less days and not
spilling-over,
=MIN(DATE(YEAR(A1),MONTH(A1)+{7,6},DAY(A1)*{0,1}))

Signature
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
> is it possible to add 6 months to a given date?
> i.e. if in cell A1 the date is 04/05/03, then cell B1 should return the date
[quoted text clipped - 7 lines]
>
> Hoyt
Roger Govier - 08 Jul 2006 22:29 GMT
Bob
You always can type faster than me<bg>

Signature
Regards
Roger Govier
> To add 6 months, but cater for that month having less days and not
> spilling-over,
[quoted text clipped - 17 lines]
>>
>> Hoyt
Bob Phillips - 09 Jul 2006 09:54 GMT
That's because I don't type it. I have a library of stuff that I just cut
and paste from in many instances <vbg>

Signature
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
> Bob
> You always can type faster than me<bg>
[quoted text clipped - 20 lines]
> >>
> >> Hoyt
hoyt - 09 Jul 2006 11:14 GMT
Thanks Bob, this works Brilliant.
Regards
Hoyt
> To add 6 months, but cater for that month having less days and not
> spilling-over,
[quoted text clipped - 14 lines]
> >
> > Hoyt
Roger Govier - 08 Jul 2006 22:20 GMT
Hi
If you have the Analysis Toolpak loaded, Tools>Addins>Analysis Toolpak
then
=EOMONTH(A1,6)
Otherwise the formula recently posted by Bob Phillips
=MIN(DATE(YEAR(A1),MONTH(A1)+{7,6},DAY(A1)*{0,1}))
which caters for the fact that adding 6 months to 31 March, returns 01
October and not 30 September when adding 6 months by the standard
method.

Signature
Regards
Roger Govier
> is it possible to add 6 months to a given date?
> i.e. if in cell A1 the date is 04/05/03, then cell B1 should return
[quoted text clipped - 10 lines]
>
> Hoyt
SteveW - 09 Jul 2006 09:39 GMT
Hope you can get Excel to do it as you've made a mistake doing it by hand
:)
6 calendar months on would be 04/11/03.
Nice solution using MIN( with array - must get used to using that more.
> is it possible to add 6 months to a given date?
> i.e. if in cell A1 the date is 04/05/03, then cell B1 should return the
[quoted text clipped - 9 lines]
>
> Hoyt

Signature
Steve (3)