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
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!