Tech Reference

How to merge and unmerge cells in Microsoft Excel in 4 ways, to clean up your data and formatting

working on laptops
There's a simple menu that will let you merge cells in Excel. Mark Wilson/Getty
Read in app

Merging cells is an easy task in Excel, and there are several different default merge styles. You can "Merge and Center" (ideal for a title), "Merge Across" (which merges a cell across columns), or "Merge Cells" (which combines cells across both columns and rows). 

In all cases, this will only bring over the content of the cell on the upper-leftmost cell. If there's other data across the cells you're trying to merge, you'll receive a warning saying that merging cells only keeps the upper-left values and discards all others.

How to merge cells in Excel

How to merge and center

1. Highlight the cells you want to merge and center.

2. Click on "Merge & Center," which should be displayed in the "Alignment" section of the toolbar at the top of your screen.

Mergecells1
The top row of cells here is selected.  Ryan Ariano/Business Insider

3. The cells will now be merged with the data centered in the merged cell.

Mergecells2
The selected cells will merge to become one bigger cell.  Ryan Ariano/Business Insider

How to merge across

1. Highlight the cells you want to merge.

2. Click on the arrow just next to "Merge and Center."

3. Scroll down to click on "Merge Across."

Mergecells3
Selecting "Merge Across" will specifically merge only rows.  Ryan Ariano/Business Insider

4. The value on the far-left will now be the sole value for the merged cells, though it'll keep previous alignments steady. For example, a left-aligned value will stay in the left side of the fully merged cell.

Mergecells4
Alignments don't shift.  Ryan Ariano/Business Insider

How to merge cells

1. Highlight the cells you want to merge.

2. Click on the arrow just next to "Merge and Center."

3. Scroll down to click on "Merge Cells".

Mergecells5
This will merge both rows and columns into one large cell, with alignment intact.  Ryan Ariano/Business Insider

4. This will merge the content of the upper-left cell across all highlighted cells.

How to unmerge cells

1. Highlight the combined cell you want to unmerge.

2. Click on the arrow just next to "Merge and Center."

3. Click on "Unmerge."

Mergecells8
"Unmerge" will split the cells back into normal size and order.  Ryan Ariano/Business Insider

4. Note that unmerging cells won't bring back data previously erased by the merging.

Related coverage from How To Do Everything: Tech:

Read next

Ryan Ariano grew up in Baltimore when the Macintosh was cutting edge, lived in Los Angeles as Blackberries gave way to iPhones, and now lives in Jackson Hole where his life is held together by Bluetooth. He writes on a wide range of topics but especially loves nerding out across the tech spectrum. Learn more about how our team of experts tests and reviews products at Insider here.