Home / Tools / How to freeze a row in Excel
Cells

How to freeze a row in Excel

Keep header labels visible while you scroll. Try freezing the top row, the first column, or both, then copy the matching shortcut for Excel or Google Sheets.

When to use which option

Freeze top row

Best for wide tables where column headers disappear as you scroll down.

Freeze first column

Best for row labels (names, SKUs, dates) that must stay visible while scrolling sideways.

How do you freeze cells, rows, and columns in Google Sheets?

In Google Sheets, freeze rows and columns from the menu: ViewFreeze1 row keeps the header row pinned while you scroll (choose 2 rows for two header rows, or Up to current row to freeze everything above the selected cell). ViewFreeze1 column does the same for the left-hand column. To undo, return to ViewFreeze and pick No rows or No columns. The demo at the top of this page simulates exactly this menu path.

  • Freeze more than one row: select the row below your last header row, then ViewFreezeUp to current row.
  • 'Freeze a cell' usually means one of two things — pin the view at that cell (select the cell, then Up to current row + Up to current column), or lock a cell reference inside a formula, which is a different feature: $A$1 absolute references, toggled with F4.
  • Excel route for comparison: ViewFreeze PanesFreeze Top Row / Freeze First Column.

Reading a table with the header in view

Freezing the header row is usually the setup for a long lookup down a table — the frozen row tells you which column you are reading.

Related cell tools

FAQ

How do I freeze the top row in Excel?

Use ViewFreeze PanesFreeze Top Row, or the equivalent ribbon command on your platform.

How do I freeze rows and columns in Google Sheets?

Open ViewFreeze and pick 1 row (or 2 rows, or Up to current row); for columns choose 1 column / Up to current column. To unfreeze, go back to ViewFreeze and pick No rows / No columns. In Excel the same job lives under ViewFreeze Panes.

Freeze panes vs split?

Freeze keeps rows/columns locked while scrolling. Split creates independently scrollable panes — usually not what you want for sticky headers.