Skip to content

CONCATENATE

Joins separate pieces of text into one. The older version of CONCAT, kept so that old workbooks still work.

Syntax

=CONCATENATE(, [text2], ...)

Text

All versions of Excel. Microsoft keeps it for compatibility; CONCAT (Excel 2019 and later) replaces it.

Try it

Edit the formula in D2 or change the inputs. The sheet recalculates as you type.

D2
A
B
C
D
1
First name
Last name
Team
Full name
2
Tomas
Brandt
Procurement
Tomas Brandt
3
Keiko
Aldridge
Facilities
4

D2 =CONCATENATE(A2," ",B2) returns Tomas Brandt

How CONCATENATE works

CONCATENATE joins separate pieces of text into one piece. It has been in Excel for decades, so you will find it in many older workbooks. The job is simple: build a full name from two cells, assemble a code from its parts, or write a sentence around a value.

How it works

Each argument is converted to text and placed straight after the previous one. Nothing is added between them. To get a space, a comma or a dash, include it as its own argument in quotes: =CONCATENATE(A2," ",B2) joins a first name, a space and a last name.

Numbers are joined as they appear in a General-format cell, so the number 7 becomes "7". The cell's number format is ignored. A date joins as its serial number, for example 45731, so format it with TEXT first: =CONCATENATE("Due ",TEXT(B2,"dd-mmm-yyyy")).

The limit that matters: no ranges

CONCATENATE does not join the cells of a range into one piece of text. Each cell has to be its own argument, so joining six cells means typing six references. =CONCATENATE(A2:F2) does not give you the six cells joined together. In current Excel it returns an array with one result per cell, and in older versions it reads only one cell of the range.

CONCAT accepts ranges, and TEXTJOIN accepts ranges and also adds a separator between the items and can skip blanks. That is the main reason to prefer them.

Which one to use

| Need | Use | |---|---| | The file must open in Excel 2016 or earlier | CONCATENATE or the & operator | | Join a few cells quickly | The & operator: =A2&" "&B2 | | Join a range with no separator | CONCAT | | Join a range with a separator, skipping blanks | TEXTJOIN |

The ampersand and CONCATENATE return the same result for individual items. The operator is shorter and works everywhere. CONCATENATE only makes the formula easier to read when someone is more comfortable with function names than with operators.

Errors and limits

If any argument is an error value such as #N/A, the result is that error. A cell holds at most 32,767 characters, so a longer result returns #VALUE!. The result is always text: a joined "1010" looks like a number but is not added by SUM.

Excel may show a compatibility note, and in newer versions the function appears in the formula list as a compatibility function. It will still calculate.

Arguments

text1
The first item to join: a cell, a number, or text in quotes such as " ".
text2, ...optional
More items to join, in order. Each argument is one item. CONCATENATE accepts up to 255 arguments and does not join the cells of a range for you.

Examples

Each example is a live sheet. Change the inputs or the formula and watch the result.

Example 1

Join first and last name with a space

D2 =CONCATENATE(A2," ",B2)

Result: Tomas Brandt

The space is its own argument. CONCATENATE does not add one.

D2
A
B
C
D
1
First name
Last name
Team
Full name
2
Tomas
Brandt
Procurement
Tomas Brandt
3
Keiko
Aldridge
Facilities
4

D2 =CONCATENATE(A2," ",B2) returns Tomas Brandt

Example 2

Build a mailing line from several cells

E2 =CONCATENATE(A2," ",B2,", ",C2," ",D2)

Result: 12 Harbour Road, Fairmont 3041

Seven arguments: four cells and three typed separators. The number 12 joins as text.

E2
A
B
C
D
E
1
Suite
Street
City
Postcode
Address line
2
12
Harbour Road
Fairmont
3041
12 Harbour Road, Fairmont 3041
3
4
Mill Lane
Ashby
2207
4

E2 =CONCATENATE(A2," ",B2,", ",C2," ",D2) returns 12 Harbour Road, Fairmont 3041

Example 3

Format a date before joining it

C2 =CONCATENATE("Order ",A2," ships on ",TEXT(B2,"dd-mmm-yyyy"))

Result: Order SO-7719 ships on 04-Apr-2025

Dates are numbers underneath. Without TEXT, the sentence would end in 45751.

C2
A
B
C
1
Order
Ship date
Notice
2
SO-7719
04-Apr-2025
Order SO-7719 ships on 04-Apr-2025
3

C2 =CONCATENATE("Order ",A2," ships on ",TEXT(B2,"dd-mmm-yyyy")) returns Order SO-7719 ships on 04-Apr-2025

Your turn.

Solve it in the sheet. Every answer is checked, with hints if you need them.

Task 1 of 2

In D2, show the name as Okonkwo, Ruth: the surname in A2, a comma and space, then the first name in B2.

Answer in D2.

D2
A
B
C
D
E
1
Surname
First name
Staff ID
Display name
Badge text
2
Okonkwo
Ruth
4021
3
Lindqvist
Mats
4057
4
Haddad
Samira
4112
5
6

Common mistakes

  • CONCATENATE does not join a range. =CONCATENATE(A2:C2) does not give you the three cells in one piece of text. List every cell as its own argument, or switch to CONCAT or TEXTJOIN.
  • No separator is added. =CONCATENATE(A2,B2) gives "TomasBrandt". Add " " or ", " as its own argument.
  • Dates and formatted numbers lose their formatting. A date joins as a serial number and $8.50 joins as 8.5. Use TEXT(value, "format") to control the look.
  • The result is text. A joined code of digits is not counted by SUM and does not match the same number in a lookup. Convert it with VALUE if you need a number.

Questions people ask

Is CONCATENATE still supported?

Yes. It works in every version of Excel, including Microsoft 365. Microsoft keeps it for compatibility and recommends CONCAT for new work, but there is no plan on the function page to remove it.

What is the difference between CONCATENATE and CONCAT?

CONCAT accepts ranges, so `=CONCAT(A2:C2)` joins three cells. CONCATENATE needs each cell listed separately. CONCAT needs Excel 2019 or later; CONCATENATE works everywhere.

Should I use CONCATENATE or the & operator?

They give the same result for single items. The ampersand is shorter, so most people use it for two or three pieces. Use CONCATENATE when you find a function easier to read, or when other formulas in the file already use it.

How do I join a whole column or row with a comma between each item?

Use TEXTJOIN: `=TEXTJOIN(", ",TRUE,A2:A10)`. CONCATENATE would need all nine cells and eight commas typed out.

Why does a joined number lose its formatting?

CONCATENATE joins the stored value, not what the cell displays. Wrap the value in TEXT to keep the format, for example `TEXT(C2,"$#,##0.00")`.

Learn CONCATENATE in a real sheet.

Tracks take you from the basics to modelling, one graded exercise at a time.