How to freeze rows and columns in Excel: Freeze Panes and which cell to select
Freezing the header row and first column in Excel: View → Freeze Panes, which cell to select, Unfreeze, Split and repeating headers when printing — with traps.
Scroll down a 500-row staff list and after row 30 the header is gone: which column is “Salary” and which is “Bonus”? You have to remember. Scroll right and the names disappear.
Freeze Panes locks the top rows and left columns in place: the rest scrolls, the header always stays visible.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Employee | Department | January | February | March | |
| 2 | Aziz Karimov | Sales | 5 200 000 | 5 400 000 | 5 100 000 | |
| 3 | Dilnoza Rakhimova | Accounting | 6 100 000 | 6 100 000 | 6 300 000 | |
| 4 | Javohir Tursunov | Warehouse | 4 300 000 | 4 500 000 | 4 400 000 | |
| 5 | Malika Yusupova | Sales | 5 600 000 | 5 900 000 | 6 200 000 | |
| 6 | Jasur Aliyev | IT | 8 200 000 | 8 200 000 | 8 500 000 | |
| 7 | Nodira Kodirova | HR | 4 900 000 | 4 900 000 | 5 000 000 | |
| 8 |
Freezing the header and first column
1
First press Ctrl + Home — the sheet should be visible from A1 (the trap below explains why).
2
Select the first cell below the rows and to the right of the columns you want to freeze. For the header (row 1) and names (column A), that is B2.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Employee | Department | January | February | |
| 2 | Aziz Karimov | Sales2 | 5 200 000 | 5 400 000 | |
| 3 | Dilnoza Rakhimova | Accounting | 6 100 000 | 6 100 000 | |
| 4 | Javohir Tursunov | Warehouse | 4 300 000 | 4 500 000 | |
| 5 |
3
Open the Вид tab → Закрепить области → Freeze Panes. A thin gray line appears where the panes are frozen.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Employee | Department | January | February | |
| 2 | Aziz Karimov | Sales | 5 200 000 | 5 400 000 | |
| 3 | Dilnoza Rakhimova | Accounting | 6 100 000 | 6 100 000 | |
| 4 | Javohir Tursunov | Warehouse | 4 300 000 | 4 500 000 | |
| 5 |
4
Scroll down and right to check: header and names stay in place. If you only need the header, no cell selection is needed — use Freeze Top Row; for the first column only — Freeze First Column.
5
To undo: Вид → Закрепить области → Unfreeze Panes (the first menu item changes to this while panes are frozen).
Which cell to select — the rule
Excel freezes all rows above and all columns to the left of the selected cell. The cell itself is not frozen.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Selected cell | Frozen rows | Frozen columns | |
| 2 | A2 | 1 | — | |
| 3 | B1 | — | A | |
| 4 | B2 | 1 | A | |
| 5 | C3 | 1–2 | A–B | |
| 6 | D2 | 1 | A–C | |
| 7 |
Pro level: Split, printing and table headers
- Split. Вид → Split divides the window into 2 or 4 independently scrolling parts. For example, row 10 on top and row 900 below, side by side. Split and Freeze Panes don’t work at the same time.
- Headers on printouts. Freezing only affects the screen — page 2 of a printout has no header. To repeat it on every page: Разметка страницы → Print Titles → Rows to repeat at top:
$1:$1. - Table headers. If the data is a Table (Ctrl + T), scrolling down replaces the column letters (A, B, C) with the table’s headers — even without freezing.
- Multi-row headers. If a report header takes 3 rows (title, date, column names), select A4 and freeze — all three rows stay visible.
Has ExcelLab been useful?
Support the project and help us release new lessons and exercises.