|  

» Separating First and Last Names Using Formulas

To separate the name John Smith, in cell A1, use two formulas:

The formula that extracts the first name is:

=LEFT(A1,FIND(" ",A1))

The formula that extracts the last name is:

=MID(A1,FIND(" ",A1)+1,LEN(A1))

The FIND formula returns the starting position of one text string within another text string.
Screenshot // Separating First and Last Names Using Formulas
Separating First and Last Names Using Formulas
Rate This Tip
12 34 5
Rating: 4.34     Views: 57696
No comments have been submitted.
Click here to post comment
For Registered Users
Name
Comment Title
Comments