Conditional search and return
My "Start" column has dates for each row; the "Primary" column has ~20 unique values and the sheet has ~80 rows with no parent rows; the "Task" column is mostly unique in each row instance. I am trying to return the minimum "Start" value to an "Order" column based on some keywords in the "Task" column for every unique "Primary" group, and when there are no keywords present for the group, I would like to return an early date, e.g. 1970-01-01.
I have had no luck with combinations of 'IF(),' 'MIN(),' 'MATCH(),' and 'INDEX()' -- I could theoretically do this with an SQL-esque type query, but am unsure how do so or if that is possible.
Any tips?
Best Answer
-
I would start by suggesting a MIN/COLLECT combo, but I can't be sure without seeing an example. Are you able to provide a screenshot of your sheet with sensitive/confidential data removed, blocked, and/or replaced with mock data as needed?
Answers
-
I would start by suggesting a MIN/COLLECT combo, but I can't be sure without seeing an example. Are you able to provide a screenshot of your sheet with sensitive/confidential data removed, blocked, and/or replaced with mock data as needed?
-
The collect function achieved what I needed in conjunction with a helper column. Thanks, Paul!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!