How to freeze panes in Excel so your headings stay on screen
Scroll down a long sheet and the headings disappear, so column F could be anything. Freezing panes pins the rows and columns you choose, and the rest of the sheet scrolls underneath them.
Scroll down a long sheet and the headings disappear, so column F could be anything. Freezing panes pins the rows and columns you choose, and the rest of the sheet scrolls underneath them.
*
> Short version:
>
> - Top row only: View, Freeze Panes, Freeze Top Row.
> - First column only: View, Freeze Panes, Freeze First Column.
> - Both, or more than one row: click the cell below and to the right of everything you want to keep, then View, Freeze Panes, Freeze Panes.
> - Undo it: View, Freeze Panes, Unfreeze Panes.
> - Frozen panes are for the screen only. Printing repeat headings is a different setting.
*
Excel freezes everything above and to the left of the cell you selected. That single sentence explains every result you will get, including the ones that look wrong.
| You want to keep | Click this cell first | Then choose |
| Row 1 | anywhere | Freeze Top Row |
| Column A | anywhere | Freeze First Column |
| Row 1 and column A | B2 | Freeze Panes |
| Rows 1 to 3 | A4 | Freeze Panes |
| Rows 1 to 3 and columns A to B | C4 | Freeze Panes |
Same menu, choose Freeze First Column. Useful for a sheet where the names or the account numbers sit in column A and the months run off to the right.
This is the one people get wrong, and the rule above is the fix. Click the cell that sits below the last row you want to keep and right of the last column you want to keep, then choose Freeze Panes, the third option.
To keep row 1 and column A, click B2. To keep a three row header block and the first two columns, click C4.
If the result is not what you expected, unfreeze, look at which cell is selected, and try again. You are almost always one row or one column out.
The same place: the View tab, then Freeze Panes. The three options behave exactly as they do on Windows.
On Windows you can also run it from the keyboard with Alt, then W, then F, then F. That is a ribbon shortcut and Mac Excel has no ribbon shortcuts, so on a Mac use the menu.
Three usual causes, in the order they happen:
Frozen panes do nothing to a printout. If you want the heading row repeated at the top of every printed page, use Page Layout, then Print Titles, then set Rows to repeat at top to $1:$1.
People often freeze panes, print, and find page two has no headings. The two settings look related and are not.
View, Split cuts the window into panes that each scroll on their own. Freezing keeps one part still. Splitting lets you look at row 4 and row 900 of the same sheet at the same time, which is the better tool when you are comparing two distant parts of one table.
Remove it the same way: View, Split again.
Select your data and press Ctrl+T to turn it into an Excel table. When you scroll, the column letters at the top are replaced by your own headings, so you keep your bearings without freezing anything. It does not help across columns, so for a wide sheet you will still want a frozen first column.
Freezing panes is a view setting, not a formula, so there is nothing to mark. What pays off next to it is moving around a large sheet quickly, and that you can practise right now in the browser:
Guides people read next.
The Excel FILTER function returns only the rows that meet a condition and spills the result. Syntax, AND/OR examples, and a free interactive FILTER lesson.
3 min
Learn how to create a pivot chart in Excel on Windows and Mac, filter it, change fields, avoid common limits and build one for a dashboard.
14 min
Sort an Excel pivot table by value, largest to smallest, by a specific field, or in a custom order, and fix the cases where the sort won't hold.
13 min