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
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 201 Industry Talk
- 430 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!