Join text in Excel: TEXTJOIN, CONCAT and &

To put first and last names, address parts or codes into one cell, TEXTJOIN joins them with a separator and can skip empty cells. In older Excel the & operator works.

In other languages: METİNBİRLEŞTİR (Türkçe), ОБЪЕДИНИТЬ (Русский); ARALIKBİRLEŞTİR (Türkçe), СЦЕП (Русский)Only in Excel 2019 / Microsoft 365

Syntax

TEXTJOIN(delimiter, ignore_empty, text1, [text2], …)

Arguments

delimiter
The separator: " " (space), ", " and so on.
ignore_empty
TRUE to skip empty cells.
text1
The cells or range to join.

Example

Join first and last name with a space in one cell.

AB
1First nameLast name
2AyselMəmmədova
3MuradƏliyev

Type the formula in C2

The formula in your Excel

  • English Excel=TEXTJOIN(" ",TRUE,A2,B2)
  • Türkçe Excel=METİNBİRLEŞTİR(" ";DOĞRU;A2;B2)
  • Русский Excel=ОБЪЕДИНИТЬ(" ";ИСТИНА;A2;B2)

"Aysel Məmmədova" and "Murad Əliyev".

✨ Have the AI explain this formula

Useful tips

  • Works in every version: =A2&" "&B2.
  • CONCAT joins without a separator: =CONCAT(A2," ",B2).

Common errors

  • #NAME? — Excel 2016 and earlier have no TEXTJOIN or CONCAT; use &.