Latest Date from column, if another column contains certain data
I have 2 columns: first column is a multi-select with multiple, the second column are all dates.
I want to pull the latest date by each of the items available in the multi-select
I figure its some combination of If, Large, and contains. but I'm at a loss on how to nest them together
thanks
Best Answer
-
Hi Jonathan,
Maybe this is what you're looking for?
I'm using the collect function to collect the array of dates for any row that contains the "multi" value, then returning the maximum/largest date from that set. (in the example I've highlighted the range for "dog" values).
Here's the rest of the max dates:
Answers
-
Hi Jonathan,
Maybe this is what you're looking for?
I'm using the collect function to collect the array of dates for any row that contains the "multi" value, then returning the maximum/largest date from that set. (in the example I've highlighted the range for "dog" values).
Here's the rest of the max dates:
-
I would use the same. MAX/COLLECT with a CONTAINS for the criteria.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
cmondo, this looks good, I didn't know that the collect function existed, so now it makes sense.
Thought I replied to this yesterday, so thanks again!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!