How to Freeze the Top Row and First Column in Excel
Keep month labels and item names visible as you scroll. Learn why B2 works, when to choose C4 instead, and how to reset a misplaced freeze line.
Follow these steps at your own pace. Check product terms and prices directly with providers before purchasing.
Quick answer
In Excel for Windows, scroll back to the top left of the sheet. Select B2, then choose View → Freeze Panes → Freeze Panes. Row 1 stays at the top and column A stays on the left. Excel uses the cells above and to the left of your selection to set both boundaries at once.
1. Find the first value that should move
Imagine a stock sheet with Item in A1, month names across row 1 and product names down column A. The first quantity, 12 pens in January, sits in B2. That is the first number you want to scroll away when you move across the sheet. Click that number. Selecting the word Item in A1 would leave no row above it and no column to its left.
2. Set both boundaries in one step
Open the View tab and expand Freeze Panes. If the first option says Unfreeze Panes, choose it to clear the old arrangement. Return to the top-left corner, click B2 again and open the menu. Choose the first command, Freeze Panes. Look for a thin line below row 1 and another to the right of column A.
Use the same rule when your labels take up more space. For a report with a title in row 1, a date in row 2, headings in row 3 and two identifying columns, click C4. All three rows and both columns will stay visible.
| Keep visible | Select first |
|---|---|
| Row 1 and column A | B2 |
| Rows 1–2 and column A | B3 |
| Rows 1–3 and columns A–B | C4 |
| Columns A–B only | C1 |
3. Test by scrolling in two directions
Scroll down until the first few products disappear. You should still see Jan and Feb. Then scroll to the right until Jan disappears. Read a quantity at the far right and trace it back to its product name in column A. If the first quantity itself stays fixed, you froze too much. Unfreeze and move the selection up or left by one cell.
4. Save the view you want to reopen
Return to the part of the sheet where a reader should start and save the workbook. Check other worksheet tabs separately. Each sheet can have its own frozen area. On a small laptop, keep the fixed section narrow enough to leave room for several columns of figures.
Why are the labels missing in print?
Freezing affects the scrolling view. For a paper report, use Print Titles to repeat the header row. Preview page two before printing the whole workbook.
Microsoft Support · Freeze panes to lock rows and columns
Comments
Read or join the discussion.