Joining strings in Excel combines text from multiple cells into one, saving time and reducing errors when creating full names, addresses, product codes, or labels. This is done using built-in functions like CONCATENATE, CONCAT, or the ampersand (&) operator — no add-ins or macros needed. All versions of Excel from 2003 onward support these methods.

What You'll Need

  • Microsoft Excel (any version from 2003 or later)
  • A worksheet with text data in separate cells
  • At least one empty cell to display the joined result

Step-by-Step

  1. Open your Excel worksheet and identify the cells containing the text you want to join. For example, if you have first names in column A (A2, A3, etc.) and last names in column B (B2, B3, etc.), you’ll combine these into column C.
  2. Click on the first empty cell where you want the joined result to appear — for instance, C2.
  3. Enter one of the following formulas, depending on your Excel version and preference:

Option 1: Using the ampersand (&) operator — works in all versions

  1. Type: =A2&" "&B2 (include the equals sign). This joins the content of A2, a space, and B2.
  2. Press Enter. The result in C2 will show as "John Doe" if A2 has "John" and B2 has "Doe".

Option 2: Using CONCATENATE — available in Excel 2003 and later

  1. Type: =CONCATENATE(A2," ",B2)
  2. Press Enter. This produces the same result as the ampersand method.

Option 3: Using CONCAT — available in Excel 2016 and later

  1. Type: =CONCAT(A2," ",B2)
  2. Press Enter. CONCAT is a simplified version of CONCATENATE and handles ranges better.

Option 4: Using TEXTJOIN — available in Excel 2016 and later, best for multiple cells or arrays

  1. Type: =TEXTJOIN(" ",TRUE,A2:B2)
  2. Press Enter. This joins all cells in the range A2:B2 with a space, and ignores empty cells thanks to the TRUE argument.
  1. After entering the formula in C2, hover over the bottom-right corner of the cell until the cursor turns into a thin black cross (the fill handle).
  2. Click and drag the fill handle down over the range of rows you need to join (e.g., down to C100).
  3. Release the mouse. Excel automatically adjusts the cell references (A3, B3; A4, B4; etc.) and applies the same logic to each row.
  4. Verify results in a few rows to ensure spacing and data alignment are correct.

Common Mistakes

  • Forgetting the equals sign (=) at the start — Excel treats the formula as plain text if you omit it.
  • Using commas instead of ampersands or vice versa — CONCATENATE and TEXTJOIN use commas to separate arguments; & joins directly and requires quotes for static text like spaces.
  • Not using quotes around literal text — if you want a space, comma, or hyphen between joined values, you must enclose it in double quotes, like " " or ",".
  • Incorrect cell references — dragging the formula incorrectly may reference the wrong rows or columns. Always check the formula in the formula bar after dragging.
  • Using CONCATENATE with ranges — CONCATENATE doesn’t accept cell ranges like A2:A10. You must list each cell individually: =CONCATENATE(A2,A3,A4). TEXTJOIN fixes this limitation.

Tips

  • Use TEXTJOIN when joining more than two or three cells — it’s faster and cleaner. For example, =TEXTJOIN(" ",TRUE,D2:F2) joins three cells with a space and skips blanks.
  • Place a space or punctuation inside quotes to avoid merged text: =A2&","&B2 gives "John,Doe" instead of "JohnDoe".
  • Use TRIM inside your formula to clean up extra spaces: =TRIM(A2)&" "&TRIM(B2) removes leading/trailing spaces before joining.
  • If joining dates or numbers, Excel converts them to text automatically, but you can control format with TEXT: =A2&" sold on "&TEXT(B2,"mm/dd/yyyy").
  • Copy and paste values after joining if you need to remove formulas — select the column, right-click, choose Copy, then Paste Values to keep only the text.

Troubleshooting

  • Formula shows as text, not result: Check that the cell is not formatted as Text. Right-click the cell > Format Cells > change to General or Text (if you want to keep it as text), then press F2 and Enter to recalculate.
  • Formula returns #NAME? error: This means Excel doesn’t recognize the function name. Check spelling: TEXTJOIN is not available in Excel 2013 or earlier. Use CONCATENATE or & instead.
  • Result looks wrong (missing spaces or symbols): Double-check that you included quotes around separators. =A2&B2 merges without space; =A2&" "&B2 adds one.
  • Empty cells cause extra spacing: Use TEXTJOIN with TRUE as the second argument to ignore blanks. If using &, wrap each cell in IF: =IF(A2="","",A2&" ")&IF(B2="","",B2).
  • Formula breaks after dragging: Use absolute references (like $A$2) if you’re copying across columns. For row-wise dragging, relative references (A2) are correct — if results are off, your source data may be misaligned.
  • Special characters display as ? or boxes: Ensure your data doesn’t contain non-standard Unicode characters that Excel can’t render. Copy the source text into Notepad first to clean it.

Frequently Asked Questions

Can I join more than two cells in Excel?

Yes. Use TEXTJOIN for multiple cells: =TEXTJOIN(" ",TRUE,A2:E2) joins five cells. With CONCATENATE, list each cell: =CONCATENATE(A2," ",B2," ",C2).

Does Excel preserve formatting when joining strings?

No. Numbers, dates, or currency formatting in source cells are converted to plain text. For example, $1,200.00 becomes 1200. Use the TEXT function to format numbers as text before joining: =A2&" costs "&TEXT(B2,"$#,##0.00").

Can I join cells from different sheets?

Yes. Reference the sheet name with an exclamation mark: =Sheet2!A2&" "&Sheet3!B2. Ensure the sheets exist and the cell references are correct.

What if I need to join with a line break?

Use CHAR(10) for a line break: =A2&CHAR(10)&B2. After entering the formula, enable Wrap Text under the Home tab to display the line break properly.

Why does TEXTJOIN say "not a valid function"?

You’re using Excel 2013 or earlier. TEXTJOIN was introduced in Excel 2016. Use CONCATENATE or the ampersand (&) operator instead.

Can I join strings with a conditional separator?

Yes, using IF. For example: =A2&IF(B2="",""," "&B2) only adds a space if B2 has content. This prevents double spacing when data is missing.