Thread
:
adding a month onto todays date
View Single Post
#
4
Posted to microsoft.public.excel.programming
hgrove
external usenet poster
Posts: 1
adding a month onto todays date
Frank Kabel wrote...
try
=DATE(YEAR(A1),MONTH(A1)+1,MIN(DAY(A1),DAY(DATE(Y EAR(A1),
MONTH(A1)+2,0))))
...
Why not condense that to
=A1+31-DAY(A1+31)+(MONTH(A1+31)-MONTH(A1)<2)*DAY(A1)
--
Message posted from
http://www.ExcelForum.com
Reply With Quote
hgrove
View Public Profile
Find all posts by hgrove