Excel function

CONCATfunction

Joins the text from several cells or ranges into one.

Excel 2019+
=CONCAT(A2:B2)
A
B
C
1
2
3
4
5

Result9 chars

1S
2m
3i
4t
5h
6L
7i
8a
9m

Drag the corner dots to change text1. Extend the range to column C or down. Cells are joined left to right, then top to bottom. Try breaking it on purpose to see the errors.

Result

SmithLiam

text1
A2:B2Drag the corner dots on the table

The range of cells to join. In Excel you can also add more text after a comma, like ", Jr."

What is the CONCAT function?

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

CONCAT joins the text from several cells or ranges into one. Use it to combine split data such as last and first names, or city and district.

Unlike the older CONCATENATE, it accepts a range like A2:C2. A range is read left to right, then top to bottom. It has no delimiter, so use TEXTJOIN or the & operator to add spaces or commas.

Arguments

text1
The text, cell or range to join.
text2, ...
Optional. More items after commas, e.g. =CONCAT(A2, " Jr.")

CONCAT examples

  1. Example 1. Last and first name

    =CONCAT(A2:B2)

    Joins "Smith" and "Liam" into "SmithLiam".

  2. Example 2. Add a space between

    =CONCAT(B2, " ", C2)

    "Liam Sales". The space must be added separately.

  3. Example 3. The same with &

    =A2&B2

    You can also join text with & and no function.

Common mistakes

FAQ

How is it different from CONCATENATE?
CONCATENATE does not accept ranges; you must list cells one by one. It remains for compatibility.
Is number formatting kept?
No. 1,000 is joined as 1000. Use TEXT(A2,"#,##0") to keep a format.