How to Merge Cells in Google Sheets (and Unmerge Them)

To merge cells in Google Sheets, select the cells, click Format > Merge cells, and choose Merge all, Merge horizontally, or Merge vertically. You can also click the Merge cells button in the toolbar. To undo it, select the merged cell and choose Format > Merge cells > Unmerge.

Google lists merging among the formatting tools on its Edit & format a spreadsheet help page.

How to Merge Cells in Google Sheets

  1. Select the cells you want to combine.
  2. Click Format at the top.
  3. Point to Merge cells.
  4. Choose Merge all, Merge horizontally, or Merge vertically.

Result: the selected cells become one larger cell. The content keeps its default alignment, so use the align buttons if you want it centered.

Steps to merge cells in Google Sheets: select cells, Format, Merge cells, choose Merge all, horizontally or vertically
Illustration: how to merge cells in Google Sheets.

Use the toolbar button

Clicking the Merge cells icon in the toolbar merges all the selected cells. Click the drop-down arrow next to it to choose Merge horizontally or Merge vertically instead.

The data warning

If more than one selected cell has data, Sheets warns that merging will only keep the upper-left value and discard the others. Click OK to continue or Cancel to keep your data.

Merge Options Explained

  • Merge all: turns the whole selection into one cell. It’s grayed out if your selection isn’t one connected range.
  • Merge horizontally: merges each row of the selection separately. With one row selected, it does the same as Merge all.
  • Merge vertically: merges each column of the selection separately. With one column selected, it does the same as Merge all.

How to Unmerge Cells

  1. Click the merged cell.
  2. Click Format > Merge cells.
  3. Choose Unmerge.

Result: the cell splits back into separate cells. The content stays in the upper-left cell, and the others become empty.

How to Merge Cells Without Losing Data

Because merging keeps only the upper-left value, combine the text first:

  1. In an empty cell, combine the values with a formula such as =TEXTJOIN(“, “, TRUE, A1:C1) or =A1 & ” ” & B1.
  2. Copy the result and paste it as values only with Ctrl + Shift + V.
  3. Then merge the cells.
Card showing how to combine text before merging cells in Google Sheets
Illustration: how to combine text before merging cells in Google Sheets.

How to Merge Cells in the Sheets App

There are two ways in the Android and iPhone app: select the cells and tap the Merge button at the bottom, or tap Format, open the Cell tab, and turn on the Merge option. It notes the app only merges the whole selection, without the horizontal or vertical options.

When Merging Causes Problems

  • Sorting: Sheets won’t sort a range that contains merged cells. Unmerge first.
  • Filtering and formulas: Filters and formulas can skip or misread merged cells, so avoid merging inside data tables.
  • Copying: Copying a merged cell pastes another merged cell. Paste as values if you only want the content.

Frequently Asked Questions

Is there a keyboard shortcut to merge cells?

Not a direct one. Try pressing Alt + O + M to open the merge options from the keyboard, then choosing Merge all.

Why can’t I merge cells?

Your spreadsheet might be locked. Merge all is also unavailable if your selection isn’t one connected range.

Related Guides

Collecting data from other people? See how to make a survey with Google Forms that sends answers to Sheets.

Join Our Free Newsletter

Featured guides and deals

You may opt out at any time.
Read our Privacy Policy