English
/

How to Combine Text From Two Cells in Excel

Last edited Nov 17, 2026 · 5 min read

To combine text from two cells in Excel with a space, enter =A2&" "&B2 in a new cell and press Enter. CONCAT also joins text, while TEXTJOIN gives more control over separators and blank cells.

On this page▾
  1. How do you combine two text cells in Excel?
  2. Add a space between the names
  3. Method 2: CONCAT
  4. Is it JOINTEXT or TEXTJOIN in Excel?
  5. Joining dates and numbers without losing their format
  6. Fixing capitalization while you combine
  7. Turning formulas into plain text
  8. Which method to choose
  9. Frequently asked questions
  10. How do I keep leading zeros when combining an ID and a name?
  11. What to check before sharing the workbook

If A2 contains Maria and B2 contains Lopez, =A2&" "&B2 returns Maria Lopez. Put the formula in a separate result cell, not in either source cell.

Needed result Formula for two cells
No separator =A2&B2
Space between words =A2&" "&B2
Comma and space =A2&", "&B2
Skip an empty cell =TEXTJOIN(" ",TRUE,A2:B2)

The examples below use a different layout with a middle-name column, so the first and last names are in A and C. The sample sheet has First (A), Middle (B), Last (C), Start date (D) and Balance (E):

First Middle Last Start Balance
Maria Elena Lopez Mar 2, 2026 1234.5
Sam Chen Oct 19, 2026 87

How do you combine two text cells in Excel?

Add a space between the names

Microsoft's help page on combining cells starts with the ampersand (&). Type =, select the first cell, type &" "&, then select the second cell:

=A2&" "&C2

This returns Maria Lopez. The " " is a space in quotes. Without it, you get MariaLopez. Anything in quotes is added exactly as typed, so =C2&", "&A2 gives Lopez, Maria.

Method 2: CONCAT

CONCAT does the same job as a function. Microsoft's example pattern:

=CONCAT(C2,", ",A2)

This also returns Lopez, Maria. Microsoft notes that CONCAT replaces the older CONCATENATE function, which stays available for compatibility, and that CONCAT is available in Office 2019 and Microsoft 365.

CONCAT can also take a whole range. With email addresses in F2:F5, =CONCAT(F2:F5) runs them all together with nothing in between, which is rarely what you want. Use TEXTJOIN when the values need separators.

A Google Sheets difference: Google's help page describes its CONCAT as joining exactly two values, equivalent to the & operator. A three-part formula that works in Excel will not work in Sheets with CONCAT. Use the & operator or TEXTJOIN instead when a sheet must work in both.

Is it JOINTEXT or TEXTJOIN in Excel?

The Excel function is TEXTJOIN, not JOINTEXT. To combine words in Excel while skipping empty cells, use =TEXTJOIN(" ",TRUE,A2:C2). TEXTJOIN takes a separator, a TRUE or FALSE for whether to skip empty cells, and then the text to join. Microsoft lists the syntax as TEXTJOIN(delimiter, ignore_empty, text1, ...).

This matters as soon as a cell is blank. Sam has no middle name:

=A3&" "&B3&" "&C3

This returns Sam Chen with two spaces. You can confirm it with =LEN(A3&" "&B3&" "&C3), which counts 9 characters instead of 8. That extra space can make the combined text differ from an otherwise identical name in another list. TEXTJOIN avoids it:

=TEXTJOIN(" ",TRUE,A3:C3)

This returns Sam Chen, and the same formula on row 2 returns Maria Elena Lopez. The TRUE tells Excel to skip the empty middle cell.

The same idea turns a column into a list. With three addresses in F2:F5 and F4 empty:

=TEXTJOIN(", ",TRUE,F2:F5)

This returns the three addresses separated by commas. Change TRUE to FALSE and you get a stray , , where the blank cell was. Microsoft notes that if the result is longer than 32,767 characters, the cell limit, TEXTJOIN returns #VALUE!.

Joining dates and numbers without losing their format

A date stored as a numeric value needs a format inside the joining formula:

=A2&" started on "&D2

You might expect "Maria started on March 2, 2026." Excel returns Maria started on 46083. Microsoft's TEXT function page explains why: when you combine text with formatted numbers such as dates, times or currency, Excel drops the number formatting. 46083 is the serial number for that date in Excel's standard 1900 date system; workbooks using the 1904 date system use a different serial number.

The fix is to format the value inside the formula with TEXT:

=A2&" started on "&TEXT(D2,"mmmm d, yyyy")

This returns Maria started on March 2, 2026. The same applies to money:

="Balance: "&TEXT(E2,"$#,##0.00")

This returns Balance: $1,234.50 instead of Balance: 1234.5. A shorter date code works too: =TEXT(D3,"ddd, mmm d") returns Mon, Oct 19.

Microsoft adds a caution: TEXT converts numbers to text, which makes the result hard to use in later calculations. Keep the original date or number in its own cell, and point any math at that cell, not at the combined label.

Fixing capitalization while you combine

Imported names often arrive in odd cases. Microsoft's TEXT page points to UPPER, LOWER and PROPER for this. =PROPER("mARIA lopez") returns Maria Lopez, and =UPPER(C2)&", "&A2 returns LOPEZ, Maria, a common style for name badges.

Turning formulas into plain text

A combined column still depends on its source cells. If you plan to delete the First and Last columns, copy the combined column and paste it back as values first. Deleting referenced source columns can leave broken references. Keep the original columns until you have confirmed that the result cells contain the text you need.

Which method to choose

Situation Best choice
Two or three cells, quick label &
Function style, Excel only CONCAT
Some cells may be blank TEXTJOIN with TRUE
A column into one list TEXTJOIN
Dates, times or money in the text TEXT inside any of the above

To do the reverse and split one cell into several, see Text to Columns in Excel and Google Sheets (Formulas).

Frequently asked questions

How do I keep leading zeros when combining an ID and a name?

If an ID is stored as a number and needs five digits, use =TEXT(A2,"00000")&" "&B2. With 123 in A2 and Lopez in B2, the result is 00123 Lopez. Microsoft's TEXT page shows the same approach: =TEXT(1234,"0000000") adds leading zeros.

What to check before sharing the workbook

For dates and money, inspect the actual combined output: the TEXT format code determines its appearance, and Microsoft notes the thousands separator depends on your regional settings (a comma in the US, a period in some other locales).

Sources

  1. "Microsoft Support, Combine text from two or more cells into one cell
  2. "Microsoft Support, CONCAT function
  3. "Microsoft Support, TEXTJOIN function
  4. "Microsoft Support, TEXT function
  5. "Google Docs Editors Help, CONCAT

About this guide

Howlane operator · Checked against the official sources listed above. It is general information, not professional advice.

AboutEditorial standardsCorrectionsReport an error

Edit history

  • Updated
  • Sources checked
  • Updated
  • Updated
  • Updated
  • Published