Excel: Combine Text From 2 Cells With &, CONCAT or TEXTJOIN
Combine text from 2 cells in Excel with the & operator, CONCAT, TEXTJOIN or Flash Fill, plus how to add spaces, skip blanks and keep dates readable.
To combine text from 2 cells in Excel, type =A2&" "&B2 in an empty cell: the ampersand joins the two values and the " " puts a space between them. If you prefer a function, =CONCAT(A2," ",B2) does the same thing, and =TEXTJOIN(" ",TRUE,A2,B2) also skips blank cells so you never get stray spaces.
Below is how each option works, when to pick which one, and the small gotchas (dates, empty cells, line breaks) that trip people up. Everything here is based on Microsoft’s own documentation and a few established Excel tutorial sites, as of October 2026.
The quick method: the & operator
The ampersand (&) is Excel’s text-joining operator. It works in every version of Excel, including Excel for the web, and it is what Microsoft’s own guide to combining cells shows first.
- Click the cell where you want the combined text (for example C2).
- Type
=and click the first cell (A2). - Type
&" "&to add a space. Any text inside the quotes is inserted literally. - Click the second cell (B2) and press Enter.
- Drag the fill handle down to copy the formula to the rest of the column.
The result is =A2&" "&B2. If A2 holds “Ada” and B2 holds “Lovelace”, C2 shows “Ada Lovelace”.
You can put any separator between the quotes:
| You want | Formula | Result |
|---|---|---|
| Space | =A2&" "&B2 | Ada Lovelace |
| Comma and space | =B2&", "&A2 | Lovelace, Ada |
| Hyphen | =A2&"-"&B2 | Ada-Lovelace |
| No separator | =A2&B2 | AdaLovelace |
| Extra words | =A2&" works in "&B2 | Ada works in Lovelace |
One catch: & does not know a cell is empty. If B2 is blank, =A2&" "&B2 still adds the space, leaving a trailing space at the end. That rarely matters visually, but it can break lookups and exact-match comparisons later. TEXTJOIN (below) solves that.
Using CONCAT (and the older CONCATENATE)
If you’d rather use a function, CONCAT takes each piece as a separate argument:
=CONCAT(A2," ",B2)
According to Microsoft, CONCAT replaces the older CONCATENATE function, but CONCATENATE remains available for compatibility with earlier versions of Excel. So =CONCATENATE(A2," ",B2) still works and gives the same result.
What CONCAT adds over CONCATENATE is support for ranges: you can write =CONCAT(A2:B2) instead of listing each cell. However, Microsoft notes that CONCAT has no delimiter or ignore-empty arguments, so with a range it simply glues the values together with nothing in between. For two cells with a space, the & operator is usually just as short.
Microsoft lists CONCAT as available in Office 2019 and later on Windows and Mac, and in Microsoft 365. It accepts up to 253 text arguments.
Using TEXTJOIN to add a separator and skip blanks
TEXTJOIN is the most flexible option. Its syntax is:
=TEXTJOIN(delimiter, ignore_empty, text1, [text2], ...)
- delimiter is what goes between each item, such as
" "or", ". Microsoft notes it can also be a cell reference, and an empty string makes TEXTJOIN behave like plain concatenation. - ignore_empty set to
TRUEskips blank cells, so you never get doubled or trailing separators. - text1, text2… are the cells or ranges to join.
To combine two cells with a space:
=TEXTJOIN(" ",TRUE,A2,B2)
or, since the cells are next to each other:
=TEXTJOIN(" ",TRUE,A2:B2)
If B2 is empty, the result is just “Ada” with no trailing space. That makes TEXTJOIN the best pick for messy data, such as a middle-name column that is only sometimes filled in.
Like CONCAT, TEXTJOIN is available in Office 2019 and later and in Microsoft 365, per Microsoft’s documentation. Microsoft also notes that if the result exceeds 32,767 characters (the cell limit), TEXTJOIN returns a #VALUE! error.
Without a formula: Flash Fill
If you only need to combine the text once and don’t want formulas in the sheet, Flash Fill can do it by example. Microsoft uses exactly this case, combining first and last names from two columns, to explain the feature.
- In the first row of an empty column, type the combined result yourself, for example “Ada Lovelace”, and press Enter.
- Start typing the next row’s combined value. Excel shows a greyed-out preview for the rest of the column.
- Press Enter to accept it.
If no preview appears, you can run it manually from Data > Flash Fill, or press Ctrl+E, which older Microsoft documentation and guides such as How-To Geek list as the shortcut.
Keep in mind that Flash Fill writes plain values, not formulas. If you later change a first name in column A, the combined column will not update. Use a formula if the source data is still changing.
Which method should you use?
| Method | Works in | Skips blank cells | Updates automatically | Best for |
|---|---|---|---|---|
& operator | All versions | No | Yes | Quick two-cell joins |
| CONCAT / CONCATENATE | CONCAT: 2019+ and Microsoft 365; CONCATENATE: all | No | Yes | Readers who prefer functions |
| TEXTJOIN | 2019+ and Microsoft 365 | Yes (with TRUE) | Yes | Separators, blanks, ranges |
| Flash Fill | Excel versions with Flash Fill | Depends on your example | No | One-off cleanups |
If you share workbooks with people on older Excel versions, stick with & or CONCATENATE so the formula doesn’t break on their side.
Common problems and fixes
Dates or numbers lose their formatting
When you join a date to text, Excel uses the underlying value rather than what you see in the cell, so a date can show up as a long serial number. Wrap it in the TEXT function with a format code:
=A2&" - "&TEXT(B2,"dd/mm/yyyy")
The same approach works for currency or decimals, for example TEXT(B2,"0.00"). Format codes can behave differently depending on your regional settings, so check the result on your machine.
Putting each cell on its own line
To stack the two values inside one cell, use CHAR(10) (a line break on Windows) as the separator, as explained by Spreadsheet Planet:
=A2&CHAR(10)&B2 or =TEXTJOIN(CHAR(10),TRUE,A2:B2)
Then turn on Home > Wrap Text for that cell. Without Wrap Text, Excel won’t display the break.
Don’t use Merge & Center to combine text
Merge & Center sounds like the right tool, but it doesn’t combine content. As Ablebits explains, Excel keeps only the upper-left cell’s value and deletes the rest, after showing a warning. Unmerging later does not bring the deleted text back. Combine the text with a formula first, then merge the cells for layout if you really need to.
Turning formulas into plain text
If you want to delete the original columns but keep the combined result, convert the formulas to values first: copy the combined column, then use Paste Special > Values (or the Paste Values option on the Home tab) over the same cells. After that, the original columns can go without breaking anything.
Summary
For two cells, =A2&" "&B2 is the fastest and most compatible answer. Switch to =TEXTJOIN(" ",TRUE,A2,B2) when some cells may be empty, use TEXT() when dates or numbers are involved, and reach for Flash Fill when you want a one-time result without formulas. Function availability details reflect Microsoft’s documentation as of October 2026 and may change as Excel is updated.
Free apps worth trying
SponsoredSponsored links. Installing through them can earn us a commission, at no cost to you. Apps are free to download; some offer optional in-app purchases.
Frequently asked questions
Is CONCATENATE still available in Excel? +
Yes. Microsoft says CONCAT replaces CONCATENATE, but CONCATENATE remains available for compatibility with earlier versions of Excel. For new workbooks, CONCAT or the & operator is the safer choice.
Why does my combined cell show a number instead of a date? +
Excel stores dates as serial numbers, and joining a date as text exposes that number. Wrap the date in the TEXT function with a format code, for example =TEXT(B2,"dd/mm/yyyy")&" "&A2, and check the format code matches your regional settings.
How do I combine two cells without leaving an extra space when one is empty? +
Use TEXTJOIN with the ignore_empty argument set to TRUE, for example =TEXTJOIN(" ",TRUE,A2,B2). It only adds the delimiter between cells that actually contain something. TEXTJOIN needs Excel 2019 or later, or Microsoft 365.
Can I use Merge & Center to combine text from two cells? +
No. Merging keeps only the value in the upper-left cell and discards the others, and Excel warns you before it does so. Combine the text with a formula first, then merge or format the cells if you still need to.
Sources
- Combine text from two or more cells into one cell in Microsoft Excel (support.microsoft.com)
- TEXTJOIN function (Microsoft Support) (support.microsoft.com)
- CONCAT function (Microsoft Support) (support.microsoft.com)
- Using Flash Fill in Excel (Microsoft Support) (support.microsoft.com)
- How to Combine First and Last Names in Microsoft Excel (How-To Geek) (howtogeek.com)
- How to merge cells in Excel without losing data (Ablebits) (ablebits.com)
- How to Concatenate with Line Breaks in Excel (Spreadsheet Planet) (spreadsheetplanet.com)