Excel cannot merge cells when the selection includes a table, a protected sheet, or cells that would break a data structure. The fix is to convert the range to a normal range, unprotect the sheet, or merge only the outer cells. Below is the exact order to check, plus what to do when the Merge & Center button is greyed out or returns an error.
What You'll Need
- Excel for Windows, Mac, or Excel for the web (steps are written for desktop; web differences are noted).
- The workbook open, with edit access. If it is shared, you may need the owner to unprotect it.
- A backup copy if the sheet contains formulas or linked data, since merging can delete values in non-adjacent cells.
Step-by-Step
- Select only the cells you want to merge. Click the first cell, hold Shift, and click the last cell. Do not select entire columns or rows unless you intend to merge the whole span. If the selection includes a merged cell already, Excel will refuse; unmerge that cell first (Home > Merge & Center dropdown > Unmerge Cells).
- Check for a table. If the range is formatted as an Excel Table (Home > Format as Table was used), Merge & Center is disabled. Convert it to a normal range: click any cell in the table, then go to Table Design > Convert to Range. Confirm. The table styling may remain, but the table object is removed and merging becomes available.
- Unprotect the sheet. If the sheet is protected, most formatting commands are locked. Go to Review > Unprotect Sheet. If a password is required and you do not have it, ask the workbook owner; do not attempt to bypass it. After unprotecting, try the merge again.
- Use the Merge & Center button correctly. On the Home tab, in the Alignment group, click the arrow next to Merge & Center and choose Merge & Center, Merge Across, or Merge Cells. Merge & Center combines the selection into one cell and centers the text; Merge Across merges each row separately; Merge Cells combines without centering.
- If the button is greyed out, check the workbook structure. A protected workbook (Review > Protect Workbook) can also block changes. Unprotect it the same way. Also confirm you are not in cell edit mode: press Enter or Esc to exit editing before selecting the range.
- For cells that span multiple rows and columns, merge only the top-left area. Excel keeps only the upper-left value when merging a range with data in more than one cell. If you need all values, copy them to a single cell first or use concatenation (e.g., =A1&" "&B1) before merging.
- On Excel for the web, expect limits. Merging works, but some protected or table-related restrictions behave the same as desktop. If the option is missing, open the file in the desktop app; the web version does not expose every alignment control.
Common Mistakes
- Merging inside a table. Excel Tables are designed for sorting and filtering; merging breaks that structure, so the command is disabled. Convert to range first.
- Selecting whole columns. Merging entire columns creates one giant cell and can slow the file. Select only the intended block.
- Ignoring the data-loss warning. When Excel says only the upper-left value will be kept, it means it. Copy other values elsewhere before confirming.
- Forgetting protection. A protected sheet is the most common reason Merge & Center is greyed out; unprotect it from the Review tab.
- Merging cells used by formulas. Formulas that reference a merged range can return unexpected results. Check dependencies before merging.
Tips
- Use Center Across Selection instead of merging when you only need the text centered. Select the range, open Format Cells (Ctrl+1), go to the Alignment tab, and choose Center Across Selection from the Horizontal dropdown. It looks the same but keeps cells separate for sorting and formulas.
- Merge a header row only after data entry is complete, so you do not fight the merge while typing.
- If you need a label over several columns, consider putting the label in one cell and leaving the rest blank rather than merging.
- Keep a copy before merging a sheet with formulas; undo (Ctrl+Z) works immediately but not after saving and reopening.
Troubleshooting
If Merge & Center is still unavailable after converting tables and unprotecting the sheet, check these in order:
- Workbook protection: Review > Protect Workbook may be on. Unprotect it.
- Shared workbook mode: Some shared-workbook settings block merging. Save a copy and work on it locally, or ask the owner to change sharing settings.
- Selection includes a merged cell: Unmerge the existing merged cell first, then reselect.
- Excel is in edit mode: Press Esc, then reselect the range.
- File format: Very old .xls files can behave differently. Save as .xlsx and retry.
- Add-in conflict: Start Excel in safe mode (hold Ctrl while opening on Windows) to test. If merging works there, disable add-ins one by one via File > Options > Add-ins.
If none of these work, the file may be corrupted. Open it with Excel's Open and Repair option (File > Open > Browse, select the file, click the arrow next to Open, choose Open and Repair). This can recover the sheet but may lose some formatting; keep the original file.
Frequently Asked Questions
Why is Merge & Center greyed out?
Usually because the sheet or workbook is protected, the range is an Excel Table, or you are editing a cell. Unprotect, convert the table to a range, or press Esc.
Can I merge cells without losing data?
No. Excel keeps only the upper-left value in a merged range. Move other values to another cell or combine them with a formula first.
Does merging work in Excel for the web?
Yes, for standard ranges, but the web version has fewer alignment options. If the command is missing, open the file in the desktop app.
How do I unmerge cells?
Select the merged cell, then Home > Merge & Center dropdown > Unmerge Cells. The original value stays in the upper-left cell.
Can I merge cells in a pivot table?
No. Pivot tables do not support merged cells. Use Center Across Selection on the surrounding cells instead.
Why does merging delete my other values?
That is Excel's default behavior: a merged cell holds one value. Always copy other values out before confirming the merge.