I have a formula in excel which if I give today's date, it gives me the next month's date after 1 month. Say today is 04/20/2005, so the formula in excel gives me 05/20/2005, 06/20/2005….
Here is the formula: =DATE(IF(MONTH(D4) =12, (YEAR(D4)), (YEAR(D4))), MONTH(D4) +1, DAY(D4))
I am currently trying to come up with a function that will do just that given the beginning date. So in the sheet. When I have 14 months b/w the beginning and end date, it gives me all the monthaversaries .
There is a place for the beginning months and end month on the same sheet and since the beginning month and end month can can change, it can be 4 months or 15 months or more, but based on these two dates i want a macro that will give me the month- anniversaries.
Any help would be appreciated.
Bookmarks