How to split 'Full Name' into two columns for 'First' and 'Last' name??

Any ideas on how to achieve this? http://office.microsoft.com/en-us/excel-help/split-names-by-using-convert-text-t o-columns-HA001149851.aspx

Mac OS X (10.6.1)

Posted on Jan 3, 2011 5:49 PM

Reply
2 replies

Jan 3, 2011 6:22 PM in response to Tom Synnott

The feature is not in Numbers but you can do it with formulas.

If the names are of the format lastname, firstname and are in column B then
column C formula for first name is =TRIM(RIGHT(B,LEN(B)-FIND(",",B)))
column D formula for last name is =LEFT(B,FIND(",",B)-1)

These simple formulas require that there be at least one character, a comma, and one other character (in that order). Anything less will result in an error. There can be a space after the comma; it will be removed.

Jan 4, 2011 5:02 AM in response to Tom Synnott

If:

A1 = Fistname Lastname

For firstname:

(First Name) B1 =SUBSTITUTE($A1," " & $C1, "")

For the Last name:

(Last Name) C1 =RIGHT(A1,LEN(A1)-FIND("#",SUBSTITUTE(A1," ","#",LEN(A1)-LEN(SUBSTITUTE(A1," ","")))))

If

A1 = Lastname, Firstname

(Last Name) B1 =SUBSTITUTE($A1,", " & $C1, "")

(First Name) C1 =RIGHT($A1,LEN($A1)-FIND("#",SUBSTITUTE($A1," ","#",LEN($A1)-LEN(SUBSTITUTE($A1," ","")))))


Let me know if you need one that traps multiple commas or middle names.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to split 'Full Name' into two columns for 'First' and 'Last' name??

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.