What is the formula to separate first and last name in Excel?
John Castro
Published Feb 11, 2026
What is the formula to separate first and last name in Excel?
Read the steps
- Add an empty column by right-clicking on the top of the column next to the existing column of names, then select Insert.
- Click the Data tab.
- Click on the top of the column with your contacts’ names to highlight the whole column.
- Click Text to Columns.
- Select “Delimited” and click Next.
How do I combine first name and last name in Excel?
There are two functions that can combine the first and last names into one cell quickly.
- 1. = Concatenate(A2, ” “,B2) Step 1: In a blank cell, such as C2, enter the formulas of =Concatenate(A2, ” “,B2), see screenshot:
- 2. = A2&” “&B2.
How do you create a last name in Excel?
Select the Cell D2, write the formula =RIGHT(A2,LEN(A2)-SEARCH(” “,A2,SEARCH(” “,A2,SEARCH(” “,A2)+1))) It will return the last name from the cell A2.
Is there a way to separate names in Excel?
Split Names tool – fastest way to separate names in Excel Select any cell containing a name you want to separate and click the Split Names icon on the Ablebits Data tab > Text group. Select the desired names parts (all of them in our case) at click Split.
How do you concatenate first name and last name?
Select the cell containing the first name (A2) followed by a comma(,) Put a space enclosed in double quotes (“ “), since you want the first and last name separated by a space. Select the cell containing the last name (B2). In our example, your formula should now be: =CONCATENATE(A2,” “,B2).
How do I consolidate a list of names in Excel?
Select the upper-left cell of the area where you want the consolidated data to appear. On the Ribbon, Choose Data > Consolidate to view the Consolidate dialog: In the Function box, click the summary function that you want Excel to use to consolidate the data.
Is last name before comma?
However, in English, when a comma is between two names, it usually indicates “Last name, First Name.” When writing “First name Last name,” there should not be a comma between the two names.
How do I merge two cell names in Excel?
Combine text from two or more cells into one cell
- Select the cell where you want to put the combined data.
- Type = and select the first cell you want to combine.
- Type & and use quotation marks with a space enclosed.
- Select the next cell you want to combine and press enter. An example formula might be =A2&” “&B2.
What does colon mean in Excel?
The colon tells Excel to include all cells between the two endpoint cell references. If I just wanted to input the B column into a function, the reference would be B1:B7.
How do you separate last names in Excel?
Separate First and Last Names in Excel. To separate the first and the last name from a cell in Microsoft Excel, you can use a combination of a few functions. Use the “Left” function combined with “Search” function for picking the first name and forthe last name use the “Right” function combined with “Len” function and “Search” function.
How do you name a formula in Excel?
Excel will automatically use named ranges that you select when entering a formula. You can also insert a name directly into a formula. On the formulas tab of the ribbon, click the Use in formula menu and select the name you want to add. You can also bring up the paste name dialog box with the keyboard shortcut F3.
How to switch or flip name in Excel?
Steps to switch or flip name in Excel Prepare the following working to revers the first and last name within cells in Excel sheet. Type the following given formula in Cell B2 =MID (A2&” “&A2,FIND (” “,A2)+1,LEN (A2)) and press enter to get the result. Copy the formula of Cell B2 to rest of the cells in which you want to flip or switch the first and last name.
How to concatenate first letters of names/cells in Excel?
Click on the first cell of the column where you want the combined names to appear (C2).