Odd bug in Date formula?
So here is something I have been trying to tweek with no success….
I have this column formula which takes the date in column A and gives me the updated date of same month, last day + 2 yrs (ie 11/01/24 becomes 11/30/26)
=DATE(YEAR([Appointment Month]@row) + 2, MONTH([Appointment Month]@row) + 1, 1) - 1
and it works great for every month except December. I am assuming the year changing the next month has something to do with it but I can't figure out the tweek to capture that.
Best Answer
-
It is MONTH([Appointment Month]@row) + 1 part of your formula that is throwing you off. Because you are asking it to take the month and add 1. There is no 13th month, hence the error
Michelle Choate
michelle.choate@outlook.com
Always happy to walk through any project you need help with!
Answers
-
It is MONTH([Appointment Month]@row) + 1 part of your formula that is throwing you off. Because you are asking it to take the month and add 1. There is no 13th month, hence the error
Michelle Choate
michelle.choate@outlook.com
Always happy to walk through any project you need help with!
-
Thank you. That makes sense.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 464 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 61 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!