Adding 1 month to date over multiple years - errors
Hello,
I have a sheet in which I need a formula to advance a date by 1 month, over multiple years. I have used the below formula, which works to advance within the same year, and move from Dec to Jan, but every month after the new year has somehow changed the day in my date.
=IFERROR(DATE(YEAR([Jan '24 RCVD]@row), MONTH([Jan '24 RCVD]@row) + 1, DAY([Jan '24 RCVD]@row)), DATE(YEAR([Jan '24 RCVD]@row) + 1, 1, DAY([Jan '24 RCVD]@row)))
See screen shot, below. I want the day of the month to be the same in each cell, I cannot figure out why the day changed from 30 to 2, and February was skipped.
Any ideas?
Answers
-
Hi @Natalia Kataoka,
It seems the reason your February month jumped into March is due to February only have 28/29 days depending on the year. I would imagine your formula would work if your date(s) were for the 1st of the month. If you can't make these the 1st of the month, then you may be stuck manually updating the February date for each year unfortunately.
Travis C, PMP
Smartsheet Leader with 5+ years of SS experience
Let's connect: LinkedIn - Travis C.
If my answer was sufficient, pleaseupvote and mark my response as answered.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65K Get Help
- 443 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 129 Brandfolder
- 150 Just for fun
- 70 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!