Excluding cells from COLLECT based on value
Hi All,
I am trying to write a COLLECT which excludes results based on the value of a cell, similar to how NOT(ISBLANK(@cell)) works.
Below is a formula I have made which works, but I was hoping there was a more succinct way to achieve the same result
=JOIN(IF([Audio Language]153 <> "English", COLLECT([Audio Language]153:Courier153, [Audio Language]153:Courier153, NOT(ISBLANK(@cell))), COLLECT([Subtitle Language]153:Courier153, [Subtitle Language]153:Courier153, NOT(ISBLANK(@cell)))), " - ")
Comments
-
That looks like it's about it. Based on how I'm reading it, I wouldn't be able to provide a more efficient way of writing it. I would call it a job well done.
The only bits you could change would be to specify ISNUMBER, ISTEXT, or ISDATE, but the only way that would work is if every field you want to join is going to be the same format (number, text, or date), but the way you have it written it will collect every format so long as it's not blank.
It's the most comprehensive way of writing it without having a bunch of extra mess written in.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!