How do I calculate an expiration date from a specific date column
I want to use the date in Column A plus "X" months so that Column B populates a new future date. What's the syntax I can copy/paste into Column B?
Example -
Column A (Contract Effective Date) - 5/29/2020
Column B (Contract Expires on Date) in 4 month. Should = 9/29/2020
***"X" months can change as it may not be the same every time. I think I will be updating the formula every time.
Answers
-
Hi Debra. If you create a column for the contract length in days, the formula in B would be =[Effective Date]1 + [Contract Length]1. Viv
-
Hi @Debra Humes
this will work for contract durations that do NOT go beyond the end of next year:
=DATE(IF((MONTH(Created@row) + Duration@row) < 13, YEAR(Created@row), YEAR(Created@row) + 1), IF((MONTH(Created@row) + Duration@row) < 13, MONTH(Created@row) + Duration@row, MONTH(Created@row) + Duration@row - 12), DAY(Created@row))
The start date is in the 'Created Column' and the contract lengths (in FULL months) is in the column called 'Duration'.
Keep in mind that X months from now might be a weekend or holiday.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!