Adding one word in front of selections in multi-select dropdown column
Anyone know of a formula that would do what I've manually done in the screenshot below? I'm trying to add one word in front of each multi-select option selected and put into a new column.
Best Answer
-
The only way I can think of would be (aside from manually) to create a reference table. The reference table could be structured a few different ways depending on the level of flexibility you need.
You would then use a JOIN/COLLECT/HAS combo to pull in the various matches.
The most flexibility in the reference table would be to have the first column set as your prefix, the second column would be the list, and the third column would be a formula to join the two together into your desired string.
=[Suffix Column]@row + " - " + [Item Column]@row
The formula to pull everything in from the reference table would look something like this:
=JOIN(COLLECT({Reference Table 3rd Column}, {Reference Table 2nd Column}, HAS(Multi@row, @cell)), CHAR(10))
Answers
-
The only way I can think of would be (aside from manually) to create a reference table. The reference table could be structured a few different ways depending on the level of flexibility you need.
You would then use a JOIN/COLLECT/HAS combo to pull in the various matches.
The most flexibility in the reference table would be to have the first column set as your prefix, the second column would be the list, and the third column would be a formula to join the two together into your desired string.
=[Suffix Column]@row + " - " + [Item Column]@row
The formula to pull everything in from the reference table would look something like this:
=JOIN(COLLECT({Reference Table 3rd Column}, {Reference Table 2nd Column}, HAS(Multi@row, @cell)), CHAR(10))
-
@Paul Newcome - you are a GENIUS! THANK YOU THANK YOU THANK YOU!!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!