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
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!