Freeze or merge rows & columns

You can freeze, group, hide, or merge your spreadsheet’s columns, rows, or cells.

Freeze or unfreeze rows or columns

To pin data in the same place and see it when you scroll, you can freeze rows or columns.

  1. On your computer, open a spreadsheet in Google Sheets.
  2. Select a row or column you want to freeze or unfreeze.
  3. At the top, click View  and then Freeze.
  4. Select how many rows or columns to freeze.

To unfreeze, select a row or column. Then, at the top, click View  and then Freeze  and then No rows or No columns.

Group or ungroup rows or columns

You can organize and summarize related data by grouping rows and columns.

  1. On your computer, open a spreadsheet in Google Sheets
  2. Select the rows or columns you want to group or ungroup.
  3. At the top, click Data and choose what you want to do:
  • Group rows
  • Group columns
  • Ungroup rows
  • Ungroup columns

To expand or collapse grouped rows or columns, next to the rows or columns, click Plus (+) or Minus (-).

Hide rows or columns
  1. On your computer, open a spreadsheet in Google Sheets.
  2. Click a row or column to highlight it.
    • To highlight multiple rows or columns, press and hold the command key on your keyboard and click the rows or columns you want to highlight.
  3. Right-click and select Hide row or Hide column from the menu that appears. An arrow will appear over the hidden row or column.

To show a row or column again, click the arrow where the row number or column letter used to be.

Merge rows or columns
  1. On your computer, open a spreadsheet in Google Sheets.
  2. Select the rows, columns, or cells to merge.
  3. At the top, click Format  and then Merge cells, then select how you want your cells to be merged.

Related articles

Was this article helpful?
How can we improve it?