splitting Last Name, First Name

B

buggles

I have a field with Last name separated by a comma and then First Name (ie
Smith, John). The names are not the same length and comma is not at same
place (if so, text to colum would work).

Is there a way to split field to get last name in one colum and first name
in another colum?
thanks
Sal
 
J

Jim May

With your data beginning in A1

In B1 enter In C1 enter
=LEFT(A1,FIND(",",A1)-1) =RIGHT(A1,(LEN(A1)-FIND(",",A1)-1))

and copy down
 
B

buggles

Jim May said:
With your data beginning in A1

In B1 enter In C1 enter
=LEFT(A1,FIND(",",A1)-1) =RIGHT(A1,(LEN(A1)-FIND(",",A1)-1))

and copy down

thanks, much JIM!!
 
A

Alan

'The names are not the same length and comma is not at same
place (if so, text to colum would work).'

Text to column will work, use the delimited option and select the comma as
the delimiter,
Regards,
Alan.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Grouping Names in Mail Merge 0
Formula To Split Name 5
Is this possible? 0
How to separate Smith, John 2
Auto Fill Word Documents 4
Mail Merge Help 1
copying editing cells 2
Sorting Multiple Tables 1

Top