How to combine first and last names in Excel with TEXTJOIN

You will join first and last names from separate columns into one full name in Excel, and keep the result updating when the source cells change. It suits beginners who want a formula instead of typing names by hand. You need Excel 2019 or Microsoft 365 for TEXTJOIN.

YouTube video: Lesson-36 | Excel for Beginners to Advanced | join text from multiple cell to a single cell in excel

Caption availability is unknown. Check the CC control in the YouTube player.

Video length
1 min 8 s
Time to do it
5 minutes
Difficulty
Easy
Steps
7

What you need

Steps

  1. Open your sheet and put first names in column A and last names in column B, starting at row 2. Add headers in row 1 so you can see what each column holds.

  2. Click cell C2, the first empty cell beside your data. This is where the full name will appear.

  3. Type =CONCAT(A2," ",B2) and press Enter. CONCAT joins both cells and puts one space between the names.

  4. Drag the small fill handle at the bottom right of C2 down column C. Each row now builds its own full name from its A and B cells.

  5. For blank cells, use =TEXTJOIN(" ",TRUE,A2,B2) instead. The TRUE setting skips empty cells so you do not get double spaces.

  6. To include a middle name or extra column, widen the range, for example =TEXTJOIN(" ",TRUE,A2:C2). Press Enter and fill down again.

  7. To stop the names changing, copy column C, then use Paste Special > Values to replace the formulas with plain text.

Tips and common mistakes

Flash Fill (Ctrl+E) looks quick but does not update when the source names change, so use a formula for live results.

In Excel 2016 or older, TEXTJOIN is missing. Use =A2&" "&B2 to join two cells instead.

Keep the space inside quotes, " ", or the names will run together as JaneDoe.

Questions

What is the difference between CONCAT and TEXTJOIN?

CONCAT joins cells but you add each separator by hand. TEXTJOIN lets you set one delimiter and ignore empty cells, which is better for long ranges.

Why does my formula return #NAME?

TEXTJOIN is not available in Excel 2016 or older. Use the & operator, such as =A2&" "&B2, or upgrade to Excel 2019 or Microsoft 365.

Can I join a whole column at once?

Yes. Give TEXTJOIN a range like A2:A20 and it joins every value. Use TRUE to skip blanks.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Money & Office

See all