How to merge cells in Excel: Merge & Center and a safer alternative
How to merge and unmerge cells in Excel, why merging breaks sorting, filters and SUMIF, and the safe alternative: Center Across Selection.
Merging turns several cells into one big cell. It is most often used for a report title: “Sales by branch” sits centered above the whole table.
It looks nice, but it is a risky tool. Merged cells get in the way of sorting, filtering, copying and formulas. In this topic you’ll learn both sides: how to merge, and when not to.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Sales by branch — Q1 2025 | ||||
| 2 | Branch | January | February | March | |
| 3 | Tashkent | 120 | 135 | 150 | |
| 4 | Samarkand | 80 | 92 | 88 | |
| 5 | Bukhara | 64 | 70 | 75 | |
| 6 |
Merging cells
1
Type the title in A1 and select the cells across the table’s width — A1:D1.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Sales by branch — Q1 20251 | ||||
| 2 | Branch | January | February | March | |
| 3 | Tashkent | 120 | 135 | 150 | |
| 4 | Samarkand | 80 | 92 | 88 | |
| 5 |
2
Click Главная → Объединить и поместить в центре. The four cells become one and the text moves to the center.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Sales by branch — Q1 2025 | ||||
| 2 | Branch | January | February | March | |
| 3 | Tashkent | 120 | 135 | 150 | |
| 4 | Samarkand | 80 | 92 | 88 | |
| 5 |
3
For other options, click the small arrow next to the button and pick one from the list (they are explained below).
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Sales by branch — Q1 2025 | ||||
| 2 | Branch | January | February | March | |
| 3 | Tashkent | 120 | 135 | 150 | |
| 4 | Samarkand | 80 | 92 | 88 | |
| 5 |
4
To undo: select the merged cell and click Объединить и поместить в центре again, or choose Unmerge Cells from the list. The value goes back to the top-left cell.
Four options: what each one does
- Merge & Center — turns the selected cells into one and centers the text horizontally. For titles.
- Merge Across — merges each row separately. Select A1:D3 and you get three separate merged rows, not one big block.
- Merge Cells — merges without changing the alignment.
- Unmerge Cells — splits a merged cell back.
Why experienced users avoid merging
In a merged block only the first cell holds the value; the rest are empty. That causes problems:
- Sorting fails with: “To do this, all the merged cells need to be the same size.”
- Filtering shows only the first row of the block — the other rows seem to vanish.
- SUMIF, COUNTIF, VLOOKUP see empty cells and skip rows.
- You can’t select a single column — the selection expands into neighboring columns. Copy and paste throws errors too.
- Excel tables (Ctrl + T) and PivotTables don’t work with merged cells at all.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Region | Month | Sales | Tashkent total | ||
| 2 | Tashkent | January | 120 | 1202 | ||
| 3 | 1 | February | 135 | |||
| 4 | March | 150 | ||||
| 5 | Samarkand | January | 80 | |||
| 6 | February | 92 | ||||
| 7 | March | 88 | ||||
| 8 |
Pro level: Center Across Selection — centered without merging
There is a safe way to center a title above a table. It looks exactly like Merge & Center, but the cells stay separate — sorting, selecting columns and copying all work as usual.
- Select A1:D1 (the text must be in A1).
- Press Ctrl + 1 → Alignment tab.
- In the Horizontal list choose Center Across Selection and click OK.
Limitation: it works horizontally only. For repeating values in a column (Region), type the value on every row instead of merging; PivotTables have a dedicated “Merge and center cells with labels” option for grouped labels.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Sales by branch — Q1 2025 | ||||
| 2 | Branch | January | February | March | |
| 3 | Tashkent | 120 | 135 | 150 | |
| 4 | Samarkand | 80 | 92 | 88 | |
| 5 |
Pro level: “repairing” a merged column
1
Select the merged Region column (A2:A7) and choose Объединить и поместить в центре → Unmerge Cells. Each block keeps its value only in the first cell; the rest are empty.
2
Keep the selection and choose Главная → Найти и выделить → Go To Special....
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Region | Month | Sales | |
| 2 | Tashkent | January | 120 | |
| 3 | February | 135 | ||
| 4 | March | 150 | ||
| 5 | Samarkand | January | 80 | |
| 6 | February | 92 | ||
| 7 | March | 88 | ||
| 8 |
3
Choose Blanks and click OK — now only the empty cells are selected.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Region | Month | Sales | |
| 2 | Tashkent | January | 120 | |
| 3 | February | 135 | ||
| 4 | March | 150 | ||
| 5 | Samarkand | January | 80 | |
| 6 | February | 92 | ||
| 7 | March | 88 | ||
| 8 |
4
The active cell is A3. Press =, then ↑ (the cell above) and Ctrl + Enter — the formula goes into every blank cell at once. Each one picks up the value above it.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Region | Month | Sales | |
| 2 | Tashkent | January | 120 | |
| 3 | Tashkent | February | 135 | |
| 4 | Tashkent | March | 150 | |
| 5 | Samarkand | January | 80 | |
| 6 | Samarkand | February | 92 | |
| 7 | Samarkand | March | 88 | |
| 8 |
5
Finally, copy column A and paste it in place with Paste Special → Values — the formulas turn into plain text and won’t “break” the next time you sort.
Try it in the simulator
Column A has already been unmerged: the region appears only in the first row of each block. Type =ЕСЛИ(ЕПУСТО(A2);D1;A2) in D2 and fill it down to D7 — every row should now show the full region name.
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Region | Month | Sales | Region (full) | ||||||||||||||||||||
| 2 | Tashkent | January | 120 | |||||||||||||||||||||
| 3 | February | 135 | ||||||||||||||||||||||
| 4 | March | 150 | ||||||||||||||||||||||
| 5 | Samarkand | January | 80 | |||||||||||||||||||||
| 6 | February | 92 | ||||||||||||||||||||||
| 7 | March | 88 | ||||||||||||||||||||||
| 8 | ||||||||||||||||||||||||
| 9 | ||||||||||||||||||||||||
| 10 | ||||||||||||||||||||||||
| 11 |
Has ExcelLab been useful?
Support the project and help us release new lessons and exercises.