Referencing Multi-Select Dropdown in a Formula to Get Elements On One Line
Hey everyone,
By default, if you a cell in a multi-select dropdown column with more than one option selected and then copy/paste that cell or reference it in a formula, each element is pasted on a separate line, like this:
Is it possible to get all the elements on one line with commas, like this?
Thanks!
School of Sheets (Smartsheet Partner)
If my answer helped please accept and react w/💡Insightful, ⬆️ Vote Up, ❤️Awesome!
Best Answer
-
Yes. Try something like this...
=SUBSTITUTE([Multi Select Column]@row, CHAR(10), ", ")
CHAR(10) (line break) is the delimiter used by default in multi-select columns, so we use the SUBSTITUTE function to replace that with the "comma space" delimiter that you wanted.
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
-
Yes. Try something like this...
=SUBSTITUTE([Multi Select Column]@row, CHAR(10), ", ")
CHAR(10) (line break) is the delimiter used by default in multi-select columns, so we use the SUBSTITUTE function to replace that with the "comma space" delimiter that you wanted.
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!
-
Worked like a charm, thanks much Paul!
School of Sheets (Smartsheet Partner)
If my answer helped please accept and react w/💡Insightful, ⬆️ Vote Up, ❤️Awesome!
-
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
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!