SuperSheet

Merged Cells in Excel: What to Use Instead

By Mark Fulton · 2026-08-18 · 14 min read

Merged Cells in Excel: What to Use Instead

There are two versions of this question. One is asked by someone about to format a header and wondering whether merging is allowed. The other is asked by someone who opened a file a colleague built, tried to sort it, and got told the merged cells all need to be the same size. Those need different answers, and most advice only gives the first one.

The replacement when you are building is Center Across Selection: select the cells, open Format Cells with Ctrl+1 on Windows or Command+1 on Mac, go to the Alignment tab, and set the Horizontal dropdown to Center Across Selection. It looks identical to Merge & Center and leaves every cell independent, so sorting, filtering, copying and pivot tables keep working. The recovery when you inherited the file is a three-step pass: find every merge with Find and Replace searching by format, unmerge them, then refill the values the merge was hiding. Which of those two you need depends on why the cells were merged in the first place, and the decision tree further down sorts that out in about thirty seconds.

One thing to settle before the rest: merging is not a formatting choice. It is a structural one. Everything below follows from that.

What exactly breaks when cells are merged?

A merge takes several cells and tells Excel to treat them as one. Every feature that walks the grid cell by cell now hits a hole.

Sorting stops outright. Sort a range where some rows are merged and others are not, and Excel refuses with "To do this, all the merged cells need to be the same size." It is not being fussy. A sort has to move row 12 above row 7, and it cannot do that when row 12 is physically fused to row 13.

Filtering goes quietly wrong, which is worse. A filter on a column with merged blocks will typically match only the first row of each block, so the rows underneath vanish from the filtered view without any warning that they were dropped. You get an answer, it is just the wrong one.

Values disappear on the way in. Microsoft's own merge and unmerge cells documentation is blunt about this: when you merge multiple cells, only the contents of the upper-left cell survive, and "the contents of the other cells that you merge are deleted." If two of the cells had data, one of them is gone.

Column selection and paste get unpredictable. Selecting a whole column that contains merges pulls in the merged neighbours. Pasting a normal block over a merged region either fails or reshapes the destination.

Pivot tables refuse the source. A pivot needs one flat header row with a name for every column. Merge two header cells and the second column's header is now empty, which is one of the standard triggers for the "PivotTable field name is not valid" error.

Screen readers lose their place. This is the one nobody thinks about and the one that is hardest to argue with. Microsoft's accessibility guidance for Excel explains why: screen readers track their position in a table by counting cells, so if a cell is merged or split, "the screen reader loses count and can't provide helpful information about the table after that point." Not the merged row. Everything after it. If your file goes to anyone using assistive technology, one decorative merge in row 1 can flatten the rest of the sheet.

Notice what is not on that list: nothing here is about how the sheet looks. The look is fine. That is exactly why merging survives.

When is a merged cell defensible?

Sometimes. The honest version of this advice is not "never merge", it is "merge only where nothing will ever walk the grid."

A merge is defensible when all of these hold:

  • It sits outside the data rectangle, not inside it. A title banner in row 1 with the table starting at row 4 is above the grid, not in it.
  • Nobody will sort, filter, or pivot the range it touches.
  • The sheet is a finished artefact, not a working file. A printed one-page summary or a sheet destined for a PDF has a different life expectancy than a tracker three people edit.
  • You have accepted the accessibility cost knowingly, or the merge is in a region with no tabular content to navigate.

Fail any one of those and the merge is costing you something. And even in the defensible case, Center Across Selection gives you the same appearance for free, so the defensible merge is mostly a merge you have not bothered to replace yet.

The decision tree: why is this cell merged?

Open the file, click the merged cell, and answer one question. Each branch has a different correct replacement, and the mistake most people make is applying the title-banner answer to a spanning-header problem.

  • 1. Is it a title banner? One label centred across the full width of the table, sitting above it.

    • Fix on Excel desktop: Center Across Selection across the same columns. Identical look, zero cost.
    • Fix in Google Sheets or Excel for the web: no equivalent exists, so either left-align the title in the first column and size it up, or keep the merge and confine it strictly to rows above the data.
    • Do not: merge a title into the same row as your headers. That is the version that breaks pivots.
  • 2. Is it a spanning header? One label sitting over a group of columns, like Q1 above Jan, Feb, Mar.

    • Spanning across columns: Center Across Selection on the group row, and keep the real header row below it flat and complete. Every column underneath still gets its own header text.
    • Spanning down rows (a Region label merged over five rows): there is no Center Across Selection for this. It is horizontal only. Fill the value into every row instead, which is what sorting, filtering and pivots all need, then reduce the visual repetition with a lighter font colour on the repeats or by grouping rows.
    • Do not: leave the repeats blank because "it reads better merged". A blank in a key column is data loss with a nice haircut.
  • 3. Was it accidental? Someone hit Merge & Center because a label was wrapping badly, or because two cells looked untidy next to each other.

    • Fix: unmerge, then widen the column, turn on Wrap Text, or increase the row height. That was the actual request.
    • This is the most common branch by a wide margin, and the cheapest to fix.
  • 4. Is it a layout hack? Merged blocks used as spacers, as a box for a signature or comment field, or to fake a text box on a form.

    • Fix for spacers: unmerge and use a narrow empty gutter column two or three characters wide. Same visual gap, no structural damage.
    • Fix for form fields: unmerge, then give one cell a border and a set column width. If the field genuinely needs to span, Center Across Selection with a bottom border underneath the whole span reads the same.
    • Fix for a paragraph of notes: put it in a real text box from the Insert tab, or in a single cell with Wrap Text and a tall row.

If a merge does not fit any of those four, it is almost always branch 3 in disguise.

How does Center Across Selection replace it?

Mechanically, it is one dialog.

  1. Select the range you want the text to span. Put the text in the leftmost cell of that selection and leave the others empty. This is the part people miss: Center Across Selection centres content across the block, but the content still lives in one real cell, and if two cells in the range have text you will get two centred blocks fighting each other.
  2. Open Format Cells. Ctrl+1 on Windows, Command+1 on Mac. The right-click menu also has Format Cells on both platforms.
  3. Go to the Alignment tab.
  4. Open the Horizontal dropdown and choose Center Across Selection. Click OK.

The result is visually indistinguishable from Merge & Center, and structurally it is nothing at all: every cell is still its own cell, still individually selectable, still sortable, still countable by a screen reader.

Three limits worth knowing before you commit to it.

It is horizontal only. There is no vertical equivalent, so a label meant to span several rows has to be solved by filling the value down, not by alignment.

It is not in Excel for the web. The browser version's alignment options stop at general, left, center and right, and Center Across Selection is absent regardless of subscription. Formatting you apply in the desktop app is stored in the file and still displays when the workbook is opened in a browser, but you cannot apply it there. If you only ever work in the browser, this alternative is not available to you, and a merge confined above the data is the pragmatic compromise.

It has no ribbon button by default. It lives in the dialog. If you use it constantly, add it to the Quick Access Toolbar so it is one click rather than four.

Once the merges are gone, the rest of the header work gets easier, because a flat header row is the precondition for almost everything in table design.

How do you find every merged cell in a workbook?

Guessing by eye does not work on a sheet with 4,000 rows. Excel for Windows can search by format:

  1. Press Ctrl+F to open Find and Replace, then click Options to expand it.
  2. Click Format. Microsoft's find and replace documentation covers this control, including the Choose Format From Cell option if you would rather point at an example merge than describe one.
  3. In the Format dialog, go to the Alignment tab and tick Merge cells. Clear the Find what box so you are matching format only.
  4. Set Within to Workbook if you want every sheet, then click Find All.

You get a list of every merged range with its address, and clicking a result jumps to it. Count the results before you start unmerging so you know what you are dealing with. Three merges is a five-minute job. Ninety merges means the file has a structural habit, not an accident.

On Excel for Mac the Find and Replace dialog exists, but Microsoft's documentation covers format-based searching only for Windows and the web, so treat searching by format on Mac as something to check in your version rather than assume. The reliable Mac fallback is to select all cells with Command+A and look at whether the Merge & Center button in the Home tab shows as active, which tells you merges exist somewhere in the selection even if it will not enumerate them.

How do you unmerge and refill without losing values?

Unmerging is safe. The value was never in the merged block as a whole, it was always sitting in the top-left cell, so unmerging leaves that value where it was and turns the rest back into empty cells. Nothing is destroyed on the way out. Destruction happens on the way in, which is why the same operation feels dangerous.

The path, per Microsoft's documentation:

  • Windows: select the merged cells, then Home tab, the arrow next to Merge & Center, then Unmerge Cells.
  • Mac: select the merged cell, then Home tab, Merge & Center, then Merge Cells, which toggles it back off.
  • Excel for the web: select the merged cell, then Home, Merge & Center, Merge Cells.

To clear an entire sheet in one action, select all cells first, then unmerge. Every merge in the sheet drops at once.

The refill is the part that matters, and it only applies to merges that were spanning down rows in a key column. After unmerging, that column looks like a value followed by four blanks, repeating. Fix it before you sort anything, because once rows move you will not be able to tell which blanks belonged to which label.

  1. Select the column range, press F5 (or Ctrl+G) and choose Special, then Blanks. Only the empty cells are now selected.
  2. Without clicking anything, type = then press the up arrow, so the formula points at the cell above.
  3. Press Ctrl+Enter. Every selected blank fills with the value above it.
  4. Select the column, copy, then Paste Special as Values to convert the formulas into real text.

That is the whole recovery. Find, unmerge, fill blanks, paste as values. Then run the pre-send checklist, because a file that arrived with merged cells usually arrived with numbers stored as text and stray whitespace too. They travel together.

Does Google Sheets behave the same way?

Partly, and the difference matters if your fix has to survive a round trip between the two.

Sheets merges through Format, then Merge cells, per Google's documentation on merging rows and columns, with options to merge all, merge vertically or merge horizontally. Unmerge is the same menu. The same data rule applies: only the top-left value is kept, and Sheets warns you before discarding the rest.

The important difference is that Sheets has no Center Across Selection. There is no equivalent alignment option, so the headline alternative in this post simply is not available there. Your options in Sheets are to left-align the title in the first column and set it larger and bolder, which is what I do, or to merge only in rows above the data rectangle and accept the cost. Sheets will refuse to sort a range containing merged cells in much the same way Excel does, so the sorting problem transfers intact.

One consequence for mixed teams: a Center Across Selection title applied in Excel desktop is stored as cell alignment, not as a merge, so opening that file in Sheets gives you a title that may render left-aligned rather than centred, but nothing breaks and nothing needs undoing. A merged title applied in Sheets and opened in Excel arrives as a real merge, with all of the behaviour above. Formatting travels worse than structure travels, which is the right way round.

If the sheet is going to an audience rather than a colleague, the layout choices in presenting a spreadsheet to executives assume a clean unmerged grid underneath, so this pass comes first.

Fix the fixable parts, decide the rest yourself

Drop the file you inherited on SuperSheet's spreadsheet cleaner. It reads the sheet in your browser, nothing is uploaded, and it proposes the mechanical fixes: real number formats instead of text, consistent decimals, a header row that reads as one, a totals row, freeze panes and a theme. You approve each piece before anything is written, then you download the formatted file.

What it deliberately will not do is unmerge your cells. That is not a missing feature, it is a decision. Look back at the decision tree: the same merged block is a title banner in one file and a spanning header in another, and the correct replacement is different in each case. A tool that guessed would pick one, fill the wrong blanks, and hand you a file that looks fixed and is not. It formats what is there and tells you plainly which problems need your call. Merged cells are on that list, and so is a tab holding three stacked tables.

Run the four-branch tree on your merges first, five minutes with the file open. Then let the cleaner do the mechanical half.

FAQ

Is there a Center Across Selection in Google Sheets?

No. Google Sheets has no equivalent alignment option, and there is no add-on-free workaround that produces the same result: a centred label spanning several columns with all the cells left intact. The two honest choices in Sheets are to left-align the title in the leftmost column and give it size and weight to carry the header job, or to merge and confine the merge to rows sitting above your data rectangle where nothing will be sorted or filtered. If a file has to look identical in both applications and stay sortable, build the title as a left-aligned label. It is the only version that behaves the same in both.

How do I find merged cells fast?

On Excel for Windows, Ctrl+F, Options, Format, Alignment tab, tick Merge cells, clear the search box, set Within to Workbook, Find All. That enumerates every merged range in the file with its address. Two things to do with that list before you touch anything: note the count, and note whether the merges sit inside the data rectangle or above it. Merges above the data are cosmetic and can wait. Merges inside it are the ones breaking your sort. On Mac, format-based searching is not documented the way it is for Windows, so check your version, and fall back to selecting all cells and watching whether the Merge & Center button reads as active.

Why can't I sort a range with merged cells?

Because sorting physically moves rows past each other, and a merged block cannot be split across the move. If rows 5 and 6 are fused in column B and the sort wants to send row 5 to position 40, there is no valid outcome, so Excel stops with "To do this, all the merged cells need to be the same size." The message is misleading. Making the merges the same size does let some sorts run, but that is a workaround for the symptom. The fix is to unmerge, fill the blanks that appear, and sort a normal grid. Do the fill before the sort, never after, because once the rows have moved the blanks have lost the labels they belonged to.

Do merged cells break pivot tables?

Yes, and they break them at the source rather than in the pivot. A PivotTable needs a single flat header row where every column has a non-empty, unique name. Merge two header cells and one of those names is now blank, which produces the "PivotTable field name is not valid" error. Merged cells inside the data body cause the second failure mode: the merge leaves blanks in a grouping column, so rows that logically belong to a category get counted under a blank instead. That one does not error, it just returns totals that are quietly short. Flatten the header row and fill the grouping column before building the pivot, and both problems disappear.


SuperSheet is a free set of spreadsheet formatting, CSV conversion, and cleanup tools. Your file never leaves the browser.