To merge two cells in Excel, select the two cells and click Home > Merge & Center > Merge Cells (or Merge & Center). That combines them into one cell, but it keeps only the value from the upper-left cell and deletes the rest. If you need to keep both values, use a formula such as =A1&" "&B1 first, then copy and paste the result as values before merging. The steps below cover both methods, plus the pitfalls that cause most lost data.

What You'll Need

  • Excel for Windows, Mac, or Excel for the web (menu labels can differ slightly by version, platform, or region).
  • A workbook with the two cells you want to combine.
  • For the formula method: an empty column to the right of your data, so you do not overwrite anything.

Step-by-Step

Method 1: Merge Cells (keeps one value)

  1. Open your workbook and click the first cell you want to merge.
  2. Hold Shift and click the second cell, or drag across both, so both are highlighted. They must be adjacent (side by side or stacked).
  3. On the Home tab, find the Alignment group and click Merge & Center. A small dropdown arrow next to it offers Merge Cells, Merge & Center, Merge Across, and Unmerge Cells.
  4. Choose Merge Cells if you want the text left as-is, or Merge & Center if you want it centered. Excel will warn you that only the upper-left value is kept. Click OK.
  5. Check the result. The merged cell now spans both columns (or rows) and holds the value that was in the upper-left cell.

Method 2: Combine Both Values With a Formula (recommended)

  1. Click an empty cell to the right of your two cells, for example C1 if your data is in A1 and B1.
  2. Type =A1&" "&B1 and press Enter. The & joins the two values, and the " " adds a space between them. For a comma instead, use =A1&", "&B1.
  3. If you want a line break instead of a space, use =A1&CHAR(10)&B1, then turn on Wrap Text on the Home tab so the break is visible.
  4. Copy the formula cell with Ctrl+C (Cmd+C on Mac), then right-click and choose Paste Special > Values to replace the formula with plain text.
  5. Now select the two original cells and merge them using Method 1, or simply delete the originals and keep the combined column. Merging after pasting values is safe because the text already lives in one cell.

Method 3: Merge Across Rows or Columns

  1. Select a range that spans multiple rows or columns, for example A1:B3.
  2. Use Merge Across to merge each row separately (A1:B1, A2:B2, A3:B3) rather than one giant block. This is useful for headers.
  3. Use Merge Cells on the same range to create one large cell. Only the top-left value survives.

Common Mistakes

  • Merging before combining. Excel keeps only the upper-left value. If both cells had data, the second value is gone unless you undo immediately with Ctrl+Z.
  • Merging cells that feed formulas. Merged cells break references and sorting. Keep raw data unmerged and merge only for display or headers.
  • Merging a whole column. This creates one enormous cell and makes filtering, sorting, and copy-paste behave unpredictably.
  • Forgetting that merged cells cannot be sorted or filtered normally. Excel will warn you or produce odd results.
  • Using Merge & Center when you meant Merge Cells. The centering is cosmetic but can make text look misaligned in narrow columns.

Tips

  • Use CONCAT or TEXTJOIN for more than two cells: =TEXTJOIN(" ",TRUE,A1,B1,C1) ignores empty cells when the second argument is TRUE.
  • Keep a helper column with the combined text and leave the originals intact until you have checked the result.
  • Merge only for presentation, such as a title row above a table. Keep the data table itself unmerged.
  • If you merge and later need the values back, press Ctrl+Z right away. After you save and close, the deleted values are not recoverable from the file.
  • On Excel for the web, the Merge & Center options are on the Home tab but some variants may be missing; the desktop app has the full set.

Troubleshooting

  • The Merge & Center button is greyed out. You are likely in edit mode inside a cell, or the selection includes a table. Press Enter to leave edit mode, or convert the table to a range first (Table Design > Convert to Range).
  • Excel says "Merging cells only keeps the upper-left value." That is the warning described above. Click Cancel, combine the values with a formula first, then merge.
  • The merged cell shows only part of the text. Turn on Wrap Text and increase the row height, or widen the column.
  • You cannot sort or filter after merging. Unmerge (Merge & Center > Unmerge Cells), then sort, then merge again if needed. Better: do not merge data cells at all.
  • The formula shows #VALUE! or joins numbers oddly. One cell may contain an error or a number formatted as text. Check each cell with =ISNUMBER(A1) and clean the data first.
  • You merged the wrong cells. Select the merged cell and choose Unmerge Cells. The value returns to the upper-left cell; the other cells stay empty.

Frequently Asked Questions

Can I merge two cells and keep both values?

Not with the Merge button alone. Combine the values first with =A1&" "&B1, paste the result as values, then merge, or simply keep the combined column without merging.

Why is Merge & Center greyed out?

Usually because you are editing inside a cell or the selection is part of an Excel table. Press Enter and convert the table to a range if needed.

Does merging delete data?

Yes, all values except the upper-left one are removed. Undo with Ctrl+Z immediately if you merged by mistake.

How do I merge cells without centering the text?

Use the dropdown arrow next to Merge & Center and choose Merge Cells instead of Merge & Center.

Can I merge cells across multiple rows?

Yes. Select the range and use Merge Across to merge each row separately, or Merge Cells for one large block.

Does merging work the same on Mac and Excel for the web?

The feature is on the Home tab in all versions, but the dropdown may list slightly different options. The desktop Windows and Mac apps have the full set.