Joining a first name and a last name in Excel takes one formula and a quick drag down the column. This guide covers the ampersand, CONCAT and TEXTJOIN, plus how to turn the results into plain text. It suits anyone tidying a contact list in Excel for Windows or Mac.
YouTube video: How to Combine Text in Excel (First and Last Name)
Caption availability is unknown. Check the CC control in the YouTube player.
Choose a chapter (11)
- Video length
- 3 min 28 s
- Time to do it
- 5 minutes
- Difficulty
- Easy
- Steps
- 8
What you need
Steps
Open the sheet that has first names in one column and last names in another. Note the row where your data starts, usually row 2 under the headers.
Click the first empty cell beside the data and type =A2&" "&B2, then press Enter. The ampersand joins the cells and the space in quotes separates the names.
Grab the fill handle at the bottom right corner of the cell and drag it down your rows. Every row now shows a full name.
You can also type =CONCAT(A2," ",B2) for the same result. In Excel 2016 or older, use =CONCATENATE(A2," ",B2) instead.
To join a whole range in one go, use =TEXTJOIN(" ",TRUE,A2:B2). The TRUE setting skips blank cells so you do not get double spaces.
For last name first, write =B2&", "&A2. Put the comma and space inside the quotes to get Smith, John.
Select the new column, copy it, then choose Paste Special and Values. On Mac press Command+Control+V, on Windows press Ctrl+Alt+V, then pick Values.
Check your results. If you see JohnSmith with no gap, the space is missing from the quotes in your formula.
Tips and common mistakes
Type the space inside double quotes, like " ", or the names will run together.
Use TRIM on messy source data to strip extra spaces before you join the cells.
Paste as Values before you delete or sort the original columns, otherwise the formulas break.
TEXTJOIN needs Excel 2019 or Microsoft 365, so stick with the ampersand in older versions.
Questions
Why do my combined names have no space?
The gap between the names comes from the text inside the quotes. Add a space between the quote marks, or use TEXTJOIN with a space separator.
Which method should I use?
The ampersand is quickest for two cells. Use TEXTJOIN when you join several cells and want blank cells skipped.
Does this work in Google Sheets?
Yes. The ampersand, CONCAT and TEXTJOIN all work in Google Sheets with the same syntax.
The notes are drafted automatically from video details and general task knowledge. How the guide was prepared
Report a correction


