Learn Excel
EN
Sets how numbers, dates and formulas look, so everything works just like your own Excel.

Home › Excel functions › CONCATENATE

CONCATENATE in Excel: Combine Text with &, CONCAT and TEXTJOIN

CONCATENATE joins text from several cells into one. Today there are three better ways to do the same thing: the & operator, CONCAT and TEXTJOIN. This guide shows all four and when to use which.

In this guide
  1. CONCATENATE syntax
  2. Basic example
  3. Try it yourself
  4. The & operator
  5. CONCAT and TEXTJOIN
  6. Numbers and dates
  7. Line breaks
  8. Quotation marks
  9. Join with a condition
  10. Which one to use
  11. More CONCATENATE examples
  12. Keep learning
  13. FAQ

CONCATENATE syntax

=CONCATENATE(text1, [text2], …)

Each argument is a piece of text, a cell, or a number. CONCATENATE still works in every version of Excel, but Microsoft now recommends CONCAT instead.

Basic example: full names

ABC
1First nameLast nameFull name
2AnnaJansenAnna Jansen
3BenSmithBen Smith
=CONCATENATE(A2, " ", B2)

The " " in the middle adds the space. Without it, you'd get "AnnaJansen".

CONCATENATE practice: try it yourself

Reading is one thing, typing it is another. Build the formula below step by step: the tips tell you what to type next, and you can click or drag across cells to add them, just like in Excel.

Task: Join the first and last name into one full name in C2: =CONCATENATE(A2," ",B2)

The & operator: shortest and most used

=A2 & " " & B2

This does exactly the same as CONCATENATE and works in every version. Most Excel users prefer it because it's shorter and easy to read. You can mix in any text: ="Dear " & A2 & "," returns Dear Anna,.

CONCAT and TEXTJOIN: join whole ranges

CONCATENATE needs every cell listed separately. The newer functions (Excel 2019, 2021, 2024 and Microsoft 365) accept ranges.

  • =CONCAT(A2:C2) joins A2, B2 and C2 without any separator.
  • =TEXTJOIN(", ", TRUE, A2:A6) joins a whole column with a comma and space between each value: Apple, Banana, Cherry, Mango, Pear.
=TEXTJOIN(delimiter, ignore_empty, text1, [text2], …)

Set ignore_empty to TRUE to skip empty cells, so you don't get double commas.

Keep number and date formatting

When you join a number or date, Excel uses the raw value and drops the formatting. A date becomes a serial number like 46338, and $1.20 becomes 1.2. Use TEXT to control how it looks:

  • ="Price: " & TEXT(D2, "$0.00") returns Price: $1.20
  • ="Due " & TEXT(E2, "mmm d, yyyy") returns something like Due Nov 12, 2026
  • =TEXT(F2, "0%") turns 0.25 into 25%

Add a line break

=A2 & CHAR(10) & B2

CHAR(10) is a line break on Windows and Mac. Turn on Wrap Text for the cell, otherwise the break won't show.

Put quotation marks in the result

Text in a formula already sits between quotation marks, so a quotation mark of its own needs a trick. With Mango in A2, both formulas return Product "Mango":

="Product " & CHAR(34) & A2 & CHAR(34) ="Product """ & A2 & """"

CHAR(34) is the quotation mark. In the second formula, two quotation marks in a row inside text count as one. CHAR(34) is easier to read when you open the formula again later.

Join only the values that meet a condition

With names in A2:A10 and Yes or No in B2:B10, this puts everyone with Yes in one cell (Excel 2021 and Microsoft 365):

=TEXTJOIN(", ", TRUE, FILTER(A2:A10, B2:B10="Yes", ""))

FILTER keeps the matching names and TEXTJOIN joins them; the last argument "" keeps the cell empty when nothing matches. In Excel 2019, use IF(B2:B10="Yes", A2:A10, "") instead of FILTER.

To add text only on some rows, put IF inside the formula: =A2 & IF(C2="", "", " (" & C2 & ")") adds the department from C2 in brackets, but only when C2 is filled in.

Which one should you use?

SituationUse
Joining a few cells, any Excel versionThe & operator
Joining a whole range without a separatorCONCAT
Joining a list with a separator, skipping blanksTEXTJOIN
Existing spreadsheetsCONCATENATE still works; no need to rewrite it

More CONCATENATE examples

Copy a formula and change the ranges to match your own data.

What you wantFormula
First and last name with a space=A2&" "&B2
A whole column in one cell, separated by commas, skipping empty cells=TEXTJOIN(", ", TRUE, A2:A20)
Two cells on two lines (turn on Wrap Text)=A2&CHAR(10)&B2
Initial plus last name, for example "J. Smith"=UPPER(LEFT(A2, 1))&". "&B2

Frequently asked questions

What's the difference between CONCATENATE and CONCAT?

CONCAT is the newer version. It does the same thing but also accepts ranges like A2:C2. CONCATENATE only accepts individual cells and values.

How do I combine text with a space?

Add a space in quotes between the cells: =A2 & " " & B2.

Why does my date turn into a number when I combine it?

Dates are stored as numbers. Wrap the date in TEXT to choose the format, for example TEXT(A2, "mm/dd/yyyy").

How do I combine a whole column into one cell?

Use TEXTJOIN: =TEXTJOIN(", ", TRUE, A2:A100) joins every non-empty cell with a comma and space.

Why does my formula show instead of the result?

The cell was formatted as Text before you typed the formula. Set the format to General (Home › Number), click in the formula bar and press Enter. Also check that there is no space before the equals sign.

How do I split combined text back into separate cells?

Use Text to Columns (Data tab) with the space or comma as delimiter. In Microsoft 365, =TEXTSPLIT(A2, " ") does the same with a formula.

What is CONCATENATE called in other languages?

German VERKETTEN, Spanish and Portuguese CONCATENAR, French CONCATENER and Dutch TEKST.SAMENVOEGEN. Excel translates function names when a file opens in another language version, and the & operator is the same everywhere.