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.
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.
-
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! 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!