Used JOIN and SUBSTITUTE to combine data in a row. Now line spacing issue
Hello,
I have used JOIN and SUBSTITUTE to see which formula works better to combine data from a a row to a single cell. I inserted a HELPER command so that each data is on it's own line. The data is pulled correctly, however there are massive spaces between each line (see screenshot).
Does anyone have/know a way to get rid of those spaces? I'm assuming they are there to represent the columns that do not have data entered between each piece of data.
Best Answer
-
Try a JOIN/COLLECT to exclude blank cells. You can also use CHAR(10) as the delimiter to create the line break without the need for the helper cell.
=JOIN(COLLECT([MTS-3060A]@row:Camo@row, [MTS-3060A]@row:Camo@row, @cell <> ""), CHAR(10))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
@Andrée Starå any advice?
-
Try a JOIN/COLLECT to exclude blank cells. You can also use CHAR(10) as the delimiter to create the line break without the need for the helper cell.
=JOIN(COLLECT([MTS-3060A]@row:Camo@row, [MTS-3060A]@row:Camo@row, @cell <> ""), CHAR(10))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
@Paul Newcome Amazing! Works perfect now. Thank you very much.
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 379 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 302 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!