ElyxAI
formatting

How to Merge Cells

Excel 2016Excel 2019Excel 365Excel 2021Excel Online

Learn how to merge cells in Excel to combine multiple cells into a single larger cell. This formatting technique is essential for creating professional headers, titles, and organized spreadsheet layouts. Merging cells improves visual hierarchy and makes data presentation clearer and more visually appealing.

Why This Matters

Merging cells creates professional-looking reports and dashboards with clear visual structure. It's essential for headers, titles, and financial statements that require organized, readable layouts.

Prerequisites

  • Basic Excel knowledge and familiarity with cell selection
  • Understanding of rows and columns in a spreadsheet

Step-by-Step Instructions

1

Select the cells to merge

Click on the first cell and drag to select all adjacent cells you want to merge, or click one cell and Shift+click the last cell in your range.

2

Access the merge cells option

Go to Home tab > Merge & Center group > click the Merge & Center button (or click the dropdown arrow for merge options).

3

Choose merge type

Select your preferred option: Merge & Center (centers content), Merge Across (merges horizontally), or Merge Cells (merges without centering).

4

Confirm the merge

Excel may warn you about losing data; click OK to proceed if you're only keeping the top-left cell content.

5

Verify the result

Check that your cells are merged and content is displayed as intended. Adjust alignment if needed via Home > Alignment > Align options.

Alternative Methods

Using Format Cells dialog

Right-click selected cells > Format Cells > Alignment tab > check 'Merge cells' checkbox > OK. This method works across all Excel versions.

Unmerge cells

Select merged cell > Home > Merge & Center dropdown > Unmerge Cells to separate a merged cell back into individual cells.

Tips & Tricks

  • Merge cells with headers or titles spanning multiple columns for cleaner spreadsheet design.
  • Use Merge & Center to automatically center text both horizontally and vertically for professional appearance.
  • Keep merged cells to a minimum in data entry areas to avoid losing information during sorting or filtering.
  • Combine merged cells with borders and background colors for better visual organization.

Pro Tips

  • Merge cells in the first row for table titles, then use AutoFilter on non-merged header rows below for better functionality.
  • When merging cells containing formulas, only the top-left cell's data is retained; move formulas there first.
  • Use merged cells strategically in dashboard designs to create visual sections without merging data ranges that need to be sorted.
  • Combine Merge & Center with conditional formatting for dynamic, professional-looking reports.

Troubleshooting

Cannot merge cells - option is grayed out

You may have non-adjacent cells selected. Ensure all selected cells form a continuous rectangle. Also check if cells are protected or if you're in a filtered range.

Text is not centered after merging

Click the merged cell and use Home > Alignment > Align Center (horizontal) and Align Middle (vertical) to center content properly.

Data disappeared after merging

Excel keeps only the top-left cell's data; other content is deleted. Use Ctrl+Z immediately to undo and copy important data before merging.

Merged cells prevent sorting or filtering

Unmerge cells in your data range using Home > Merge & Center dropdown > Unmerge Cells, then perform sorting or filtering operations.

Frequently Asked Questions

Will merging cells affect my data?
Yes, merging cells deletes all data except the content in the top-left cell. Always copy or move important data to the top-left cell before merging, or use a separate area to preserve information.
Can I merge cells across non-adjacent rows or columns?
No, merged cells must form a continuous rectangle. You can only merge adjacent cells that share a contiguous selection in rows and columns.
How do I unmerge cells in Excel?
Select the merged cell, go to Home tab > Merge & Center dropdown > click Unmerge Cells. The merged cell will split back into individual cells.
Can merged cells work with formulas?
Yes, but only the top-left cell can contain the formula; other cells in the merged range are lost. This can cause issues with data ranges in formulas.
What's the difference between Merge & Center and Merge Cells?
Merge & Center combines cells and centers the content both horizontally and vertically. Merge Cells combines cells without automatic centering, giving you manual alignment control.

This was one task. ElyxAI handles hundreds.

Try free for 7 days