Ignore Blanks When Using Char(10)
Hello, I am having display issues when using Join Collect and Char(10).
=JOIN(COLLECT([Helper Site 1]@row + CHAR(10) + [Helper Site 2]@row + CHAR(10) + [Helper Site 3]@row + CHAR(10) + [Helper Site 4]@row + CHAR(10), [Helper Site 1]@row + CHAR(10) + [Helper Site 2]@row + CHAR(10) + [Helper Site 3]@row + CHAR(10) + [Helper Site 4]@row + CHAR(10), @cell <> ""))
Results:
How do I get the blank to not display and have the 444 Site 4 to move up?
Best Answer
-
@MichaelO1 It would not stop, because they are separate, they are not nested, in this case.
Answers
-
Unfortunately you are going to have to separate out your formula.
if([helper site 1]@row = "", "", [helper site 1]@row + char(10)) + if([helper site 2]@row = "", "", [helper site 2]@row + char(10))
something like that
-
Hello, wouldn't that formula stop if helper site 1 is blank and not look at helper site 2, 3, 4, etc?
-
@MichaelO1 It would not stop, because they are separate, they are not nested, in this case.
-
Thank you Samuel it worked!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!