How to Split First and Last Name in Excel

Ever found yourself with a column full of names in the format "JohnDoe" in your Excel spreadsheet, wishing you could separate them into "First Name" and "Last N...

Ever found yourself with a column full of names in the format "JohnDoe" in your Excel spreadsheet, wishing you could separate them into "First Name" and "Last Name"? You're not alone. This simple task can save you time and make data analysis easier. Here's a step-by-step guide on how to split a column in Excel to separate first and last names.

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

Before we dive in, ensure your names are in the correct format, i.e., "FirstNameLastName". If not, you might need to clean your data first. Now, let's get started!

How to Separate First and Last Name in Excel
How to Separate First and Last Name in Excel

Using the Text to Columns Feature

The Text to Columns feature is Excel's built-in tool designed for this very purpose. It can split a column based on a specified delimiter, such as a space or a comma.

How To Split First and Last Name in Excel Sheet - How to Split Cells in Excel
How To Split First and Last Name in Excel Sheet - How to Split Cells in Excel

Here's how to use it:

Step 1: Select the Column

How to Split Full Names to First, Middle and Last Names by Comma
How to Split Full Names to First, Middle and Last Names by Comma

First, select the entire column containing the full names. If your data starts from the second row, ensure you've selected the entire column, not just the used range.

Step 2: Access the Feature

Next, click on the "Data" tab in the Excel ribbon. In the "Data Tools" group, click on "Text to Columns". Alternatively, you can use the shortcut Ctrl + Shift + & (ampersand) on Windows or Command + Shift + & on Mac.

Excel Joining Two Text Columns First Name Last Name with Concatenation
Excel Joining Two Text Columns First Name Last Name with Concatenation

Step 3: Choose the Delimiter

In the "Text to Columns" dialog box, select "Delimited" and click "Next". Then, choose the delimiter based on your data. For names in the format "FirstNameLastName", select "Space".

Step 4: Choose the Destination

Excel: Split First and Last Name (Easily!)
Excel: Split First and Last Name (Easily!)

On the "Column data format" screen, ensure the column data format is set to "Text". Then, click on the "Destination" button. In the "New column destination" dialog box, select the cell where you want the first name to appear. Excel will automatically place the last name in the cell to the right.

Click "OK" to close the "New column destination" dialog box, then click "Finish" to complete the process.

Split First & Last Name Using Power Query | MyExcelOnline
Split First & Last Name Using Power Query | MyExcelOnline
a blue background with the text split first and last names next to columns on it
a blue background with the text split first and last names next to columns on it
How to split the cells in excel
How to split the cells in excel
How to Split Text Data of a Cell to Column in Excel - ExcelDataPro
How to Split Text Data of a Cell to Column in Excel - ExcelDataPro
How to Separate Full Name to First & Last Name in Excel One Column to Two
How to Separate Full Name to First & Last Name in Excel One Column to Two
a woman in an orange shirt is sitting at a desk and has the words split first / last name on it
a woman in an orange shirt is sitting at a desk and has the words split first / last name on it
How to Split Text to Columns in Excel with Multiple Delimiters using TEXTSPLIT in Excel Formula
How to Split Text to Columns in Excel with Multiple Delimiters using TEXTSPLIT in Excel Formula
How to Switch First and Last Name in Excel with Comma - ExcelDemy
How to Switch First and Last Name in Excel with Comma - ExcelDemy
How to Split Text in Cells with Flash Fill in Excel
How to Split Text in Cells with Flash Fill in Excel
a green and black background with the words split full name to first & last name
a green and black background with the words split full name to first & last name
Split inconsistent text like a pro in Excel
Split inconsistent text like a pro in Excel
Split First & Last Name Using Text to Columns | MyExcelOnline
Split First & Last Name Using Text to Columns | MyExcelOnline
a man is smiling with the words split cells first & last names
a man is smiling with the words split cells first & last names
Merge Two Columns in Excel with First Name and Last Name - ExcelDemy
Merge Two Columns in Excel with First Name and Last Name - ExcelDemy
How To Split Text Into Multiple Columns Using Text to Column In Excel
How To Split Text Into Multiple Columns Using Text to Column In Excel
How to Split Full Name into First Name, Middle Name and Last Name in Excel Using Text to Column
How to Split Full Name into First Name, Middle Name and Last Name in Excel Using Text to Column
How to Split Names in Excel for Cleaner Data (Includes practice file)
How to Split Names in Excel for Cleaner Data (Includes practice file)
Split names in Excel: separate first and last name into different columns
Split names in Excel: separate first and last name into different columns
How to Split Full Names To First And Last Names By Comma
How to Split Full Names To First And Last Names By Comma
Excel Split Names Tutorial
Excel Split Names Tutorial

Using Flash Fill

Introduced in Excel 2013, Flash Fill is a powerful tool that can learn from your manual data entry and apply the pattern across your entire dataset.

Here's how to use it:

Step 1: Manually Split a Few Names

Manually type the first name and last name in two separate cells below the full names. Excel will learn from this pattern.

Step 2: Use Flash Fill

Select the entire column containing the full names. Then, click on the "Data" tab in the Excel ribbon. In the "Data Tools" group, click on "Flash Fill". Excel will automatically split the column into first names and last names.

If you're not satisfied with the result, you can always undo the action by pressing Ctrl + Z (Windows) or Command + Z (Mac).

And there you have it! Two simple methods to split a column in Excel and separate first and last names. Happy data analyzing!