Remove Extra Commas in Join/Collect?
I have a great formula of JOIN and COLLECT together that pulls info from 11 columns. It pulls strings if they meet certain conditions with commas as a delimiter.
But if the conditions are not met, I have a bunch of commas next to each other. E.g. , , , EX1, , EX4, , , , and in some cases, just 11 commas.
Is there a way to only show the strings if they meet the conditions, keep them separated by commas but then nothing else? I.e. if there are 2 commas next to each other, to not show in the cell. I'm willing to use a helper column for this. The e.g. above would look like "EX1, EX4" and if there are no conditions met, the cell would be blank.
Thank you
Best Answer
-
Add in a second instance of the range you are pulling from and use the criteria of
@cell <> ""
This means it will not pull blanks which in turn will get rid of those extra columns.
Answers
-
Hello @SYSPK ,
Would you be able to share the formula you are currently using, as well as a screenshot of how it looks in your sheet?
Regards
Sean
-
Add in a second instance of the range you are pulling from and use the criteria of
@cell <> ""
This means it will not pull blanks which in turn will get rid of those extra columns.
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!