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
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!