Blog
How to Freeze the Top Row and Columns in Excel

To freeze the top row in Excel, go to View > Freeze Panes > Freeze Top Row. To freeze the first column, choose Freeze First Column from the same menu. To freeze several columns, such as customer number, customer name and sales rep, select the cell just to the right of the last column you want to keep and choose Freeze Panes. On a wide report, column freezing matters even more than row freezing: when you're reading September in column L, you need to know which customer the row belongs to without scrolling back to column A every time.
Below are the steps for each option, a worked example on a monthly sales summary, the fixes for the usual problems, and a way to keep column names visible without freezing anything.
Freeze the top row
On the View tab, select Freeze Panes, then Freeze Top Row. Row 1 stays at the top no matter which cell is selected, and a thin grey line appears beneath it. Microsoft's Freeze panes article places all of these options on the View tab.

Freeze Top Row means row 1, literally. If row 1 holds a report title and your column names are in row 3, Freeze Top Row pins the title and lets the column names scroll away. For that layout, see "When the header isn't in row 1" below.
Freeze the first column
Select View > Freeze Panes > Freeze First Column. Column A stays on the left as you scroll right, with a vertical line beside it. If column A holds the item number or customer name, that's all you need. If column A is just a row counter, freezing it doesn't help; delete the counter or freeze through the name column instead.

Freeze several columns
To keep columns A through C, click the column D heading (or cell D1), then select View > Freeze Panes > Freeze Panes. Freeze Panes keeps everything to the left of and above the selected cell, so with D1 selected, no rows are frozen and columns A to C are.
Pick the columns that identify each row. On a sales summary, that's customer number and customer name. On an inventory sheet, item number and description. Amounts and quantities are what you compare, so leave them in the scrolling area.

Freeze the top row and several columns together
Move the anchor cell down one row. Row 1 plus columns A–C: D2. Row 1 plus column A: B2. Rows 1–3 plus columns A–B: C4. The rule never changes: the anchor is the cell just below the last row and just right of the last column you want to keep.
The most common mistake is selecting B2 out of habit. Only column A stays frozen, and the customer name and rep scroll away. After freezing, glance at where the vertical line landed.
Unfreeze
Select View > Freeze Panes > Unfreeze Panes. The first menu item only reads Unfreeze Panes while something is frozen. There's no way to unfreeze columns but keep rows; unfreeze everything and freeze again at the new anchor.

Worked example: a monthly sales summary
The sales manager at Crestview Foods reviews third-quarter results by customer. Row 1 has column names. Column A is the customer number, B the customer name, C the sales rep. Columns D through L hold January to September, and column M is the year-to-date total. There are 380 customers.
- Check for an old freeze. Open the Freeze Panes menu. If the first item says Unfreeze Panes, select it.
- Go to the top left. Press Ctrl+Home. Freezing while scrolled away hides whatever has scrolled past.
- Select the anchor. Row 1 and columns A–C means D2.
- Freeze Panes. Lines appear under row 1 and to the right of column C.
- Check it. Scroll right to column M and down to row 300. Customer names such as Northgate Supply and Brightway Retail should stay readable next to every number, and the month names should stay at the top.
- Bring the comparison closer. To compare August and September side by side, select columns D–J and use Data > Group. A collapse button appears above the column headings; collapsing it leaves August, September and the total right next to the frozen columns. Grouping and freezing work together without conflict.
- Set up printing. For the printed copy, open Page Layout > Print Titles and set row 1 to repeat at the top and columns A–C to repeat at left. Freezing affects the screen only.
The manager's first try selected B2, and the rep column scrolled away. Unfreeze, D2, freeze fixed it. Saved with the freeze, the file opens the same way for whoever reviews it next month, and inserting an October column to the right of the freeze line keeps the freeze in place.
When freezing doesn't behave
Freeze Panes is greyed out
You're editing a cell; press Enter or Esc. Or you're in Page Layout view, which doesn't support frozen panes; go back to Normal view.
When the header isn't in row 1
If a title, a date and a blank row sit above the column names in row 4, select A5 and use Freeze Panes instead of Freeze Top Row. If four frozen rows take too much screen, move the title into the page header and put the column names in row 1.
The wrong area is frozen
Freeze Panes works from what's on screen. Freeze while row 200 is at the top and row 200 becomes the top of the frozen area. Unfreeze, Ctrl+Home, freeze again.
Other sheets aren't frozen
Freezing is a per-sheet display setting, handled through the window's FreezePanes property in VBA, and grouping sheets doesn't freeze them all. For monthly tabs, freeze one and copy it to make the next.
The right side disappears on a laptop
If the frozen columns are wider than the window, the scrolling area falls off the right edge. Freeze fewer columns, narrow them (turn on Shrink to fit under Format Cells > Alignment for long names), or zoom out.
Hidden columns and merged headers
A hidden column inside the frozen area stays hidden; select the columns on both sides and choose Unhide. A merged title cell that crosses the freeze line gets cut in half as you scroll. Use Center Across Selection alignment instead of merging.
👉 How to Freeze Rows and Columns in Excel (Freeze Panes)
Keep column names visible without freezing
Convert the range to an Excel table. Select a cell in the data, press Ctrl+T, and tick My table has headers. When a cell inside the table is selected and you scroll down, Excel shows the table's column names in place of the A, B, C column letters at the top of the grid.
This suits lists that keep growing. New rows extend the table's formatting and filters automatically, and the header always comes with its filter buttons. The header row is switched on and off under Table Design > Table Style Options > Header Row; Microsoft's table header article notes that turning it off also turns off AutoFilter.
Two things to know. Formulas typed inside a table use structured references such as [@Sales] instead of cell addresses, and fill down automatically. And the table trick only covers column names; to keep the customer name column on the left, you still freeze columns. Tables and freezing work fine together.
Windows, Mac and the web
- Excel 2016 through Microsoft 365 on Windows: same menu and names. Press Alt, W, F, then R for the top row, C for the first column, or F to freeze at the selection.
- Excel for Mac: the same three options sit under the Freeze Panes button on the View tab.
- Excel for the web: besides the top row and first column, the menu offers "up to" options based on the selected cell, such as freezing up to row 2 or up to column B.
FAQ
Q. Can I freeze a column in the middle of the sheet?
No. Freezing always starts from column A. Move the column you need to the left (select it, hold Shift and drag its border to insert it without overwriting), or hide the columns before it.
Q. If I choose Freeze Top Row and then Freeze First Column, are both frozen?
No. The second replaces the first. To freeze row 1 and column A together, select B2 and choose Freeze Panes.
Q. What's the difference between Freeze Panes and Split?
Freezing pins the header rows and identifier columns. Split divides the window into panes that scroll separately so you can see two distant parts of one sheet. You can't use both at once.
Q. Will the frozen columns print on every page?
No. Set Columns to repeat at left under Page Layout > Print Titles so each printed page shows the customer columns.
How inline AI reads wide reports
Freezing keeps customer names on screen, but picking out which of 380 customers sold less in September than in August is still eyework. inline AI flags those customers in the open sales summary and groups them by rep, and with ARP's sales module, monthly sales by customer are available without building the summary at all.
Hand your documents and your company’s work to inline AI.
Keep a file open, say what you need, and AI edits it or drafts a new one. Add the company AI OS and AI runs the rest of the work, ERP included.
Book a demo




