Finding the earliest date for each vendor
I have a list of contracts that need to be audited periodically. I want to put a column into the list that will show the earliest date required to do the audit based on the vendor and contract expiration dates. In other words, if Vendor A has 10 contracts with expiration dates over the next 5 years, what is the earliest expiration date (MIN)? That will be the audit date of all contracts for that vendor. The chart below shows what I am looking to do. I think I need the MIN formula for the Expiration date column, but I can't figure out how to say the range is in the Vendor column. I'm fairly new to Smartsheet and appreciate the help!
Best Answers
-
You will need a MIN/COLLECT like so:
=MIN(COLLECT([Expiration Date]:[Expiration Date], Vendor:Vendor, @cell = Vendor@row))
-
Happy to help. 👍️
Answers
-
You will need a MIN/COLLECT like so:
=MIN(COLLECT([Expiration Date]:[Expiration Date], Vendor:Vendor, @cell = Vendor@row))
-
Paul, thank you so much! That worked perfectly once I made the result column a Date column. I learn new things everyday. 😊
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 62 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!