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.
-
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
- 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!