This article describes the formula syntax and usage of CONCAT function, one of the text functions in Excel 2019. Please note that this function replaces the CONCATENATE function. However, the CONCATENATE function will stay available for compatibility with earlier versions of Excel.
Before the start, do have a look on “What’s new in Excel 2019 for Windows“
Table of Contents
Description of CONCAT Function
The CONCAT function combines the text from multiple ranges and/or strings, but it doesn’t provide the delimiter or Ignore Empty arguments.
Tip: To include delimiters (such as spacing or ampersands (&) between the texts you want to combine and to remove empty arguments you don’t want to appear in the combined text result, you can use the TEXTJOIN function.
The syntax of CONCAT Function in Excel
CONCAT(text1, [text2],…)
Argument | Description |
text1 (required) | Text item to be joined. A string, or array of strings, such as a range of cells. |
[text2, …] (optional) | Additional text items to be joined. There can be a maximum of 253 text arguments for the text items. Each can be a string, or array of strings, such as a range of cells. |
Example
For example, =CONCAT(“The”,” “,”sun”,” “,”will”,” “,”come”,” “,”up”,” “,”tomorrow.”) will return The sun will come up tomorrow.
Remarks
If the resulting string exceeds 32767 characters (cell limit), CONCAT returns the #VALUE! error.
Examples
Copy the example data in each of the following tables, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.
Example 1
=CONCAT(B:B, C:C) | A’s | B’s |
a1 | b1 | |
a2 | b2 | |
a3 | b3 | |
a4 | b4 | |
a5 | b5 | |
a6 | b6 |
Result of Example 1
Because this function allows full column and row references, it returns this result: A’sa1a2a3a4a5a6B’sb1b2b3b4b5b6
Example 2
=CONCAT(B2:C7) | A’s | B’s |
a1 | b1 | |
a2 | b2 | |
a3 | b3 | |
a4 | b4 | |
a5 | b5 | |
a6 | b6 |
Result of Example 2
a1b1a2b2a3b3a4b4a5b5a6b6
Example 3
Data | First Name | Last name |
Excellence | Pardeep | Patel |
Excel | Sandeep | Kumar |
https://studywarehouse.com | ||
Formula | Description | Result |
=CONCAT(“This website helps you to “, A2,” in “, A3, “. Developed by “, A4,) | Creates a sentence by joining the data in column A with other text. | This website helps you to Excellence in Excel. Developed by https://studywarehouse.com |
=CONCAT(B2,” “, C2) | Joins three things: the string in cell B2, a space character, and the value in cell C2. | Pardeep Patel |
=CONCAT(C2, “, “, B2) | Joins three things: the string in cell C2, a string with a comma and a space character, and the value in cell B2. | Patel, Pardeep |
=CONCAT(B3,” & “, C3) | Joins three things: the string in cell B3, a string consisting of a space with an ampersand and another space, and the value in cell C3. | Sandeep & Kumar |
=B3 & ” & ” & C3 | Joins the same items as the previous example, but by using the ampersand (&) calculation operator instead of the CONCAT function. | Sandeep & Kumar |