How to Freeze the Top Three Rows in Excel for Microsoft 365
Question details
The user needs to keep the first three rows of an Excel spreadsheet visible at all times while scrolling down through the rest of the data.

- Product
- Microsoft Excel 365
- Device & OS
- not provided
- Scenario
- Working with long datasets where the header information spans the top three rows and must remain on screen for context.
- Observed behavior
- Users often select the third row incorrectly, which freezes only the top two rows, since Excel freezes panes above the active selection.
Ensure you are viewing your worksheet in 'Normal' view, as the Freeze Panes feature is disabled when using the 'Page Layout' view.
Freeze the Top Three Rows Using the Freeze Panes Command
By selecting the row directly below the ones you want to lock, you can easily freeze multiple rows at once.
Excel's Freeze Panes feature works by locking all rows above your current active cell or row selection. To freeze rows 1 through 3, you must place your cursor in row 4.
If you already have frozen rows or columns, navigate to the 'View' tab on the ribbon, click 'Freeze Panes', and select 'Unfreeze Panes' to reset your view.
Click on the row heading number '4' on the far left side of your spreadsheet. This selects the entire fourth row.
With row 4 selected, go to the 'View' tab, click on 'Freeze Panes', and choose 'Freeze Panes' from the dropdown menu. A thin, solid line will appear under row 3, indicating the top three rows are now locked.

Easily Freeze Multiple Rows with WPS Spreadsheet
Managing large datasets is completely seamless with WPS Spreadsheet. You can freeze multiple rows or columns just as easily as in Microsoft Excel, ensuring your multi-row headers stay perfectly in place.
- 1. Open your file in WPS: Launch WPS Spreadsheet and open your existing Excel workbook.
- 2. Highlight the fourth row: Click the row number 4 on the left-hand margin to select the row just beneath your top three headers.
- 3. Freeze the panes: Navigate to the 'View' tab, click on the 'Freeze Panes' button, and your top three rows will be instantly locked in place.

Frequently Asked Questions
Why is the Freeze Panes button grayed out in Excel?
The Freeze Panes option will be disabled if your worksheet is currently in 'Page Layout' view, if you are actively editing the text inside a cell (cursor blinking inside the cell), or if the workbook is protected by the author. Press 'Enter' or 'Esc' to finish editing a cell, and switch to 'Normal' view from the View tab.
How do I freeze both the top three rows and the first column simultaneously?
To freeze both rows and columns at the same time, you need to select a single cell instead of an entire row. Click on cell B4 (which is below the top three rows and to the right of the first column), then go to View > Freeze Panes > Freeze Panes.
How do I unfreeze rows if I made a mistake?
To remove any frozen panes from your worksheet, simply go to the 'View' tab, click on 'Freeze Panes', and select 'Unfreeze Panes' from the dropdown list. Your spreadsheet will immediately return to its normal scrolling behavior.




