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!
Help Article Resources
Categories
Check out the Formula Handbook template!