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
Example 1. Last and first name
=CONCAT(A2:B2)Joins "Smith" and "Liam" into "SmithLiam".
Example 2. Add a space between
=CONCAT(B2, " ", C2)"Liam Sales". The space must be added separately.
Example 3. The same with &
=A2&B2You can also join text with & and no function.
Common mistakes
Expecting a delimiter
CONCAT(A2:C2) runs everything together, like "SmithLiamSales". Use TEXTJOIN when you need a delimiter.
#NAME? in older versions
According to Microsoft, CONCAT is available in Office 2019 and later and Microsoft 365. For files used in older versions, use CONCATENATE or &.
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.