Add multiple contacts to one column?
Hello,
Is there a way to add both emails directly to one column from the reference sheet? When I try I only get #INCORRECT ARGUMENT.
As you can see sometimes it happens that I don't have two names in one cell:
Current formulas that are working for individual emails, depending on if the name is before or after the ", ".
=INDEX({Email}, MATCH(LEFT(Names@row, FIND(", ", Names@row) - 1), {Email Names}, 0))
=INDEX({Email}, MATCH(RIGHT(Names@row, (LEN(Names@row) - FIND(", ", Names@row) - 1)), {Email Names}, 0))
Thank you!
Answers
-
Hi @CNaenfeldt
You can use the COUNTM() function to get the number of elements of multiple-select dropdown lists or contacts.
https://help.smartsheet.com/function/countm
Then, if the COUNTM() =2, use your two formulas. If the COUNTM() is 1, set the second email as "".
To combine two emails to Email(s), use a formula like this.
=[email 1]@row + "," + [email 2]@row
Again, if the COUNTM() is 1, return just the first email.
If you have many (N) emails, you can use JOIN(Email1:EmailN,",") and use SUBSTITUTE() to remove the last "," by a formula like SUBSTITUTE(join-result-text, "last email, ", "last email").
-
You would need to use the API if you are wanting to output email addresses that are usable for Automations.
There is currently no way to use a formula to output multiple USABLE contacts in a single cell.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!