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
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!