What is the CONCATENATE function?
=CONCATENATE(text1, [text2], ...)CONCATENATE joins texts in order into one. Use it to combine first and last names, or to attach a number to a code to make a new code.
According to Microsoft, CONCAT is recommended from Excel 2016 on, and CONCATENATE remains for compatibility with earlier versions. CONCATENATE cannot take a range (A2:C2) at once; you must list cells one by one.
Arguments
- text1
- The first text or cell.
- text2, ...
- More texts or cells to join, up to 255. Spaces must be added yourself, like " ".
CONCATENATE examples
Example 1. Join last and first name
=CONCATENATE(A2, B2)Joins "Smith" and "Liam" into "SmithLiam".
Example 2. Add a space
=CONCATENATE(B2, " ", C2)"Liam Sales". Without the " " in the middle you get "LiamSales".
Example 3. The same with &
=B2 & " " & C2The same result as CONCATENATE. It is shorter, so it is common in practice.
Common mistakes
Forgetting spaces
Listing cells alone runs the text together. Put " " or ", " between them.
Passing a range
CONCATENATE does not accept a range like A2:C2. Use CONCAT or TEXTJOIN to join a range.
Number formatting disappears
Numbers such as 1234.5 or dates are joined as raw values without formatting. Wrap them like TEXT(value, "#,##0").
FAQ
- How is it different from CONCAT?
- CONCAT accepts ranges and is available in Excel 2019 and later and Microsoft 365. CONCATENATE works in every version, but cells must be listed one by one.
- Add delimiters automatically?
- Use TEXTJOIN, such as TEXTJOIN(", ", TRUE, A2:C2), to set the delimiter and blank handling at once.