Skip to content

Concatenate in Excel: CONCAT, TEXTJOIN, & and Why CONCATENATE Is Retired

To concatenate in Excel, join cells with the & operator or CONCAT, and reach for TEXTJOIN when you need a delimiter or want empty cells skipped. The old CONCATENATE function still works, but Microsoft has replaced it. Here is when each one wins, and how to keep dates and numbers from turning into junk.

Tech Talk News Editorial

8 min read

Share

Key takeaways

  • To concatenate in Excel, use =A2&" "&B2 or =CONCAT(A2," ",B2) to join two cells with a space, and use TEXTJOIN when you need a delimiter between many values or want empty cells skipped.
  • Microsoft says CONCAT replaces CONCATENATE in Excel 2016, Excel Mobile and Excel for the web; CONCATENATE still works for compatibility but accepts only single cells, up to 255 items and 8,192 characters.
  • CONCAT accepts ranges and up to 253 text arguments, while TEXTJOIN takes a delimiter, an ignore_empty flag and up to 252 text arguments; both return #VALUE! if the result passes 32,767 characters.
  • Excel stores dates as serial numbers, so joining a date cell directly shows a number such as 43101; wrap it with TEXT, for example TEXT(B2,"mm/dd/yyyy"), to keep the display format.
  • Flash Fill, started with Ctrl+E or Data > Flash Fill, can combine names from a pattern you type once, but it writes fixed values rather than a formula.
On this page9 sections

To concatenate in Excel, join cells with the & operator or the CONCAT function. For a first name in A2 and a last name in B2, =A2&" "&B2 and =CONCAT(A2," ",B2) both return the full name, and the quotation marks around the space are what keep the words apart. Use TEXTJOIN when you need one delimiter between many cells.

Concatenate just means to link things in a chain. In a spreadsheet, it means gluing text from several cells into one cell. The old function is called CONCATENATE, and the first thing to know is that it has been replaced.

The fast answer: join two cells with a space

  1. Click the cell where you want the result, such as C2.
  2. Type =A2&" "&B2 and press Enter. The text in quotation marks is the space between the two names.
  3. Double-click the small square at the bottom right corner of C2 to fill the formula down the column.

Prefer a function? =CONCAT(A2," ",B2) does the same job, and Microsoft's own example =CONCAT(B2," ", C2) returns Andreas Hauser.[2] I checked these against Microsoft Support's pages on November 29, 2026.

CONCATENATE is retired, and Microsoft says so

Microsoft's page says that in Excel 2016, Excel Mobile and Excel for the web, CONCAT replaces CONCATENATE. The old function remains for backward compatibility, but the page warns it “may not be available in future versions of Excel,” and recommends CONCAT.[1]

There is a second, quieter reason to move on. CONCATENATE wants each cell listed separately and takes up to 255 items and 8,192 characters.[1] CONCAT takes ranges, which is the feature people actually wanted.

Which method to use

MethodTakes rangesDelimiterSkips empty cellsLimit
& operatorNo, one cell at a timeYou type itNoNone listed by Microsoft
CONCATENATENoYou type itNo255 items, 8,192 characters
CONCATYesNone built inNo253 arguments, 32,767 characters
TEXTJOINYesFirst argumentYes, if ignore_empty is TRUE252 arguments, 32,767 characters

Table sources: Microsoft Support ([1] , [2] , [3] ). CONCAT's page says it has no delimiter or ignore-empty arguments and points to TEXTJOIN for those.[2] TEXTJOIN's availability is Excel 2019 and Microsoft 365 or later, per its page.[3]

Summary

Two cells, one space: use &. A range or a list: use TEXTJOIN. CONCAT sits between them, and CONCATENATE is for workbooks you inherited.

Spaces, commas and other delimiters

Excel joins exactly what you hand it. No space in the formula means no space in the result. Microsoft lists words running together as a common problem and gives two fixes: add a " " argument, or put the space at the end of a text string such as "Hello ".[1]

Last name first works the same way. Microsoft's CONCAT example =CONCAT(C2, ", ", B2) returns Hauser, Andreas.[2] The ampersand version, =C2&", "&B2, is identical.

For many cells, TEXTJOIN beats typing a delimiter between every pair. Its syntax is TEXTJOIN(delimiter, ignore_empty, text1, [text2], ...).[3] Microsoft's warm-up example is =TEXTJOIN(" ",TRUE,"The","sun","will","come","up","tomorrow."), which returns The sun will come up tomorrow.[3]

The second argument is the one people miss. With ignore_empty set to TRUE, TEXTJOIN skips empty cells. Set it to FALSE and Microsoft's sample data comes out with gaps like “b2, , , a4,” with doubled commas where the blanks were.[3]

If you've ever built an address line and ended up with “Austin, , TX,” this is why. =TEXTJOIN(", ",TRUE,A2:A8) fixes it.

For a line break between items, use CHAR(10) as the delimiter and switch on Wrap Text for the cell: =TEXTJOIN(CHAR(10),TRUE,A2:C2).

Numbers and dates: use TEXT or they come out as raw values

This is where most of the pain is. Excel stores a date as a serial number. Microsoft's YEARFRAC page says January 1, 1900 is serial number 1 and January 1, 2018 is serial number 43101.[4] Concatenate that cell directly and you get the number, not the date.

So ="Due: "&B2 shows something like Due: 43101. The fix is the TEXT function, whose syntax is TEXT(value, format_text).[5] Try ="Due: "&TEXT(B2,"mm/dd/yyyy").

Microsoft's TEXT page lists the patterns worth memorizing:[5]

  • =TEXT(1234.567,"$#,##0.00") returns $1,234.57.
  • =TEXT(1234,"0000000") returns 0001234, useful for IDs with leading zeros.
  • =TEXT(0.285,"0.0%") returns 28.5%.
  • =TEXT(TODAY(),"MM/DD/YY") returns today's date, and date codes are not case sensitive.

Microsoft also warns that the thousands separator depends on your regional settings, and special formats vary by locale.[5] If a colleague in another country opens your workbook and the formatting looks wrong, that's the cause. The same trick helps in age formulas, which the age calculator guide builds on.

One more thing: the result of any of these is text, even when it looks like a number. If you need to add it up later, keep the original cells and concatenate only for display.

Flash Fill: the no-formula shortcut

Flash Fill detects a pattern from your typing. Microsoft's example combines first and last names from two columns.[6]

  1. Type the full name in C2 and press Enter.
  2. On Windows, start typing the next one in C3, and Excel shows a preview of the rest of column C. Press Enter to accept it.
  3. On macOS, after typing C2 go to Data > Flash Fill, or press Ctrl+E.

If the preview doesn't show on Windows, Flash Fill may be off. Check File > Options > Advanced and the Automatically Flash Fill box, then restart Excel, or run it by hand with Data > Flash Fill or Ctrl+E.[6]

Be careful with it. Flash Fill writes plain values, so when a name changes in column A, column C will not follow. For data that changes, I use a formula every time.

If it doesn't work

  • #NAME? error. A text argument is usually missing its quotation marks.[1]
  • Extra quotation marks in the result. A comma is missing between text arguments. Microsoft's example is =CONCATENATE("Hello ""World"), which returns Hello"World.[1]
  • Words run together. Add the space as " " between the cells.
  • #VALUE! on a big join. CONCAT and TEXTJOIN return it when the result passes 32,767 characters, which is the cell limit.[2]
  • CONCATENATE will not take a range. Each cell is its own argument. Switch to CONCAT or TEXTJOIN.
  • No CONCAT or TEXTJOIN at all. Microsoft lists TEXTJOIN for Excel 2019 and Microsoft 365 and later, so older versions need the & operator.[3]

My rule

I use & for anything short, TEXTJOIN for anything that is a list, and I never type CONCATENATE in a new workbook. The ampersand version is shorter, you can read it left to right, and Microsoft itself says the operator is often quicker.[1]

Takeaway

Join with & or TEXTJOIN, wrap dates and numbers in TEXT, and treat the result as display text, not data you will calculate with.

If your join needs a condition, the SUMIFS guide shows how criteria strings are built with the same & operator.

Primary sources

  1. 1.PrimaryMicrosoft Support, "CONCATENATE function". Syntax, the 255-item and 8,192-character limits, the replacement by CONCAT, the ampersand note and the common problems.
  2. 2.PrimaryMicrosoft Support, "CONCAT function". Ranges, 253 text arguments, the 32,767-character limit and the examples with results.
  3. 3.PrimaryMicrosoft Support, "TEXTJOIN function". Delimiter and ignore_empty arguments, 252 text arguments, the 32,767-character limit, availability and the examples.
  4. 4.PrimaryMicrosoft Support, "YEARFRAC function". Excel stores dates as serial numbers: January 1, 1900 is 1 and January 1, 2018 is 43101.
  5. 5.PrimaryMicrosoft Support, "TEXT function". Syntax, currency, leading-zero, percent and date format examples, and the locale note.
  6. 6.PrimaryMicrosoft Support, "Using Flash Fill in Excel". Combining first and last names, the Windows and macOS steps, Ctrl+E, and turning on Automatically Flash Fill.

Frequently asked questions

6 questions

How do I concatenate in Excel?

Use the & operator or CONCAT. For first names in A2 and last names in B2, =A2&" "&B2 or =CONCAT(A2," ",B2) returns the full name. Put any space or punctuation in quotation marks between the cells, and fill the formula down the column.

What is the difference between CONCATENATE, CONCAT and TEXTJOIN?

CONCATENATE is the old function and takes single cells only. CONCAT replaces it and also accepts ranges. TEXTJOIN adds a delimiter between items and an option to skip empty cells. Microsoft says CONCAT replaces CONCATENATE in Excel 2016, Excel Mobile and Excel for the web.

How do I add a space or comma when I concatenate in Excel?

Add the space or comma as its own text item in quotation marks, such as =A2&", "&B2. With TEXTJOIN, type it once as the delimiter: =TEXTJOIN(", ",TRUE,A2:C2). Without it, Excel joins the text with nothing between the words.

Why does my date turn into a number when I concatenate?

Excel stores dates as serial numbers, and joining a date cell returns that number, such as 43101 for January 1, 2018. Wrap the date in TEXT with a format, for example =A2&" "&TEXT(B2,"mm/dd/yyyy"), to show it as a date.

How do I concatenate a range of cells in Excel?

Use CONCAT or TEXTJOIN, because CONCATENATE does not accept ranges. =CONCAT(B2:C8) joins every cell with nothing between them, and =TEXTJOIN(", ",TRUE,A2:A8) joins them with a comma and a space and skips empty cells.

Is there a limit to how much text I can concatenate?

Yes. CONCATENATE allows up to 255 items and 8,192 characters. CONCAT and TEXTJOIN return a #VALUE! error if the result passes 32,767 characters, which is the size limit of a cell.

Keep reading

Written by

Tech Talk News Editorial

Computer engineering background. Writes about software, AI, markets, and real estate, and the places where the three meet.

About Tech Talk News