ID EN
#Text

CONCAT

Excel Functions

Join text values without delimiter

Syntax

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

Arguments

Parameter Description
text1 First text value, cell reference, or range.
text2 [optional] Second text value, cell reference, or range.

Return Value

Result of concatenated text

Details

The CONCAT function concatenates (joins) values supplied as references or constants. Unlike the CONCATENATE function (which CONCAT replaces), CONCAT will accept a range of cells to join, in addition to individual cell references. The CONCAT function automatically ignores empty cells. The CONCAT function accepts multiple arguments called text1, text2, text3, etc. up to 255 total. Arguments may be supplied as cell references, ranges, and hard-coded text strings. Only the first argument is required, and values are concatenated in the order they appear. For example, to concatenate the value of A1 and B1, separated by a space, you can configure CONCAT like this: This is equivalent to using the concatenation operator (&) manually like this: When concatenating numbers, number formatting is lost.

Examples

Example 1

The CONCAT function accepts multiple arguments called text1, text2, text3, etc. up to 255 total. Arguments may be supplied as cell references, ranges,

EXCEL
=CONCAT(A1," ",B1)
Example 2

This is equivalent to using the concatenation operator (&) manually like this:

EXCEL
=A1&" "&B1 // manual concatenation
Example 3

When concatenating numbers, number formatting is lost. For example, with the date 1-Jul-2021 in cell A1, the date reverts to a serial number:

EXCEL
=CONCAT("The date is ",A1) // returns "The date is 44378"
Example 4

Use the TEXT function to apply formatting during concatenation:

EXCEL
=CONCAT("The date is ",TEXT(A1,"mmmm d")) // "The date is July 1"
Example 5

The main benefit of CONCAT over the older CONCATENATION function is the ability to concatenate ranges. To concatenate the values in A1, B1, and C1, yo

EXCEL
=CONCAT(A1:C1)

See Also

CONCATENATE TEXTJOIN