How do I split first name last name into two cells?
Judith Campf
✭✭✭✭
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
- 66.7K Get Help
- 438 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 509 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives