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
- Customer Resources
- 64.5K Get Help
- 430 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!