Example 1
Join first and last name with a space
D2 =CONCATENATE(A2," ",B2)
Result: Tomas Brandt
The space is its own argument. CONCATENATE does not add one.
D2 =CONCATENATE(A2," ",B2) returns Tomas Brandt
Joins separate pieces of text into one. The older version of CONCAT, kept so that old workbooks still work.
Syntax
=CONCATENATE(, [text2], ...)
All versions of Excel. Microsoft keeps it for compatibility; CONCAT (Excel 2019 and later) replaces it.
Try it
Edit the formula in D2 or change the inputs. The sheet recalculates as you type.
D2 =CONCATENATE(A2," ",B2) returns Tomas Brandt
CONCATENATE joins separate pieces of text into one piece. It has been in Excel for decades, so you will find it in many older workbooks. The job is simple: build a full name from two cells, assemble a code from its parts, or write a sentence around a value.
Each argument is converted to text and placed straight after the previous one. Nothing is added between them. To get a space, a comma or a dash, include it as its own argument in quotes: =CONCATENATE(A2," ",B2) joins a first name, a space and a last name.
Numbers are joined as they appear in a General-format cell, so the number 7 becomes "7". The cell's number format is ignored. A date joins as its serial number, for example 45731, so format it with TEXT first: =CONCATENATE("Due ",TEXT(B2,"dd-mmm-yyyy")).
CONCATENATE does not join the cells of a range into one piece of text. Each cell has to be its own argument, so joining six cells means typing six references. =CONCATENATE(A2:F2) does not give you the six cells joined together. In current Excel it returns an array with one result per cell, and in older versions it reads only one cell of the range.
CONCAT accepts ranges, and TEXTJOIN accepts ranges and also adds a separator between the items and can skip blanks. That is the main reason to prefer them.
| Need | Use | |---|---| | The file must open in Excel 2016 or earlier | CONCATENATE or the & operator | | Join a few cells quickly | The & operator: =A2&" "&B2 | | Join a range with no separator | CONCAT | | Join a range with a separator, skipping blanks | TEXTJOIN |
The ampersand and CONCATENATE return the same result for individual items. The operator is shorter and works everywhere. CONCATENATE only makes the formula easier to read when someone is more comfortable with function names than with operators.
If any argument is an error value such as #N/A, the result is that error. A cell holds at most 32,767 characters, so a longer result returns #VALUE!. The result is always text: a joined "1010" looks like a number but is not added by SUM.
Excel may show a compatibility note, and in newer versions the function appears in the formula list as a compatibility function. It will still calculate.
" ".Each example is a live sheet. Change the inputs or the formula and watch the result.
Example 1
D2 =CONCATENATE(A2," ",B2)
Result: Tomas Brandt
The space is its own argument. CONCATENATE does not add one.
D2 =CONCATENATE(A2," ",B2) returns Tomas Brandt
Example 2
E2 =CONCATENATE(A2," ",B2,", ",C2," ",D2)
Result: 12 Harbour Road, Fairmont 3041
Seven arguments: four cells and three typed separators. The number 12 joins as text.
E2 =CONCATENATE(A2," ",B2,", ",C2," ",D2) returns 12 Harbour Road, Fairmont 3041
Example 3
C2 =CONCATENATE("Order ",A2," ships on ",TEXT(B2,"dd-mmm-yyyy"))
Result: Order SO-7719 ships on 04-Apr-2025
Dates are numbers underneath. Without TEXT, the sentence would end in 45751.
C2 =CONCATENATE("Order ",A2," ships on ",TEXT(B2,"dd-mmm-yyyy")) returns Order SO-7719 ships on 04-Apr-2025
Solve it in the sheet. Every answer is checked, with hints if you need them.
Task 1 of 2
In D2, show the name as Okonkwo, Ruth: the surname in A2, a comma and space, then the first name in B2.
Answer in D2.
=CONCATENATE(A2:C2) does not give you the three cells in one piece of text. List every cell as its own argument, or switch to CONCAT or TEXTJOIN.=CONCATENATE(A2,B2) gives "TomasBrandt". Add " " or ", " as its own argument.TEXT(value, "format") to control the look.Yes. It works in every version of Excel, including Microsoft 365. Microsoft keeps it for compatibility and recommends CONCAT for new work, but there is no plan on the function page to remove it.
CONCAT accepts ranges, so `=CONCAT(A2:C2)` joins three cells. CONCATENATE needs each cell listed separately. CONCAT needs Excel 2019 or later; CONCATENATE works everywhere.
They give the same result for single items. The ampersand is shorter, so most people use it for two or three pieces. Use CONCATENATE when you find a function easier to read, or when other formulas in the file already use it.
Use TEXTJOIN: `=TEXTJOIN(", ",TRUE,A2:A10)`. CONCATENATE would need all nine cells and eight commas typed out.
CONCATENATE joins the stored value, not what the cell displays. Wrap the value in TEXT to keep the format, for example `TEXT(C2,"$#,##0.00")`.
Tracks take you from the basics to modelling, one graded exercise at a time.