How to Freeze Rows in Excel (Pick the Right Cell First)

⚡ Quick Answer

To freeze rows in Excel, go to View › Freeze Panes › Freeze Top Row to pin row 1. To freeze several rows, or rows and columns together, first click the cell just below and to the right of everything you want to keep visible, then choose Freeze Panes. Selecting B3 freezes rows 1–2 and column A. Picking the wrong cell is why people freeze the wrong thing.

The rule that makes it make sense

Freeze Panes seems unpredictable until you know what it’s reading, and then it never surprises you again.

It freezes everything above and to the left of the selected cell. That’s the entire behaviour. The cell you have selected when you click the button determines the split, and nothing else does.

Select the first cell that should scroll, not the last cell that should stay. Everything above and left of it gets pinned.

So to keep row 1 visible, select A2 — row 1 is above it. To keep column A visible, select B1. To keep both, select B2. To keep three header rows and two label columns, select C4.

The three freeze options in Excel and which cell to select for each
Only the third option reads your selection — the other two ignore it entirely.

The two shortcuts, and their limits

Freeze Top Row and Freeze First Column ignore your cursor completely and do exactly what they say. They’re convenient and they handle the two most common cases.

What they can’t do is freeze more than one row, more than one column, or both at once. For any of that you need the main Freeze Panes option and the cell-selection rule above.

They also can’t be combined. Clicking Freeze Top Row and then Freeze First Column doesn’t give you both — the second replaces the first. Excel supports exactly one frozen region per sheet.

Freezing rows and columns together

Four steps to freeze both rows and columns in Excel using Freeze Panes
One cell selection handles both directions at once.

This is the setup that makes a wide table genuinely usable — headers stay across the top, identifying labels stay down the left, and the numbers scroll underneath.

A thin grey line appears at the boundary once it’s applied. If you see two lines, one horizontal and one vertical, you’ve frozen in both directions. One line means only one direction took effect, which usually means you selected a cell in row 1 or column A.

💡 Pro tip: Freezing is stored per worksheet and saved with the file, so anyone who opens the workbook gets the same view. It’s worth setting on any sheet you’ll share.

Undoing and changing it

The Freeze Panes button becomes Unfreeze Panes once something is frozen. There’s no way to adjust an existing freeze — you unfreeze, select the correct cell, and freeze again.

That’s the fix for the most common complaint, which is having frozen the wrong rows. Nothing is broken; the selection was just one cell out. Unfreeze, click the right cell, and reapply.

When the option is greyed out

Checklist for fixing Freeze Panes when it is greyed out or freezes the wrong rows
Page Layout view accounts for most greyed-out buttons.

Page Layout view is the usual reason. Freeze Panes only works in Normal view — switch back via View › Normal or the small icons at the bottom-right of the window, and the option becomes available again.

Edit mode is the other. If you’re part-way through typing in a cell, most ribbon commands grey out. Press Escape and try again.

Protection or sharing can also block it, depending on how the workbook was set up. Check Review › Unprotect Sheet, and if the file uses the older shared-workbook feature, freezing is disabled entirely.

Freeze versus Split

Sitting next to Freeze Panes in the View tab is Split, which looks similar and behaves quite differently. People reach for one expecting the other.

Freeze PanesSplit
What it doesPins rows/columns in placeDivides the window into scrollable panes
Can you scroll the pinned part?No — it stays fixedYes, each pane scrolls independently
BoundaryThin grey line, can’t be movedThick draggable bar
Best forKeeping headers visibleComparing row 5 against row 500
Saved with the fileYesYes
Two similar-looking features that solve different problems

Use Freeze when you want context that never moves. Use Split when you want to look at two distant parts of the same sheet simultaneously — the top pane can sit on row 5 while the bottom shows row 500, and both scroll independently.

You can’t have both active at once. Turning on Split removes an existing freeze, and vice versa.

What freezing doesn’t affect

Freeze Panes is purely a screen behaviour, and that catches people out in two places.

Printing ignores it entirely. A frozen header row does not repeat on page two of a printout. For that you need Page Layout › Print Titles › Rows to repeat at top, which is a separate setting that happens to do the printed equivalent. Setting one does not set the other.

It has no effect on formulas, sorting or filtering. A frozen row is still an ordinary row — it will be included in a sort if it falls inside the range, which is a reason to make sure your header row is properly recognised as a header rather than relying on it being frozen.

Keyboard shortcut and the ribbon route

There’s no single dedicated key, but the Alt sequence is quick once learnt: press Alt, W, F, F in order — not together. That’s View, Freeze Panes, Freeze Panes. Alt, W, F, R freezes the top row and Alt, W, F, C freezes the first column.

Pressing the same sequence again unfreezes, because the menu item toggles. Worth committing to memory if you open a lot of exported spreadsheets, where freezing the header is usually the first thing you do.

On a Mac the ribbon path is identical but the Alt sequences don’t apply. Use the View tab directly, or add Freeze Panes to the Quick Access Toolbar so it’s one click from any tab.

Very wide sheets and the disappearing frozen area

One genuine limitation: the frozen region has to fit on screen alongside something to scroll. Freeze twelve columns on a laptop display and there’s almost no room left for the data, which makes the sheet less usable rather than more.

Excel doesn’t prevent this. It will happily freeze more than fits, and the result is a window where the scrollable area is a narrow strip on the right. If scrolling suddenly feels broken after freezing, this is usually why.

Keep the frozen area to what genuinely provides context — typically one or two header rows and one identifying column. If you need more than that visible at once, the sheet is probably too wide and would be better split or pivoted.

Tables freeze headers automatically

If your data is an Excel Table — created with Ctrl+T — you may not need Freeze Panes at all.

Scroll down inside a Table and the column letters at the top of the sheet are replaced by the Table’s own headers. They stay visible without any freezing, and the filter arrows come with them.

Two caveats. It only applies while your cursor is inside the Table, and it replaces the column letters rather than sitting below them, which occasionally confuses people using cell references. For a sheet with several tables or a lot of surrounding content, an explicit freeze is still clearer.

DO
  • Select the first cell that should scroll, then Freeze Panes
  • Use B2 to freeze row 1 and column A together
  • Switch to Normal view if the option is greyed out
  • Set Print Titles separately if headers must repeat on paper
  • Consider Ctrl+T — Tables keep headers visible on their own
DON’T
  • Expecting Freeze Top Row and Freeze First Column to combine
  • Trying to adjust a freeze without unfreezing first
  • Assuming frozen rows repeat when printed
  • Confusing Split with Freeze — Split panes scroll independently
  • Relying on a frozen header to protect it from being sorted

Frequently asked questions

How do I freeze the top row in Excel?

Go to View, Freeze Panes, and choose Freeze Top Row. It pins row 1 regardless of which cell is selected.

How do I freeze more than one row?

Click the cell immediately below the last row you want frozen — A4 to freeze rows 1 to 3 — then choose View, Freeze Panes, Freeze Panes. The shortcut options only handle a single row.

How do I freeze rows and columns at the same time?

Select the cell just below and to the right of everything you want visible, then choose Freeze Panes. Selecting B2 freezes row 1 and column A together.

Why is Freeze Panes greyed out?

Usually you’re in Page Layout view — switch to Normal under the View tab. It’s also disabled while a cell is in edit mode, on protected sheets, and in shared workbooks.

What’s the difference between Freeze Panes and Split?

Freeze pins rows or columns so they can’t scroll. Split divides the window into panes that each scroll independently, which is for comparing two distant parts of the same sheet.

Do frozen rows repeat when printing?

No. Freezing only affects the screen. To repeat headers on every printed page, use Page Layout, Print Titles, Rows to repeat at top — a separate setting.

More Excel guides

Leave a Comment