What the video covers
Shows how to use the View tab Freeze Panes options to lock the top row, the first column, or a custom set of rows in Microsoft Excel.
Watch the video on YouTubeStep-by-step instructions
- Open the workbook and sheet that needs a locked header row.
Make sure you’re viewing the worksheet in a normal sheet view and not actively editing a cell (press Enter or Esc to exit edit mode). - Open the View tab and locate the Freeze Panes menu.
On the ribbon’s View tab, find the Freeze Panes control and click it to reveal the drop-down options. - Freeze the top row (common for headers).
Choose the Freeze Top Row option to lock the first worksheet row so it remains visible when you scroll down. - Freeze the first column (if needed).
Choose the Freeze First Column option to lock the leftmost column so it stays visible when you scroll right. - Freeze multiple rows or a specific set of rows.
Select the row immediately below the last row you want to lock, open the Freeze Panes menu, and choose Freeze Panes. This locks all rows above your selected row. - Unfreeze panes when you no longer need them.
Open the Freeze Panes menu and choose the Unfreeze Panes option to remove any row/column locks and return to normal scrolling.
Watch the video
Play tutorial
Why it matters
Freezing rows prevents header or key rows from scrolling out of view, making long spreadsheets easier to read and work with.
Check your result
After applying a Freeze Panes option, scroll down (or right) and confirm the chosen row(s) remain visible while other cells move.
Troubleshooting
If Freeze Panes doesn’t work or the options are unavailable, try these checks: ensure the sheet is not in a view mode that disables freezing (e.g., certain page layout modes), exit cell edit mode before using the menu, and confirm the sheet isn’t protected in a way that restricts layout changes. If only the top row or first column are freezing incorrectly, remove any existing freeze first then reapply the correct option.