Formula to countdown contract expiration dates
I have a sheet that lists all active contracts for my department. The sheet houses the contract details such as Contract Name, Contract ID #, Vendor, Start Date, End Date and Extension Date, etc.… I am currently using =[Expiration Date]@row - today() as the formula in an adjacent cell to countdown the days until the contract End Date. This will allow me to pull a report into a dashboard to show contracts about to expire in 60, 120, 180 days …. However, my dilemma is I also need to consider any extension dates but when I add MAX into the formula =MAX([Expiration Date]2:[Extension Date]2@row - today()), I get an “invalid” prompt. In the example below the countdown for those contracts with extensions should say 340 as the countdown days not -25. Can someone assist with the correct formula?
Best Answer
-
Hi @Linda Armstrong,
I think this formula will do what you're after:
=MAX(([Expiration Date]@row - TODAY()), ([Extension Date]@row - TODAY()))
Using some of your example data:
Any problems etc. let me know! 😊
Answers
-
Hi @Linda Armstrong,
I think this formula will do what you're after:
=MAX(([Expiration Date]@row - TODAY()), ([Extension Date]@row - TODAY()))
Using some of your example data:
Any problems etc. let me know! 😊
-
This is just wonderful. It worked like a charm. Thank you @Nick Korna!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.7K Get Help
- 472 Global Discussions
- 201 Use Cases
- 514 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 519 Show & Tell
- 35 Member Spotlight
- 3 SmartStories
- 307 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!