Skip to content

CONCAT

Joins text from cells, ranges and typed values into one piece of text, with no separator added.

Syntax

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

Text

Excel 2019 and later, Excel for Microsoft 365, and Excel for the web. Not available in Excel 2016 or earlier.

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
Department
Full name
2
Dana
Whitfield
Finance
Dana Whitfield
3
Luis
Ferreira
Logistics
4
Anya
Kowalski
Sales
5

D2 =CONCAT(A2," ",B2) returns Dana Whitfield

How CONCAT works

CONCAT joins pieces of text into one cell. Use it to build a full name from first and last name, to assemble a product code from parts, or to write a sentence around a value from the sheet.

How it works

Every argument is converted to text and placed next to the previous one. CONCAT adds nothing between them, so if you want a space, a comma or a dash, supply it yourself as text in quotes. =CONCAT(A2," ",B2) joins a first name, a space and a last name.

An argument can be a range. =CONCAT(A2:C2) joins the three cells in order, and the result is a single piece of text. This is the main difference from CONCATENATE, which needs every cell listed separately and does not join the cells of a range.

Numbers are joined as they would look in a General-format cell, so 1010 becomes "1010". The cell's number format is ignored. A price of 8.5 formatted as $8.50 joins as 8.5, and a date joins as its serial number, such as 45731. Wrap the value in TEXT to control how it looks: =CONCAT("Due ",TEXT(A2,"dd-mmm-yyyy")).

Empty cells add nothing. If a range has gaps, the pieces run together with no placeholder, which is fine for building a code but awkward for a list of names. When you want a separator that skips gaps, use TEXTJOIN.

CONCAT, the & operator and CONCATENATE

The ampersand does the same job for individual items: =A2&" "&B2 gives the same result as =CONCAT(A2," ",B2). The operator is quicker to type for two or three pieces. CONCAT is easier to read when you have many pieces or a range.

CONCATENATE is the older function. It still works, and Microsoft keeps it for compatibility, but CONCAT replaces it. Use CONCATENATE only if the workbook must open in Excel 2016 or earlier, where CONCAT shows #NAME?. The ampersand works in every version.

Limits

A cell holds at most 32,767 characters. If the joined text is longer, CONCAT returns #VALUE!. If any argument is an error, such as #N/A, the result is that error.

CONCAT always returns text. A joined result such as "1010" looks like a number but won't add up in a SUM. Wrap it in VALUE if you need a number back.

Arguments

text1
The first item to join. It can be a cell, a range such as A2:C2, a number, or text in quotes such as " ".
text2, ...optional
More items to join, in order. Each can be a cell, a range or typed text. CONCAT accepts up to 253 arguments.

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 =CONCAT(A2," ",B2)

Result: Dana Whitfield

The middle argument is a space in quotes. CONCAT adds no separator by itself.

D2
A
B
C
D
1
First name
Last name
Department
Full name
2
Dana
Whitfield
Finance
Dana Whitfield
3
Luis
Ferreira
Logistics
4
Anya
Kowalski
Sales
5

D2 =CONCAT(A2," ",B2) returns Dana Whitfield

Example 2

Join a whole range at once

D2 =CONCAT(A2:C2)

Result: FX-1010

One range argument joins the three cells in order. The number 1010 is joined as the text 1010.

D2
A
B
C
D
1
Prefix
Divider
Number
SKU
2
FX
-
1010
FX-1010
3
FX
-
1085
4

D2 =CONCAT(A2:C2) returns FX-1010

Example 3

Control how a date looks with TEXT

C2 =CONCAT(A2," is due on ",TEXT(B2,"dd-mmm-yyyy"))

Result: INV-2041 is due on 15-Mar-2025

Without TEXT, the date would be joined as its serial number, 45731.

C2
A
B
C
1
Invoice
Due date
Reminder
2
INV-2041
15-Mar-2025
INV-2041 is due on 15-Mar-2025
3
INV-2042
29-Mar-2025
4

C2 =CONCAT(A2," is due on ",TEXT(B2,"dd-mmm-yyyy")) returns INV-2041 is due on 15-Mar-2025

Example 4

Numbers are joined as plain text

D2 =CONCAT(B2," x ",A2," at ",C2)

Result: 12 x Pallet wrap at 8.5

C2 is formatted as $8.50, but CONCAT joins the underlying number, 8.5. Use TEXT(C2,"$0.00") to keep the format.

D2
A
B
C
D
1
Item
Qty
Unit price
Label
2
Pallet wrap
12
$8.50
12 x Pallet wrap at 8.5
3
4

D2 =CONCAT(B2," x ",A2," at ",C2) returns 12 x Pallet wrap at 8.5

Your turn.

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

Task 1 of 2

In D2, join the site in B2, a dash, and the bay number in C2 into one code, such as D214-7.

Answer in D2.

D2
A
B
C
D
E
1
Region
Site
Bay
Location code
Label
2
North
D214
7
3
South
D187
12
4
East
D330
3
5
6
7

Common mistakes

  • CONCAT adds no separator. =CONCAT(A2,B2) gives "DanaWhitfield". Put " ", ", " or any other separator between the arguments.
  • Dates and formatted numbers lose their formatting. A date joins as a serial number such as 45731, and $8.50 joins as 8.5. Wrap the value in TEXT(value, "format").
  • CONCAT does not skip empty cells with a separator. A range with gaps joins with no placeholder. If you need a delimiter that ignores blanks, use TEXTJOIN.
  • The result is text, even when it looks like a number. A joined "1010" is not counted by SUM and won't match the number 1010 in a lookup. Convert it with VALUE when you need a number.
  • In Excel 2016 and earlier, CONCAT shows #NAME?. Use the & operator or CONCATENATE if the file has to open there.

Questions people ask

What is the difference between CONCAT and CONCATENATE?

CONCAT accepts ranges, so `=CONCAT(A2:C2)` joins three cells. CONCATENATE needs each cell as a separate argument and does not join a range. Microsoft keeps CONCATENATE for compatibility and recommends CONCAT.

How do I add a space or comma between the joined cells?

Add it as its own argument in quotes: `=CONCAT(A2," ",B2)` or `=CONCAT(A2,", ",B2)`. CONCAT never inserts a separator for you. For many cells with the same separator, TEXTJOIN is shorter.

Is CONCAT the same as the & operator?

For single items, yes: `=A2&" "&B2` and `=CONCAT(A2," ",B2)` return the same text. The operator also works in every Excel version, but it cannot take a range.

Why does CONCAT show a date as a number?

Dates are stored as serial numbers, and CONCAT joins the stored value, not the displayed one. Format it first: `=CONCAT("Due ",TEXT(B2,"dd-mmm-yyyy"))`.

Why does CONCAT return #NAME? in my workbook?

The function isn't available in your version of Excel. CONCAT needs Excel 2019 or later, or Microsoft 365. In older versions, use `&` or CONCATENATE.

Learn CONCAT in a real sheet.

CONCAT is taught in Logic and text, lesson 15: CONCAT and building keys. Each lesson is a short, graded exercise like the one above.