The simplest way to merge two cells with text
Excel gives you two different ways to combine text from separate cells, and which one you use depends on whether you want to keep the original cells or replace them. The fastest method is the concatenation formula, which pulls text from two cells into a third one without changing the originals. If you want to physically merge the cells themselves into a single box on your spreadsheet, you use the merge cells feature — but this deletes all but the first cell's content unless you combine it with a formula first.
Most people should use the concatenation formula because it preserves your data and gives you a working formula you can copy down to dozens of rows at once. The merge cells feature is useful mainly when you want a single cell to span multiple columns for a header or title.
Key Takeaways
- A concatenation formula like =A1&B1 or =CONCATENATE(A1,B1) combines text from two cells into a new cell without deleting anything.
- Use =A1&" "&B1 if you want a space between the combined text, since Excel does not add spaces automatically.
- The merge cells feature (Home tab, Merge & Center) physically combines cells into one box but erases all content except the first cell unless you use a formula first.
- After you write a formula in one cell, you can copy it down to all rows at once by selecting the cell and dragging the fill handle to the bottom of your data.
Using a formula to combine text from two cells
Open your spreadsheet and click on an empty cell where you want the combined text to appear — usually a column to the right of your two source cells. Type the formula =A1&B1 (replacing A1 and B1 with the actual cell addresses of your two cells). Press Enter, and Excel will immediately show the combined text in that cell.
If the result looks like JohnSmith when you wanted John Smith, you need to add a space. Click the cell again and edit the formula to =A1&" "&B1. The space goes inside the quotation marks. Press Enter, and now the text will have a space between the two parts.
To apply this formula to many rows at once, click the cell containing your formula and look for the small square in the bottom-right corner of the cell (called the fill handle). Click and drag that square down to the last row of your data. Excel will automatically adjust the cell references for each row — the second row will use A2&B2, the third will use A3&B3, and so on.
The CONCATENATE function as an alternative
Excel also has a CONCATENATE function that does the same thing as the ampersand (&) method. The formula looks like =CONCATENATE(A1,B1) or =CONCATENATE(A1," ",B1) if you want a space. Both approaches work identically — the ampersand method is just shorter to type.
Newer versions of Excel (2016 and later) also have a TEXTJOIN function, which is useful if you are combining more than two cells or want to add the same separator between all of them. For example, =TEXTJOIN(" ",FALSE,A1,B1,C1) will combine three cells with spaces between each one. The FALSE tells Excel not to skip empty cells.
When to use the merge cells feature instead
The merge cells feature physically combines multiple cells into one larger cell. This is useful for headers, titles, or labels that should span across several columns. To use it, select the cells you want to merge (click the first cell, hold Shift, and click the last cell). Then go to the Home tab, find the Merge & Center button in the Alignment group, and click it.
The important thing to know: merging cells deletes everything except the content of the first cell. If both cells contain text you need, use a concatenation formula first to combine them into the first cell, then merge. For example, if A1 has "John" and B1 has "Smith", type =A1&" "&B1 into A1 first (which will overwrite "John"), then select A1:B1 and merge them.
Combining cells and then merging them
If you want both the combined text and a merged cell, you need to do this in order: first create the combined text, then merge. Click on the first cell (A1) and type a formula like =A1&" "&B1 — but wait, this creates a circular reference because you are trying to use A1 inside A1 itself. Instead, use a helper column: put the formula in an empty column like D1, then copy the result, paste it back into A1 as values only (Paste Special, Values), and then merge A1:B1.
Here is the step-by-step: Put =A1&" "&B1 in cell D1. Press Enter. Click D1 again, press Ctrl+C to copy. Click A1, right-click, choose Paste Special, click Values, and press Enter. Now A1 contains the combined text. Select A1:B1, go to Home, click Merge & Center. The cells are now merged with the combined text inside.
Fixing merged cells that went wrong
If you merged cells and lost data, the original content is gone — Excel does not keep it in the undo history after you close the file. To prevent this in the future, always use a formula to combine the text first, then merge if you need to.
If you have already merged cells and want to separate them again, select the merged cell, go to Home, click the Merge & Center dropdown arrow, and choose Unmerge Cells. The text stays in the first cell, and the others become empty again.
Frequently Asked Questions
Can I merge cells that are not next to each other?
No, the merge feature only works on cells in a continuous block. If you need to combine text from cells that are far apart, use a concatenation formula instead — it works with any cells, no matter where they are on the spreadsheet.
What if I want to combine more than two cells?
Use the formula =A1&" "&B1&" "&C1 to combine three cells, or add more ampersands and cell references for additional cells. Alternatively, use TEXTJOIN: =TEXTJOIN(" ",FALSE,A1:C1) combines a range of cells with spaces between them.
Does the formula update if I change the original cells?
Yes, the formula updates automatically whenever you edit either of the source cells. If you change A1 from "John" to "Jane", the combined cell will immediately show "Jane Smith" instead of "John Smith".
Can I undo a merge if I already did it?
Yes, select the merged cell, go to Home, click the Merge & Center dropdown, and choose Unmerge Cells. The text returns to the first cell. If you closed the file after merging, the data in the other cells is permanently lost.