Need to add calculation that includes possible leap year based on agreement date
I need to calculate the expiration date based off how many years an agreement is and need the date to end the same date as the agreement date. See columns below. I need to make sure the Option Period Expiration Date is the same month and day and the day seems to be wrong in the formula when there is a leap year and I can't figure out how to do the calculation when there is a leap year. There are sometimes when the year is 2019 and it needs to be 5 years and there are two leap years. How do I do this?
Best Answer
-
You should be able to use this...
=DATE(YEAR([Agreement Date]@row) + [Option Period (Years)]@row, MONTH([Agreement Date]@row), DAY([Agreement Date]@row))
Answers
-
You should be able to use this...
=DATE(YEAR([Agreement Date]@row) + [Option Period (Years)]@row, MONTH([Agreement Date]@row), DAY([Agreement Date]@row))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!