Example 1
Join first and last name with a space
D2 =CONCAT(A2," ",B2)
Result: Dana Whitfield
The middle argument is a space in quotes. CONCAT adds no separator by itself.
D2 =CONCAT(A2," ",B2) returns Dana Whitfield
Joins text from cells, ranges and typed values into one piece of text, with no separator added.
Syntax
=CONCAT(, [text2], ...)
Excel 2019 and later, Excel for Microsoft 365, and Excel for the web. Not available in Excel 2016 or earlier.
Try it
Edit the formula in D2 or change the inputs. The sheet recalculates as you type.
D2 =CONCAT(A2," ",B2) returns Dana Whitfield
CONCAT joins pieces of text into one cell. Use it to build a full name from first and last name, to assemble a product code from parts, or to write a sentence around a value from the sheet.
Every argument is converted to text and placed next to the previous one. CONCAT adds nothing between them, so if you want a space, a comma or a dash, supply it yourself as text in quotes. =CONCAT(A2," ",B2) joins a first name, a space and a last name.
An argument can be a range. =CONCAT(A2:C2) joins the three cells in order, and the result is a single piece of text. This is the main difference from CONCATENATE, which needs every cell listed separately and does not join the cells of a range.
Numbers are joined as they would look in a General-format cell, so 1010 becomes "1010". The cell's number format is ignored. A price of 8.5 formatted as $8.50 joins as 8.5, and a date joins as its serial number, such as 45731. Wrap the value in TEXT to control how it looks: =CONCAT("Due ",TEXT(A2,"dd-mmm-yyyy")).
Empty cells add nothing. If a range has gaps, the pieces run together with no placeholder, which is fine for building a code but awkward for a list of names. When you want a separator that skips gaps, use TEXTJOIN.
The ampersand does the same job for individual items: =A2&" "&B2 gives the same result as =CONCAT(A2," ",B2). The operator is quicker to type for two or three pieces. CONCAT is easier to read when you have many pieces or a range.
CONCATENATE is the older function. It still works, and Microsoft keeps it for compatibility, but CONCAT replaces it. Use CONCATENATE only if the workbook must open in Excel 2016 or earlier, where CONCAT shows #NAME?. The ampersand works in every version.
A cell holds at most 32,767 characters. If the joined text is longer, CONCAT returns #VALUE!. If any argument is an error, such as #N/A, the result is that error.
CONCAT always returns text. A joined result such as "1010" looks like a number but won't add up in a SUM. Wrap it in VALUE if you need a number back.
A2:C2, a number, or text in quotes such as " ".Each example is a live sheet. Change the inputs or the formula and watch the result.
Example 1
D2 =CONCAT(A2," ",B2)
Result: Dana Whitfield
The middle argument is a space in quotes. CONCAT adds no separator by itself.
D2 =CONCAT(A2," ",B2) returns Dana Whitfield
Example 2
D2 =CONCAT(A2:C2)
Result: FX-1010
One range argument joins the three cells in order. The number 1010 is joined as the text 1010.
D2 =CONCAT(A2:C2) returns FX-1010
Example 3
C2 =CONCAT(A2," is due on ",TEXT(B2,"dd-mmm-yyyy"))
Result: INV-2041 is due on 15-Mar-2025
Without TEXT, the date would be joined as its serial number, 45731.
C2 =CONCAT(A2," is due on ",TEXT(B2,"dd-mmm-yyyy")) returns INV-2041 is due on 15-Mar-2025
Example 4
D2 =CONCAT(B2," x ",A2," at ",C2)
Result: 12 x Pallet wrap at 8.5
C2 is formatted as $8.50, but CONCAT joins the underlying number, 8.5. Use TEXT(C2,"$0.00") to keep the format.
D2 =CONCAT(B2," x ",A2," at ",C2) returns 12 x Pallet wrap at 8.5
Solve it in the sheet. Every answer is checked, with hints if you need them.
Task 1 of 2
In D2, join the site in B2, a dash, and the bay number in C2 into one code, such as D214-7.
Answer in D2.
=CONCAT(A2,B2) gives "DanaWhitfield". Put " ", ", " or any other separator between the arguments.TEXT(value, "format")."1010" is not counted by SUM and won't match the number 1010 in a lookup. Convert it with VALUE when you need a number.#NAME?. Use the & operator or CONCATENATE if the file has to open there.CONCAT accepts ranges, so `=CONCAT(A2:C2)` joins three cells. CONCATENATE needs each cell as a separate argument and does not join a range. Microsoft keeps CONCATENATE for compatibility and recommends CONCAT.
Add it as its own argument in quotes: `=CONCAT(A2," ",B2)` or `=CONCAT(A2,", ",B2)`. CONCAT never inserts a separator for you. For many cells with the same separator, TEXTJOIN is shorter.
For single items, yes: `=A2&" "&B2` and `=CONCAT(A2," ",B2)` return the same text. The operator also works in every Excel version, but it cannot take a range.
Dates are stored as serial numbers, and CONCAT joins the stored value, not the displayed one. Format it first: `=CONCAT("Due ",TEXT(B2,"dd-mmm-yyyy"))`.
The function isn't available in your version of Excel. CONCAT needs Excel 2019 or later, or Microsoft 365. In older versions, use `&` or CONCATENATE.
CONCAT is taught in Logic and text, lesson 15: CONCAT and building keys. Each lesson is a short, graded exercise like the one above.