## How to split full name to first and last name in Excel?

Supposing you have a name roster as the first screen shot shows in single column below, and you need to split the full name to the first name column and last name column as the second screen shot shows.

Here are two tricky methods to help you solve this problem:

- Split full name to first and last name with functions
- Split full name to first and last name with Text to Column command
- Merge the first name column and last name column into one column

**Kutools for Excel**: add 120 new features in Excel. Save one hour every day.

**Classic Menu for Office**: brings back classic menus to Office 2010 and 2013 (includes Office 365).

**Office Tab**: brings tabbed interface to Office as the use of web browser Chrome, Firefox and Internet Explorer.

**Split full name to first and last name with functions**

You can use the Left function, Right function and Find function to spit a full name to the first name and last name with following steps:

Step 1: Enter the formula of ** =LEFT(A1,FIND(" ",A1,1)-1)** in a blank cell, says Cell C1 in this case.

Step 2: Enter the formula of ** =RIGHT(A1,LEN(A1)-FIND(" ",A1,1))** in another blank cell, Cell D1.

Step 3: Select the range of C1:D13, and click the **Home** >> **Fill **>> **Down**.

Now you will see the full name column is split to the first name column and last name column at once.

Click to know how to merge the first name column and last name column into one column.

**Split full name to first and last name with Text to Column command**

It is not easy to remember the function. Please do not worry about it. The second way will guild you to split the full name column easily.

Step 1: Select the column that you will split, in this case it is A1:A13.

Step 2: Click the **Text to Column** button under **Data** Tab.

Step 3: In the Convert Text to Columns Wizard – Step 1 of 3 dialog box, check the **Delimited **option, and click **Next** button.

Step 4: in the Step 2 of 3, only check the **Space** option in the Delimiters section, and click **Next** button.

Step 5: in the step 3 of 3, check the Text option in the Column data format section, and specify the **Destination** cell.

Step 6: Click the **Finish** button.

Then you will see the full name column in separated into first name column and last name column at once.

Click to know how to merge the first name column and last name column into one column.

## Comments

=LEFT(TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",LEN(A1))),LEN(A1),1000)),FIND(" ",TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",LEN(A1))),LEN(A1),1000)),1)-1)

where A1 is the cell in which the name is located....

Its not working out to split the name contains first name, mid name, last name.

Can u please help me to split the same for the below given names.

With space & without space.

My constraint for the another category is can we split the names my upper case.

E.g (1): William J Smith

E.g (2): WilliamJSmith

I was trying to use your formula for the change of first, middle and last name in three different- different column of One complete name but I did not get correct answer of this questions, So please resolve this problem and sent me on my e-mail id.

(Note:- My e-mail id is "manishgupta.gupta884gmail.com")

i think writing formula for E.g(2)is imposible even for Mocrosoft people... however i can give you the formula for E.g(2).. go for it

(1).First name

=TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",LEN(A1))),1,LEN(A1)))

(2).Mid Name

=IFERROR(IFERROR(LEFT(TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",LEN(A1))),LEN(A1),1000)),FIND(" ",TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",LEN(A1))),LEN(A1),1000)),1)-1),RIGHT(A1,LEN(A1)-FIND(" ",A1,1))),A1)

(2).Last name

=IFERROR(RIGHT(RIGHT(A1,LEN(A1)-FIND(" ",A1,1)),LEN(RIGHT(A1,LEN(A1)-FIND(" ",A1,1)))-FIND(" ",RIGHT(A1,LEN(A1)-FIND(" ",A1,1)),1)),IFERROR(IFERROR(LEFT(TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",LEN(A1))),LEN(A1),1000)),FIND(" ",TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",LEN(A1))),LEN(A1),1000)),1)-1),RIGHT(A1,LEN(A1)-FIND(" ",A1,1))),A1))

A1 is the cell address where your name is located....

Plz note that dont copy and past the above formula, because while copy and pasting it generates some "space" in-between formulas,,, thus it will throw error... so its better to type the above formula self as-it-is...

** Even this formulas are not working, kindly give your Email ID so that i can send the excel sheet with formula,, or mail me at vinaysagarsdgmail.com

(After correcting mistake in typing)

i think writing formula for E.g(2)is imposible even for Mocrosoft people... however i can give you the formula for E.g(1).. go for it

(1).First name

=TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",LEN(A1))),1,LEN(A1)))

(2).Mid Name

=IFERROR(IFERROR(LEFT(TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",LEN(A1))),LEN (A1),1000)),FIN D(" ",TRIM(MID(SUBS TITUTE(A1," ",REPT(" ",LEN(A1))),LEN (A1),1000)),1)- 1),RIGHT(A1,LEN (A1)-FIND(" ",A1,1))),A1)

(2).Last name

=IFERROR(RIGHT(RIGHT(A1,LEN(A1)-FIND(" ",A1,1)),LEN(RI GHT(A1,LEN(A1)- FIND(" ",A1,1)))-FIND( " ",RIGHT(A1,LEN( A1)-FIND(" ",A1,1)),1)),IF ERROR(IFERROR(L EFT(TRIM(MID(SU BSTITUTE(A1," ",REPT(" ",LEN(A1))),LEN (A1),1000)),FIN D(" ",TRIM(MID(SUBS TITUTE(A1," ",REPT(" ",LEN(A1))),LEN (A1),1000)),1)- 1),RIGHT(A1,LEN (A1)-FIND(" ",A1,1))),A1))

A1 is the cell address where your name is located....

Plz note that dont copy and past the above formula, because while copy and pasting it generates some "space" in-between formulas,,, thus it will throw error... so its better to type the above formula self as-it-is...

** Even this formulas are not working, kindly give your Email ID so that i can send the excel sheet with formula,, or mail me at vinaysagarsdgmail.com

ok... Send me the sheet showing error to my e mail, so that i can correct all the errors... My id - vinaysagarsdgmail.com

thanks..

Your Great Fan!

Regards.

This post actually made my day. You cann't imagine just how much

time I had spent for this info! Thanks!

Also visit my blog post; fatih evden eve nakliyat

=TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",LEN(A1))),1,LEN(A1)))

(2).Mid Name

=IFERROR(IFERROR(LEFT(TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",LEN(A1))),LEN (A1),1000)),FIN D(" ",TRIM(MID(SUBS TITUTE(A1," ",REPT(" ",LEN(A1))),LEN (A1),1000)),1)- 1),RIGHT(A1,LEN (A1)-FIND(" ",A1,1))),A1)

(2).Last name

=IFERROR(RIGHT(RIGHT(A1,LEN(A1)-FIND(" ",A1,1)),LEN(RI GHT(A1,LEN(A1)- FIND(" ",A1,1)))-FIND( " ",RIGHT(A1,LEN( A1)-FIND(" ",A1,1)),1)),IF ERROR(IFERROR(L EFT(TRIM(MID(SU BSTITUTE(A1," ",REPT(" ",LEN(A1))),LEN (A1),1000)),FIN D(" ",TRIM(MID(SUBS TITUTE(A1," ",REPT(" ",LEN(A1))),LEN (A1),1000)),1)- 1),RIGHT(A1,LEN (A1)-FIND(" ",A1,1))),A1))

A1 is the cell address where your name is located....

Plz note that dont copy and past the above formula, because while copy and pasting it generates some "space" in-between formulas,,, thus it will throw error... so its better to type the above formula self as-it-is...

middlename:=IFERROR(LEFT(TRIM(MID(TRIM(A1),FIND(" ",TRIM(A1)),50)),FIND(" ",TRIM(MID(TRIM(A1),FIND(" ",TRIM(A1)),50)))),"No Middle Name")

lastname:=RIGHT(TRIM(A1),LEN(TRIM(A1))-FIND(" ",TRIM(A1))-IFERROR(FIND(" ",TRIM(MID(TRIM(A1),FIND(" ",TRIM(A1)),20))),0))