When entering data, you may have inputted full names in a single cell, but later need to separate the first name and last name into two different cells for easier management. Excel provides various methods to help you split names without re-entering data.
Below are three ways to easily split first names and last names in Excel.
Method 1: Using a Function
Step 1: Create Columns for Last Name and First Name

Step 2: Split the First Name from the Full Name Column to the First Name Column
In the first cell (E5) where you want to split the names, enter the formula =RIGHT(C5;LEN(C5)-FIND('*';SUBSTITUTE(C5;' ';'*';LEN(C5)-LEN(SUBSTITUTE(C5;' ';''))))) with C5 being the corresponding Full Name cell you want to split.

Then, copy down to the cells below by moving the mouse pointer to the bottom right corner of the cell and dragging down, so all the names in the list are split.

Step 3: Split the Last Name from the Full Name Column to the Middle Name Column
In the first cell where you want to split (D5) the last names, enter the formula =LEFT(C5;LEN(C5)-LEN(E5))
- Where: C5 is the cell containing the full name; E5 is the cell containing the first name just split.

Then, copy down to the other cells to split the last names of the corresponding cells.

Method 2: Using the Replace Dialog Box
Step 1: Create columns for Middle Name and First Name to store the data after splitting, then copy the Full Name column to the First Name column.

Step 2: Split the first name in the First Name column.
- Select (highlight) the data in the First Name column, go to the Home tab, choose Find & Select -> Replace (or press Ctrl + H) to open the Find and Replace dialog box.



Method 3: Utilizing VBA
Step 1: In your Excel file where you need to separate first and last names, navigate to the Developer tab -> Visual Basic (or press Alt + F11) to open the Microsoft Visual Basic window.

Step 2: Next, select Insert -> Module to open the code input window.

Step 3: Copy the code snippet below and paste it into the code input window you just opened.
Private Function TACH(ten As String, lg As Integer) |
Step 4: Save the code file by pressing Ctrl + S or clicking the Save icon. A dialog box will appear, press Yes to save the file.

Step 5: Return to the Excel spreadsheet, first create a column for Last Name and a column for First Name to contain the separated names.

Step 6: Split last names and first names: place the cursor in a new cell in the Last Name column and enter the formula =SPLIT(C5;0) with C5 being the cell containing the full name and press Enter.

For other last names, repeat the process or copy down to the remaining cells, and you will successfully split all last names.

Step 7: Split first names: place the cursor in a new cell in the Last Name column and enter the formula =SPLIT(C5;1) with C5 being the cell containing the full name and press Enter.

For other names, repeat the process or copy down to the remaining cells, and you will successfully split all names.

Thus, with the three methods of splitting last names and first names in Excel as instructed in the article, you can easily perform the separation. Wishing you success!