How To

How to Merge Cells in Excel (and Why You Usually Should Not)

By ··Updated August 27, 2026·4 min read
What this guide covers
  1. How to merge
  2. The four merge options
  3. Use this instead: Center Across Selection
  4. What merged cells actually break
  5. Finding merged cells in a workbook
  6. Filling the blanks left behind
  7. Combining text instead
  8. Merging in Google Sheets
  9. Frequently asked questions
  10. Why can I not sort my data?
  11. Does unmerging bring my data back?
  12. What is the shortcut for merging?
  13. Can I merge cells in an Excel table?
  14. Is Center Across Selection really the same visually?

Merging cells in Excel takes two clicks: select the cells, then Merge & Center on the Home tab.

The more useful thing to know is that merged cells break sorting, filtering, formulas and pivot tables — and that there is an alternative giving the same visual result without any of that damage. It is covered below, and on any spreadsheet that holds data rather than a printed layout, it is the one to use.

Merged cells in a Microsoft Excel worksheet
Merged cells look tidy and cause problems later.

Checked August 2026 against current Excel for Microsoft 365, on Windows and Mac. The same options exist in Excel for the web with a slightly different ribbon.

How to merge

Selecting cells to merge in Excel
Select the range first.
  1. Select the cells you want to merge — they must be adjacent.
  2. On the Home tab, find the Alignment group.
  3. Select Merge & Center.
The Merge and Center button in the Excel Home tab
Merge & Center is in the Alignment group on the Home tab.

The four merge options

Select the dropdown arrow beside the button:

Option What it does
Merge & Center One cell, contents centred
Merge Across Merges each row separately — keeps rows distinct
Merge Cells One cell, alignment unchanged
Unmerge Cells Splits back, content returning to the top-left cell

Merging keeps only the top-left value. Everything else in the selection is discarded. Excel warns you once; people click through it. If the other cells held data you needed, undo with Ctrl + Z immediately — unmerging afterwards does not bring the values back.

A merged cell spanning several columns in Excel
After merging, the range behaves as one cell.

Use this instead: Center Across Selection

This produces the same centred heading across several columns, and does not merge anything. Every cell stays independent, so sorting, filtering, copying and formulas all keep working.

  1. Select the cells.
  2. Press Ctrl + 1 to open Format Cells.
  3. Go to the Alignment tab.
  4. Under Horizontal, choose Center Across Selection.
  5. Select OK.

Visually identical. None of the consequences. If you take one thing from this page, take this.

What merged cells actually break

Worth knowing before using them in a data table:

  • Sorting fails with “This operation requires the merged cells to be identically sized”.
  • Filtering behaves unpredictably — a filter treats the merged block as a single row.
  • Pivot tables reject merged cells in the source range.
  • Copy and paste into a differently shaped area fails.
  • Formulas referencing the range often return unexpected results, since only the top-left cell holds the value.
  • Tables (Ctrl + T) cannot be created over merged cells.
  • Keyboard navigation jumps awkwardly, and selecting a column with Ctrl + Space behaves oddly.

Reasonable rule: merge in a printed report or a form layout. Never in a table that anyone will sort, filter or analyse.

Finding merged cells in a workbook

Useful when inheriting someone else’s spreadsheet and sorting will not work:

  1. Press Ctrl + F.
  2. Select OptionsFormatAlignment tab.
  3. Tick Merge cells, select OK.
  4. Choose Find All.

To unmerge everything at once: select all with Ctrl + A, then Merge & Center twice — once to merge, once to unmerge.

Filling the blanks left behind

Unmerging leaves empty cells where the merged block was. To fill them with the value above:

  1. Select the range.
  2. Press F5SpecialBlanksOK.
  3. Type = then press the up arrow.
  4. Press Ctrl + Enter.

Every blank now references the cell above. Copy the range and paste as values to make it permanent. This turns a merged mess into a proper data table in about twenty seconds.

Combining text instead

If what you actually want is the contents of several cells in one — a first and last name, for instance — merging is the wrong tool. It discards everything but the first value. Use a formula:

=TEXTJOIN(" ", TRUE, A2, B2)

TEXTJOIN takes a separator, whether to ignore empty cells, and the cells to combine. For a simple case:

=A2 & " " & B2

Merging in Google Sheets

Select the cells, then FormatMerge cells. The same options and the same drawbacks apply. Sheets has no direct equivalent of Center Across Selection, which is one of the few places Excel is genuinely ahead.

Frequently asked questions

Why can I not sort my data?

Merged cells. Find them with the Find and Format method above, unmerge, fill the blanks, then sort.

Does unmerging bring my data back?

No. The other values were discarded at the moment of merging. Only an immediate undo recovers them.

What is the shortcut for merging?

There is no single key, but the ribbon sequence works: Alt, H, M, then C for Merge & Center on Windows.

Can I merge cells in an Excel table?

No. Tables created with Ctrl + T do not allow merged cells, by design — the same reason merging causes problems elsewhere.

Is Center Across Selection really the same visually?

Yes, for horizontal centring across columns. The difference is only that nothing is merged, so everything else keeps working. It does not span rows — for that you would still need a merge, or a redesigned layout.