The Excel CONCATENATE function is a text function that joins two or more text strings into a single string. It accepts cell references, typed text or a combination of both as arguments, and the result is always a text value. Whether you need to combine first and last names, build a full mailing address from separate columns or join a label with a variable, CONCATENATE handles the task in one formula.
The function accepts up to 255 arguments, and each argument can be a cell reference, a text string enclosed in quotation marks or a number. Learning how to use CONCATENATE in Excel is straightforward once you understand the syntax and a few key behaviors.
The formal CONCATENATE syntax is:
=CONCATENATE(text1, text2, [text3], ...)
The total length of the resulting string cannot exceed 32,767 characters. If it does, the formula returns a #VALUE! error.
Microsoft now recommends CONCAT and TEXTJOIN as the modern alternatives to CONCATENATE. While CONCATENATE still works in all versions of Excel for backward compatibility, understanding the differences helps you choose the right tool for the job.
| Function | Syntax | Accepts Ranges? | Delimiter Support | Availability |
|---|---|---|---|---|
| CONCATENATE | =CONCATENATE(text1, text2, ...) | No | No | All Excel versions |
| CONCAT | =CONCAT(text1, text2, ...) | Yes | No | Excel 2019+, Microsoft 365 |
| TEXTJOIN | =TEXTJOIN(delimiter, ignore_empty, text1, ...) | Yes | Yes | Excel 2019+, Microsoft 365 |
| Ampersand (&) | =text1 & text2 | No | No | All Excel versions |
If you are working in a newer version of Excel, CONCAT or TEXTJOIN will give you more flexibility. If you need your workbook to remain compatible with older versions, CONCATENATE is still a reliable choice.
Here is a basic example of the CONCATENATE function in action. If you have the customer's first name in Column A and the last name in Column B, you could use "=CONCATENATE(A3," ",B3)" to produce a string containing first name and last name.
Be aware that when you join two strings, Excel does not insert a space or any punctuation between the two. You must do it by inserting " " between the two strings, as shown above, or by replacing that space with a hyphen or other punctuation. The quotation marks are required.
The CONCATENATE function converts numbers to text. If you are joining the number 1047 and the string "Maple Street," the formula "=CONCATENATE(1047," ","Maple Street")" works just fine, producing "1047 Maple Street."
With decimals or with dates, however, the result might be unintelligible. Take this example:
Note the spaces and the conjunction "and" added between the variables. Nevertheless, the formula results in something like "Beginning 41640 and ending 42004." The two dates turn into numbers like 41640 and 42004.
Excel stores all dates as numbers internally, displaying them as dates to make it easier for humans to read — a behavior that also affects how date or time data appears in charts. The CONCATENATE function knows nothing about date formats, however, so it displays the date in Excel's internal date-time code.
To solve this problem, use an additional function called TEXT, which converts a number to text using a specified format. While we will discuss TEXT thoroughly in another post, you should be aware of two format codes that you'll want to use with the CONCATENATE function:
Returning to the example above, enter the formula with TEXT functions on the dates:
CONCATENATE as shown above produces something like "Beginning 1/1/14 and ending December 31, 2014."
Do you really need CONCATENATE? Not really, because Excel provides a nifty shortcut.
You can join strings together by placing an ampersand ("&") between them. This works exactly like the CONCATENATE function, but without having to type an eleven-character function name.
This produces exactly the same result as the previous version with the CONCATENATE function, but it's shorter and easier.
Even a straightforward function like CONCATENATE can produce unexpected results. Here are the most common issues and how to fix them:
Now that you know how to join strings together, you can use them anyplace you would use any other text—report fields, headers, cells with conditional formatting, or even conditions for IF or VLOOKUP statements. Concatenation is a convenient way to join multiple variables in one string or to join a label with a variable.
To take your skills further, consider these next steps: