Using OR with JOIN COLLECT
I'm struggling with the syntax on this one.
I have this formula that in its current state Joins and Collects if both Sales Lead and Sales Lead 2 match [Metric Grouping].
=JOIN(COLLECT({Master_Event and Year}, {Sales Lead}, [Metric Grouping]@row, {Master Event Info Sales Lead 2}, [Metric Grouping]@row), " | ")
However, I need it to Join and collect if {Sales Lead} matches [Metric Grouping] OR {Sales Lead 2} matches [Metric Grouping]
Thanks in advance
Best Answer
-
Because it is two different ranges, you would need to add a (hidden) helper column to the source sheet that will bring in one column or the other based on your criteria and then reference that in the JOIN/COLLECT.
Answers
-
Because it is two different ranges, you would need to add a (hidden) helper column to the source sheet that will bring in one column or the other based on your criteria and then reference that in the JOIN/COLLECT.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!