If you are working on a large Excel worksheet with multiple column headings and hundreds of rows, you may want to freeze the top row of the worksheet fixed or frozen, in order to ensure that the top row with column headings always remains visible as you scroll down the sheet to review, modify or enter new information.
This can be easily achieved by making use of the Freeze Panes feature as available in Microsoft Excel, which provides the option to Freeze the top-row, Freeze the first column and also Freeze multiple selected Rows & Columns.
- Free Panes: Keeps selected Rows & Columns visible, while allowing the rest of the worksheet to scroll.
- Freeze Top Row: Keeps the top-row visible while you are scrolling down the sheet.
- Freeze First Column: Keeps the First column visible while you are scrolling through reset of the worksheet.
Note: Freezing Rows or Columns has no impact on printing, it only affects the way the worksheet appears on the screen of the computer.
Freeze Rows and Columns in Excel
You can find below the steps to Freeze Rows, Freeze Columns and Freeze both Rows & Columns using the “Freeze Panes” function in Microsoft Excel.
Related: How to AutoFit Column Width and Row Height in Excel.
1. Freeze Only the Top Row in An Excel Worksheet
Perhaps the most commonly used application of Freeze panes function in Microsoft Excel is to Freeze the Top Row containing column headings, which makes the column headings in the Top Row remain visible when you scroll down the worksheet.

For example, in the above worksheet you can freeze the First or Top Row by going to View tab and clicking on Freeze Top Row option in the sub-menu.

Note: You can also use Alt + W + F + R keyboard shortcut to freeze the top row in the above Excel worksheet.
2. Freeze Only the First Column
Similarly, you can freeze only the first Column in an Excel worksheet by going to the View Tab and selecting the Freeze First Column option in the sub-menu.

Note: You can also use Alt + W + F + C keyboard shortcut to freeze only the First Column of an Excel worksheet.
3. Freeze Multiple Rows in Excel Worksheet
If required, you can freeze all the rows that are located above a certain selected Row in an Excel Worksheet.
1. Select the entire Row that lies right below the Row that you want to Freeze. For example, in this case we have selected the Third Row which lies below the second Row containing the column headings.

2. After selecting the Row, go to View tab and select Freeze Panes option in the sub-menu.

This will freeze both the First & the Second Row that are located above the selected Third Row.
4. Freeze Multiple Columns in Excel Worksheet
You can freeze all the columns that are located to the left of a selected column by using the following steps.
1. Select the entire Column that is located immediately to right of the Columns that you want to freeze. For example, you can select the entire Column B to Freeze Column A and select entire Column D to Freeze Columns A,B & C.

2. After selecting the required column, go to View tab and select the Freeze Panes option in the sub-menu.

This will Freeze all the Columns that are located to left of your selected Column in the worksheet.
5. Freeze Both Rows and Columns in Excel
In certain cases, you may find the need to Freeze the Top-Row containing Column Headings and also Freeze the First column or first few selected columns in the worksheet.
To Freeze both rows and columns, select the Cell located to right of the Column that you want to Freeze and below the Row that you want to Freeze. For example, in this case we have selected Cell B2 in order to Freeze the second Row containing Column Headings and also Freeze Column A containing “Items”.

After selecting the required cell, go to View tab and select Freeze Panes option in the sub-menu.

Now the rows above the selected Cell will remain frozen when you scroll down and also the Columns to the left of the selected Cell will also remain frozen when you scroll to the side.
6. Unfreeze Rows and Columns in Excel
At any time, you can Unfreeze Rows and Columns in an Excel worksheet by going to View Tab and selecting the Unfreeze Panes option in the sub-menu.

The Frozen Rows or Columns will become free and they will no longer remain frozen or stationary when you scrolled up or down.
Freeze Panes Not Available in Excel
You may come across an issue where the Freeze Panes option is not available, appears grayed out or does not work. This problem is usually related to the worksheet being in “Page Layout” view.
To fix this issue, click on the View Tab and then click on Normal or Page Break Preview.

Note: In certain cases, the Freeze Panes option can get disabled due to the workbook being in protected mode. However, this issue has been fixed in the newer versions of Microsoft Excel and you may face this problem, only while working on files created using an older version of Microsoft Excel (older than Excel 2013).