Office Settings & Configuration

How to Keep the Top Row Visible While Scrolling in Excel

Huma Ashraf ChHuma Ashraf Ch Nov 11, 2026 869 views

Question details

The user wants to lock the first row of an Excel worksheet so that column headers stay on screen when scrolling down.

How to Keep the Top Row Visible While Scrolling in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
Working with large datasets where column headings need to remain visible for context while analyzing or entering data.
Observed behavior
The user needs the top row to be frozen in place instead of scrolling out of view when moving down the spreadsheet.
Before you start

Ensure your Excel view is set to 'Normal' (at the bottom right of the screen), as the freeze panes feature may be unavailable or work incorrectly in 'Page Layout' view.

Solution 1Recommended

Use the Freeze Top Row Feature

This is the quickest and most direct method to lock the first row of your spreadsheet so it always stays visible.

Excel has a built-in preset specifically designed to lock the very first row of your current view. This will override any previously frozen panes.

1
Open the View Tab

Click anywhere in your Excel worksheet, then navigate to the 'View' tab located in the top menu ribbon.

2
Click Freeze Panes

Look for the 'Window' group on the ribbon, and click on the 'Freeze Panes' dropdown button.

3
Select Freeze Top Row

Choose 'Freeze Top Row' from the dropdown menu. A faint continuous line will appear beneath row 1, indicating that it is now locked.

Use the Freeze Top Row Feature
Success: You can now scroll down your worksheet, and the top row will remain fixed at the top of your screen.
Seamless Spreadsheet Management

Freeze Rows and Columns Effortlessly in WPS Office

WPS Spreadsheet offers a highly intuitive interface to freeze rows, columns, or specific panes, making it incredibly easy to manage large datasets. It is lightweight, fast, and fully compatible with Microsoft Excel formats.

  1. 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your .xlsx spreadsheet document.
  2. 2. Navigate to the View tab: Click on the 'View' tab in the top menu ribbon.
  3. 3. Freeze the Top Row: Select the 'Freeze Panes' tool and click 'Freeze Top Row'. Your headers are now perfectly locked in place.
One-click feature to instantly freeze the top row or first column.100% format compatibility with Microsoft Excel (.xlsx, .xls) files.Lightweight software with a familiar, easy-to-navigate tabbed interface.Free to use for basic spreadsheet creation and data analysis.
QA img-9

Frequently Asked Questions

How do I unfreeze the top row in Excel?

To unfreeze the row, go to the 'View' tab, click 'Freeze Panes', and select 'Unfreeze Panes' from the dropdown menu. The locked row will return to normal scrolling behavior.

Why is the Freeze Panes option grayed out?

The 'Freeze Panes' option may be disabled if you are in 'Page Layout' view, if a cell is currently in editing mode (cursor blinking inside a cell), or if the worksheet is protected. Press 'Esc' to exit cell editing mode and switch to 'Normal' view.

Can I freeze both the top row and the first column at the same time?

Yes. To freeze both, select cell B2 (the cell immediately below row 1 and to the right of column A), then go to View > Freeze Panes and click the primary 'Freeze Panes' option. This locks everything above and to the left of your active cell.

Does freezing the top row affect how the document prints?

No, freezing panes only changes how the spreadsheet is displayed on your computer screen. If you want the top row to repeat on every printed page, you must use the 'Print Titles' feature located in the 'Page Layout' tab.