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.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!