How do I split first name last name into two cells?
I have one cell with first name last name (e.g. Judy Campf). I want to pull out "first name" and "last name" into their own columns.
This formula worked for the first name.
=LEFT([Active Teachers]@row, FIND(" ", [Active Teachers]@row) - 1)
I can't get a similar formula to work for the last name.
Thanks in advance!
Judy
Best Answer
-
Hi @Judith Campf,
Try this:
=RIGHT([Full Name]@row, LEN([Full Name]@row) - FIND(CHAR(10), SUBSTITUTE([Full Name]@row, " ", CHAR(10), LEN([Full Name]@row) - LEN(SUBSTITUTE([Full Name]@row, "-", "")))))
Answers
-
Hi @Judith Campf,
Try this:
=RIGHT([Full Name]@row, LEN([Full Name]@row) - FIND(CHAR(10), SUBSTITUTE([Full Name]@row, " ", CHAR(10), LEN([Full Name]@row) - LEN(SUBSTITUTE([Full Name]@row, "-", "")))))
-
That did it! My sincerest thanks.
Judy
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives