Hi Frank!
Re: Adding (or subtracting) months.
A minor nuance but which can solve a major problem of copying down or
across:
=DATE(YEAR(A1),MONTH(A1)+added_months,MIN(DAY($A$1),DAY(DATE(YEAR(A1),
MONTH(A1)+added_months+1,0))))
If you make the base month's day absolute reference you can then copy
down or across
Alternative for adding months is:
=EDATE($A$1,(ROW(A2)-ROW($A$1))*AddMons) '[Adds number specified in
named cell AddMons]
If our requirement is for dates to be across the page, then substitute
ROW by COLUMN. In most cases I would not use $A$1 but would use a
named cell e.g. "BaseDate" and A2 would be replaced by the address of
the cell adjacent to "BaseDate" and is the second in the series of
dates.
Or there's an approach used by Peter Dorigo:
=MIN(DATE(YEAR(A1),MONTH(A1)+ AddMons +{1,0},DAY($A$1)*{0,1}))
--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.