toolrota

How to freeze rows and columns in Excel so headers stay visible

If headers vanish as you scroll a long table, freeze them. How to freeze the top row, first column or both.

Serkan Akyürek·Updated ·4 min read
How to freeze rows and columns in Excel so headers stay visible – Excel

In a long table you lose the headers as you scroll down. Freeze Panes keeps chosen rows and columns fixed on screen.

Freeze the top row

  1. Go to the View tab.
  2. Choose Freeze Panes > Freeze Top Row.

Freeze the first column

View > Freeze Panes > Freeze First Column. When you scroll right, the first column (a name, for example) stays put.

Freeze several rows and columns

Select the cell just below and to the right of the area you want to freeze, then click Freeze Panes.

  • To freeze the top 2 rows and the first column, select B3.
  • To freeze rows only, select cell A of the row below them (for example A3).

Unfreeze

View > Freeze Panes > Unfreeze Panes.

If it does not work

  • Page Layout view: the option is unavailable there. Switch to View > Normal.
  • Cell edit mode: the menu is greyed out while you are inside a cell; press Esc.
  • Too many frozen rows: if frozen rows fill half the screen, scrolling becomes impossible.

Repeating headers when printing

Freezing only affects the screen. To show headers on every printed page, see Print Titles in our print settings guide.

Difference from Split

Split (View > Split) divides the window into independent scrolling panes, handy for comparing two parts of the same sheet. Freeze only locks the header area.

Keyboard tip

Press Alt, W, F, F in sequence (one after another, not together) to open the Freeze Panes menu quickly.

Which option when? Comparing the three methods

OptionWhat it freezesWhen to use
Freeze Top RowRow 1 onlyTables with a one-row header
Freeze First ColumnColumn A onlyWide tables with the row name/ID on the left
Freeze PanesAbove and left of the selected cellSeveral header rows or freezing rows and columns together

Freeze Top Row freezes only the first row. If your header is in row 3, or there is a title band on top with column names below, use Freeze Panes with the right cell selected.

Example scenario: a sales report

Imagine a sales report with the report title in row 1, row 2 blank, column names in row 3 (Month, Region, Sales, Target) and 800 data rows below. Column A holds region names.

  1. Select cell B4 (just below row 3 and just right of column A).
  2. Click View > Freeze Panes > Freeze Panes.
  3. When you scroll down rows 1–3 stay in place, and when you scroll right column A stays.

If unnecessary rows such as the report title take too much space, hide them before freezing or fold the header rows into one; giving most of the screen to the frozen area makes the data harder to read.

Using it with an Excel table

If you turned the data into a table with Ctrl + T, the column letters automatically become table headers as you scroll down; in that case you may not need to freeze at all. Freezing is still useful when there is an area outside the table such as filter cells or summary boxes (see our Excel tables guide).

Frequently asked questions

Why don't frozen rows repeat when I print? Freezing is only a screen view. To repeat headers when printing use Page Layout > Print Titles > Rows to repeat at top.

Does it work on a phone and in the browser? The Excel mobile app and the browser version also support freezing panes; the menu location may differ. In Google Sheets the equivalent is View > Freeze.

Does freezing affect row height? No. But if you freeze very tall rows the scrollable area on the screen shrinks.

Can I freeze on several sheets at once? Sheets are independent; you have to do it for each. You can group sheets and apply it in one go, but remember that every edit made while grouped is reflected on all sheets.

What else helps when moving around a big table? For Ctrl + arrow keys, typing an address in the Name box and using filters, see our Excel tips and sort and filter guides.

Share
Published:
Author
Serkan Akyürek

Serkan Akyürek is the founder and author of toolrota; he writes step-by-step guides on Excel, AI, the cloud, personal finance and digital security.