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
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!