Excel refuses to merge cells for one of a few predictable reasons: the selected cells are part of a table, the spots are shared with another merged area, the sheet is protected, a filter is applied, or the file is read-only. Merging is greyed out or throws an alert because Excel cannot restructure cells that something else depends on. The fix is almost always to clear that dependency first, not to fight the button.

The guide below is written for Excel on Windows and Mac, where the layout is essentially the same. Labels can differ slightly by version, device or region, so treat the menu names as signposts rather than exact wording. On Excel for the web and on phone apps, the Merge & Center button is on the Home tab too, but some of the deeper checks are only available in the desktop app.

What You'll Need

  • The Excel workbook open in the desktop app if possible, so every menu is reachable.
  • Edit permission on the file, not just view access, or a workbook that is not marked final.
  • A copy of the sheet if you are merging something important; merged cells are awkward to undo once you have saved and reshaped surrounding data.
  • Familiarity with what is currently in the cells you want to combine, since merging keeps only the top-left cell's content.

Step-by-Step

  1. Click the Merge & Center button and read what happens. Select your cells and go to Home > Merge & Center. If the button is greyed out, something is blocking it; if Excel shows an alert saying it will keep only the upper-left value, that is normal behaviour, not an error. Note the exact message, because it points to the cause.
  2. Check for a formatted Table. The most common culprit is that the range is one Excel Table (created with Insert > Table). Excel does not permit merged cells inside a table because tables rely on one row per record. Fix it by selecting the table, going to the Table Design tab and choosing Convert to Range, then merge. If you need the table's filtering, use Center Across Selection instead of merging.
  3. Look for an overlap with another merged area. Click the cells around your selection. Another merged block that overlaps your range will silently block the command. Select the whole sheet, use Home > Merge & Center dropdown > Unmerge Cells to clear everything, then merge only the cells you actually need.
  4. Turn off filters. If a filter is active on the sheet, clear it from Data > Clear (or the dropdown arrow at the top of each column). Merging across filtered rows scrambles whether Excel is addressing visible or hidden cells and the button often greys out.
  5. Unprotect the sheet or workbook. If Review > Unprotect Sheet is available, the sheet is protected. Choose it and enter the password if prompted. Protected sheets lock cell formatting, and merging counts as formatting. If the password is not yours, ask the file owner rather than guessing.
  6. Exit edit mode. Press Enter or Esc. Excel disables most formatting commands while you are still typing inside a cell, and Merge & Center greys out until you commit or cancel the entry.
  7. Make the file editable. If the title bar says Read-Only or Protected View, use Enable Editing on the yellow bar, or File > Save As to a location you can write to. A workbook downloaded from an email or a shared site often opens in Protected View, which blocks formatting.
  8. Try the specific merge you need. Open the dropdown next to Merge & Center and pick Merge Cells (combines cells but keeps left alignment), Merge Across (merges each row separately within the selection), or Merge Cells plus alignment. Only Merge & Center combines and centres in one move.
  9. Save before and after. Once the merge looks right, save. If it does not, press Ctrl+Z (Cmd+Z on Mac) to undo immediately, before Excel records other changes.

Common Mistakes

Merging to make text look nice on a list. Merged cells break sorting, filtering and pivot tables, and they cause data to appear in the wrong column when copied. Use Center Across Selection for a heading that needs to look centred without breaking the grid.

Expecting every value to be kept. Merging discards everything except the upper-left cell's content. If you have data in the other cells, Excel will warn you first. Combine the text into one cell with a formula or type it into the top-left cell before merging, or you will lose it.

Merging then sorting or filtering. Excel will refuse to sort rows containing merged cells, or will return an error. Unmerge, restructure, then sort.

Assuming the button is broken when it is just disabled. Greyed-out buttons in Excel almost always mean the current selection or mode is invalid, not that the app is faulty.

Tips

Keep merges to titles, labels and dashboard areas rather than data tables. If you need a centred heading above a table, select the row, choose Format Cells (Ctrl+1), go to the Alignment tab and set Horizontal to Center Across Selection; this looks the same but leaves cells unmerged and the data usable.

Use Ctrl+Shift+arrow keys to select your range precisely before merging; sloppy selections that include a hidden merged block are the most frequent cause of the greyed-out button.

If you are sharing the sheet, tell collaborators which cells are merged. People who paste into a merged range can get a "This operation requires the merged cells to be identically sized" error, which is easier to prevent than to repair.

Mac users will find Merge & Center on the Home tab as well; the alignment controls are in the ribbon's alignment group, and Ctrl+1 for Format Cells works with Cmd+1 instead.

Troubleshooting

If the button is still greyed out after all of the above, check whether the selection includes a single cell only. Merging needs at least two cells; with one cell selected, the command is disabled.

If you get an error about identical sizes, the range you selected overlaps merged cells of different sizes. Select all cells, unmerge everything, and start again.

If the workbook is in a shared or co-authoring session, another person may have locked the cells. Ask them to release the edit, or work on a copy. Excel's co-authoring does not allow structural changes such as merging while someone else is editing the same region.

If copying a merged cell causes a paste error, right-click and choose Paste Special > Values, or unmerge and paste into a normal range. Pasting into a partially merged area triggers the same size error.

If the merge works but looks wrong, check horizontal and vertical alignment in Format Cells. Merge & Center centres horizontally; you may still need to set vertical alignment to Middle.

If Excel crashes or hangs when you merge or unmerge, close and reopen the file, then check for updates through File > Account (or the Help menu), because a stalled add-in can cause this. If it persists, start Excel in safe mode and disable add-ins one at a time.

Frequently Asked Questions

Why is Merge & Center greyed out in Excel?

Usually because the selected cells are inside a formatted table, the sheet is protected, a filter is active, or you are still editing a cell. Convert the table to a range, unprotect the sheet, clear filters or press Enter, and it becomes available again.

Can I merge cells without losing data?

Not automatically. Merging keeps only the top-left value. Combine the content first using a formula or by typing it into the first cell, then merge.

What is the difference between Merge & Center and Center Across Selection?

Merge & Center physically combines cells and centres the text. Center Across Selection centres text across cells without merging them, so sorting and filtering still work.

Why can't I merge cells inside an Excel table?

Excel Tables require a consistent one-row-per-record structure, so merged cells are not allowed. Convert the table to a normal range first, or use Center Across Selection.

Does merging work in Excel for the web?

Yes, the default merge options are on the Home tab in Excel for the web. A protected sheet or a table still blocks the command, so the fixes above apply there too.