Formula that will return multiple values in multi-select dropdown column
What is the trick to get the returned value to display as multiple values and not all one concatenated value?
=IF(AND(NOT(ISBLANK([Utility Team (Vertical)]@row)), ISBLANK([Telecom Team]@row), ISBLANK([Waste Team]@row)), "Utility", IF(AND(NOT(ISBLANK([Utility Team (Vertical)]@row)), NOT(ISBLANK([Telecom Team]@row)), ISBLANK([Waste Team]@row)), "Telecom;Utility", IF(AND(NOT(ISBLANK([Utility Team (Vertical)]@row)), NOT(ISBLANK([Telecom Team]@row)), NOT(ISBLANK([Waste Team]@row))), "Telecom;Utility;Waste", IF(AND(ISBLANK([Utility Team (Vertical)]@row), ISBLANK([Telecom Team]@row), NOT(ISBLANK([Waste Team]@row))), "Waste", IF(AND(ISBLANK([Utility Team (Vertical)]@row), NOT(ISBLANK([Telecom Team]@row)), NOT(ISBLANK([Waste Team]@row)), "Telecom;Waste", IF(AND(ISBLANK([Utility Team (Vertical)]@row), NOT(ISBLANK([Telecom Team]@row)), ISBLANK([Waste Team]@row)), "Telecom", "")))))))
Best Answer
-
Replace the colons with CHAR(10) to create a line break, like this:
=IF(AND(NOT(ISBLANK([Utility Team (Vertical)]@row)), ISBLANK([Telecom Team]@row), ISBLANK([Waste Team]@row)), "Utility", IF(AND(NOT(ISBLANK([Utility Team (Vertical)]@row)), NOT(ISBLANK([Telecom Team]@row)), ISBLANK([Waste Team]@row)), "Telecom" + CHAR(10) + "Utility", IF(AND(NOT(ISBLANK([Utility Team (Vertical)]@row)), NOT(ISBLANK([Telecom Team]@row)), NOT(ISBLANK([Waste Team]@row))), "Telecom" + CHAR(10) + "Utility" + CHAR(10) + "Waste", IF(AND(ISBLANK([Utility Team (Vertical)]@row), ISBLANK([Telecom Team]@row), NOT(ISBLANK([Waste Team]@row))), "Waste", IF(AND(ISBLANK([Utility Team (Vertical)]@row), NOT(ISBLANK([Telecom Team]@row)), NOT(ISBLANK([Waste Team]@row)), "Telecom" + CHAR(10) + "Waste", IF(AND(ISBLANK([Utility Team (Vertical)]@row), NOT(ISBLANK([Telecom Team]@row)), ISBLANK([Waste Team]@row)), "Telecom", "")))))))
Answers
-
Replace the colons with CHAR(10) to create a line break, like this:
=IF(AND(NOT(ISBLANK([Utility Team (Vertical)]@row)), ISBLANK([Telecom Team]@row), ISBLANK([Waste Team]@row)), "Utility", IF(AND(NOT(ISBLANK([Utility Team (Vertical)]@row)), NOT(ISBLANK([Telecom Team]@row)), ISBLANK([Waste Team]@row)), "Telecom" + CHAR(10) + "Utility", IF(AND(NOT(ISBLANK([Utility Team (Vertical)]@row)), NOT(ISBLANK([Telecom Team]@row)), NOT(ISBLANK([Waste Team]@row))), "Telecom" + CHAR(10) + "Utility" + CHAR(10) + "Waste", IF(AND(ISBLANK([Utility Team (Vertical)]@row), ISBLANK([Telecom Team]@row), NOT(ISBLANK([Waste Team]@row))), "Waste", IF(AND(ISBLANK([Utility Team (Vertical)]@row), NOT(ISBLANK([Telecom Team]@row)), NOT(ISBLANK([Waste Team]@row)), "Telecom" + CHAR(10) + "Waste", IF(AND(ISBLANK([Utility Team (Vertical)]@row), NOT(ISBLANK([Telecom Team]@row)), ISBLANK([Waste Team]@row)), "Telecom", "")))))))
-
@Adam Murphy That works! Thank you Adam!! 🤩
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!