MIN(COLLECT) with multiple criteria
I need to collect the earliest date on a sheet based on a company but also based on whether an employee made the contact or a consultant.
I started with: =MIN(COLLECT({Date}, {Company}, [Company]@row)) - and this worked overall, but not sure how to add in the second parameter.
This is and example of my source sheet:
And on my formula sheet I have separate columns for EE/Consultant
How do I take my original formula so that it returns a date only if an employee made the contact? I think I would =MIN(COLLECT({Date}, {Company}, [Company]@row, {Employee}, ___________)) but I'm not sure and everything I'm trying isn't working.
Would love some thoughts.
Best Answer
-
I figured this out!
=MIN(COLLECT({Date}, {Company}, Company@row, {Employee}, "<>"))
Works like a charm!
Answers
-
I figured this out!
=MIN(COLLECT({Date}, {Company}, Company@row, {Employee}, "<>"))
Works like a charm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 348 Global Discussions
- 199 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 455 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 282 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!