Removing blanks from Join Collect output
I have a sheet that is pulling in data for metrics from another sheet. Using Join(Collect() I get the output I want but, it does include the blank cells from the range. I would like to not have them included….
=JOIN(COLLECT({PECR Range 6}, {PECR 2}, Region1), SUBSTITUTE([Column6]1, "-", ""))
Answers
-
Try this:
=JOIN(COLLECT({PECR Range 6}, {PECR 2}, Region1, {PECR Range 6}, not(blank(@cell))), SUBSTITUTE([Column6]1, "-", ""))
Darren Mullen, join the Smartsheet Guru Elite
Get my 7 Smartsheet tips here
Author of: Smartsheet Architecture Solutions
-
Thanks, tired this out but it came back as #UNPARSEABLE :( I did go back to my reference sheet just to double check that the 'blank' spaces were actually blank, and they are.
HOWEVER… if you substitute not(blank(@cell)) with not(isblank(@cell)) we are golden :) Thanks for pointing me in the right direction.
-
@Matthew 5 Ugh. Yes, I made that same mistake the other day. I was just typing it from memory.
The correct function is indeed ISBLANK() ! I'm glad you were able to figure it out haha. Sorry for the wrong function name!
Darren Mullen, join the Smartsheet Guru Elite
Get my 7 Smartsheet tips here
Author of: Smartsheet Architecture Solutions
-
Perfect
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 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!