Merging cells combines two or more cells into one larger cell
When you merge cells in Excel, you are combining multiple adjacent cells into a single cell. The merged cell spans the width or height of all the cells you selected. Excel keeps the content from the top-left cell and discards the content from the other cells, so make sure you do not need that data before you merge.
Merging is useful when you want to create a title that stretches across several columns, or when you are building a form where one label needs to cover multiple rows. It is purely visual — the merged cell still occupies the same grid space, but it looks and behaves as one unit.
Key Takeaways
- Select the cells you want to merge by clicking the first cell and dragging to the last one, or by holding Shift and clicking the corners.
- Excel keeps only the content from the top-left cell when you merge, so move important data to that position first if needed.
- Use the Merge & Center button on the Home tab to merge cells and center the text in one action.
- You can unmerge cells at any time by selecting the merged cell and clicking Unmerge Cells from the same menu.
Select the cells you want to merge
Start by clicking on the first cell you want to include in the merge. This is usually the top-left cell of the range. Hold down your mouse button and drag to the last cell you want to merge, then release. All the cells in between will highlight in blue.
If dragging is awkward, you can also click the first cell, then hold Shift on your keyboard and click the last cell. Excel will select everything in between. Either method works — use whichever feels more natural to you.
Open the merge options on the Home tab
With your cells selected, look at the top of the Excel window for the Home tab. It is usually already open when you start Excel. In the Alignment section of the ribbon (the toolbar below the tabs), you will see a button that says "Merge & Center" with a small arrow next to it.
Click the arrow next to Merge & Center to see your options. You will see four choices: Merge & Center, Merge Across, Merge Cells, and Unmerge Cells. Each one does something slightly different, so pick the one that matches what you need.
Choose the right merge option for your layout
Merge & Center combines the cells and centers the text horizontally. This is the most common choice and works well for titles and headers. The text will be centered left to right across the merged area.
Merge Across merges cells in a single row only. Use this when you have selected cells in one row and want to keep them as one row. It is useful for creating labels that span multiple columns without affecting rows above or below.
Merge Cells combines all selected cells without centering the text. The text stays aligned to the left (or whatever alignment was already set). Pick this if you want to merge but keep your own text alignment.
Unmerge Cells splits a merged cell back into separate cells. Click this if you change your mind about a merge you already made.
What happens to the content when you merge
Excel keeps the content from the top-left cell and removes the content from all other cells in the merge. If you have data in the other cells that you need, copy it somewhere else before you merge. There is no undo for lost data once the merge is complete — undo only reverses the merge action itself, not the data loss.
For example, if you select cells A1 through D1, and A1 contains "Sales" while B1 contains "2024", the merge will keep "Sales" and discard "2024". Plan your cell layout so the important text is always in the top-left position.
Unmerge cells if you need to separate them again
Click on the merged cell to select it. Go back to Home tab, click the arrow next to Merge & Center, and select Unmerge Cells. The merged cell will split back into its original separate cells. The text that was in the merged cell will stay in the top-left cell only.
Unmerging does not restore any content that was deleted during the original merge. If you lost data when you merged, you will need to type it back in manually or restore it from a backup of the file.
Common mistakes to avoid when merging
Do not merge cells that contain formulas or data you need in multiple places. Once you merge, that data is gone from the other cells. If you have a formula in one of the cells being merged, copy the result to a safe location first.
Do not merge cells in a data table where you plan to sort or filter. Merged cells can cause sorting and filtering to behave unpredictably. Keep your data clean and unmerged if you plan to use those features.
Do not assume merged cells will print the way they look on screen. Test a print preview before printing a spreadsheet with merged cells to make sure the layout works on paper. Some printers handle merged cells differently than the screen displays them.
Frequently Asked Questions
Can I merge cells that are not next to each other?
No. You can only merge cells that are adjacent — touching each other in a rectangle. If you need to combine non-adjacent cells, you will need to rearrange your spreadsheet so they are next to each other, or use a formula to pull data from separate cells instead.
What is the difference between Merge & Center and Merge Cells?
Merge & Center combines the cells and centers the text horizontally across the merged area. Merge Cells combines them but leaves the text in its original alignment (usually left). Choose Merge & Center for titles and headers, and Merge Cells if you want to keep your own alignment.
Will merging cells affect my formulas?
If a formula references one of the cells you are about to merge, the formula will break or give an error. Move any formulas to a safe location before merging. After the merge, you can rewrite the formula to reference the merged cell instead.
Can I undo a merge if I change my mind?
Yes. Select the merged cell, go to Home, click the arrow next to Merge & Center, and select Unmerge Cells. The cell will split back into separate cells. Any text that was in the merged cell stays in the top-left cell only.