To add two pieces of text together in Excel, use the ampersand symbol (&) or the CONCAT function. For example, if cell A1 contains "John" and B1 contains "Doe", entering =A1 & " " & B1 into a third cell will result in "John Doe". This process, known as concatenation, allows you to merge data from multiple columns into one single string of text.

What You'll Need

  • A computer with Microsoft Excel installed (any version) or access to Excel for the Web.
  • A spreadsheet containing the text data you wish to combine.

Step-by-Step

  1. Identify your source cells: Locate the two cells containing the text you want to merge. For this guide, we will assume the first piece of text is in cell A2 and the second is in cell B2.
  2. Select the destination cell: Click on the empty cell where you want the combined result to appear (e.g., cell C2).
  3. Start the formula: Type an equals sign =. Every formula in Excel must begin with this symbol to tell the software to perform a calculation rather than treat the entry as plain text.
  4. Reference the first cell: Click on cell A2 or type A2.
  5. Insert the Ampersand: Type the & symbol. This is the "glue" that tells Excel to join the preceding value with the following value.
  6. Add a space (Optional but Recommended): If you are combining names or words, they will be squashed together (e.g., "JohnDoe") unless you add a space. To do this, type a quotation mark, a space, and another quotation mark: " ". Your formula should now look like =A2 & " ".
  7. Insert a second Ampersand: Type another & symbol to prepare for the second piece of text.
  8. Reference the second cell: Click on cell B2 or type B2. The full formula should now read: =A2 & " " & B2.
  9. Execute the formula: Press Enter on your keyboard. The combined text will now appear in the cell.
  10. Apply to other rows: To apply this formula to an entire column, click the small green square (fill handle) in the bottom-right corner of the destination cell and drag it down to the bottom of your data set.

Common Mistakes

  • Forgetting the Quotation Marks: A common error is typing =A2 & space & B2. Excel does not recognize the word "space" as a command; you must use " " to tell Excel you want a literal space character.
  • Missing the Equals Sign: If you start with A2 & B2 without the =, Excel will simply display the text of the formula instead of the combined result.
  • Confusing "Adding" with Summing: In Excel, the plus sign + is used exclusively for numbers. If you try to use =A2 + B2 on text cells, Excel will return a #VALUE! error because you cannot mathematically add words.
  • Overlooking Leading/Trailing Spaces: If your source cells already have accidental spaces at the end, adding a " " in your formula will result in double spaces between your words.

Tips

  • Using the CONCAT Function: If you have many cells to combine, the ampersand method becomes tedious. Instead, use =CONCAT(A2, " ", B2, " ", C2). This function allows you to list multiple cells separated by commas.
  • Adding Custom Text: You can add your own words into the formula. For example, ="Employee Name: " & A2 & " " & B2 will result in "Employee Name: John Doe".
  • Converting Formulas to Static Text: If you delete the original source cells (A2 and B2), your combined cell will break. To prevent this, copy the combined cells, right-click the destination, and select Paste Values (the icon with "123"). This removes the formula and keeps only the final text.
  • Using TEXTJOIN: For advanced users, the =TEXTJOIN function is the most powerful. It allows you to set a delimiter (like a comma or space) once and automatically ignore empty cells in your range.

Troubleshooting

If the formula does not work as expected, try these steps in order:

  1. Check for #VALUE! Errors: This usually means you used a + instead of an &. Replace the plus signs with ampersands.
  2. Check for Formula Display: If you see the actual text =A2 & B2 in the cell instead of the result, the cell may be formatted as "Text". Go to the Home tab, look at the Number formatting dropdown, change it to General, then double-click the cell and press Enter again.
  3. Verify Cell References: Ensure you are referencing the correct cells. If you dragged the formula down and the results look wrong, check that the cell letters and numbers shifted correctly (e.g., A2 became A3, A4, etc.).
  4. Remove Extra Spaces: If the result has too many spaces, check the original source cells for hidden spaces at the end of the words. You can use the =TRIM() function to remove these automatically.

Frequently Asked Questions

Can I combine text from different worksheets?

Yes. Instead of clicking a cell on the same sheet, click the tab of the other worksheet and select the cell. The formula will look like =Sheet1!A2 & " " & Sheet2!A2.

How do I add a line break between two pieces of text?

Use the CHAR function for a line break. Use =A2 & CHAR(10) & B2. You must also enable Wrap Text in the Home tab for the line break to be visible.

Is there a limit to how many cells I can combine?

While there is a technical limit to the number of characters a single cell can hold (32,767 characters), you can practically combine hundreds of cells using the CONCAT or TEXTJOIN functions.

Does this work in Google Sheets?

Yes, the ampersand & and the CONCAT functions work identically in Google Sheets as they do in Microsoft Excel.

Can I combine a date and text?

If you use =A2 & " " & B2 and B2 is a date, Excel will show the date as a raw number (e.g., 45231). To fix this, use the TEXT function: =A2 & " " & TEXT(B2, "mm/dd/yyyy").