Skip to main content

Remove merged cells and blank rows and columns in Excel

Excel · Windows, Mac · Last updated

Part of training module 6: Accessible workbooks in Excel

Merged cells and blank rows or columns break the grid that screen readers rely on, so keep each data range a plain rectangle of cells.

Steps

Excel for Windows and Excel for Mac

  1. Run the Accessibility Checker and note the merged cells and blank rows or columns it reports: see Check a workbook with the Accessibility Checker in Excel.
  2. To unmerge cells on Windows, select the merged cell, open the arrow next to Merge & Center, and choose Unmerge Cells. If you merged by mistake a moment ago, press Ctrl+Z to undo.
  3. Move the text to where it belongs. If a merged cell worked as a heading across several columns, give each column its own heading instead.
  4. Fill any blank cells inside the data. If a value truly does not apply, type "N/A" rather than leaving the cell empty.
  5. Delete blank rows and columns that sit inside your data. Do not use them for spacing; use column width and row height instead.
  6. Remove any table inside another table, and any split cells. Keep each table a simple grid.

Check it worked

  • Run the Accessibility Checker again. The merged-cell and blank-cell items should be gone.
  • Move through the data with the arrow keys. You should not hit empty cells or merged areas in the middle of it.
  • Every row and column should have its own header or label.

Common mistakes

  • Merging cells to center a title. Instead, type the title in one cell and leave it alone.
  • Using blank rows to separate groups. Add a column that names the group, or use separate tables.
  • Typing nothing in cells that have no value. Use "N/A" or another clear word.
  • Believing this is only about looks. Merged cells change how a screen reader moves through the sheet: see Decide when to use a table and how to keep it simple.

The same task in other applications

More for Excel