Formula for Name separated by Commas
Hello,
Is there a formula that can give me all of the text to the left of a comma and all of the text to the right of a comma? I have a list of names and my LEFT FIND formulas aren't working correctly.
For example,
My list has names like this
Adam, Smith
Susan-Anne, Smith
Bob, Wilson
I need a First Name Column and a Last Name column
Thanks,
Best Answer
-
As long as there's just one comma in each name represented, you can separate them into first/last with these formulas:
First =LEFT(Name@row, FIND(",", Name@row) - 1)
Last =RIGHT(Name@row, LEN(Name@row) - FIND(",", Name@row) - 1)
Jason Tarpinian - Sevan Technology
Smartsheet Aligned Partner
Answers
-
As long as there's just one comma in each name represented, you can separate them into first/last with these formulas:
First =LEFT(Name@row, FIND(",", Name@row) - 1)
Last =RIGHT(Name@row, LEN(Name@row) - FIND(",", Name@row) - 1)
Jason Tarpinian - Sevan Technology
Smartsheet Aligned Partner
-
That did work. Thank you so much!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 351 Global Discussions
- 198 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 135 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 443 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!