Freeze panes to lock the first row or column
You want to scroll down and see your rows of data, but when you get to the bottom of the screen, your column names in the top row have disappeared. To fix this, you freeze the top row so that it's always visible. Good news – the command is easy to get to. Click View > Freeze Panes > Freeze Top Row.
Note If you don’t see the View tab, it’s likely that you are using Excel Starter. To learn more about features that aren’t supported in that version, see Excel features that are not fully supported in Excel Starter.
Freeze the top row
Notice that the border under row 1 is a little darker than other borders, meaning that the row above it is frozen.
Freeze the first column
If you'd rather freeze the leftmost column instead, click View > Freeze Panes > Freeze First Column.
Now, the line to the right of column A is a little darker than the other lines, meaning that the column to its left is frozen.
Freeze the top row and the first column
To freeze the top row and the first column at the same time, click View > Freeze Panes > Freeze Panes.
Freeze as many rows or columns as you want
Want to freeze multiple rows and/or columns? You can freeze as many as you want, as long as you always start with the top row and the first column. To freeze multiple rows (starting with row 1), select the row below the last row you want frozen and click Freeze Panes. To freeze multiple columns, select the column to the right of the last column you want frozen and click Freeze Panes.
Say you want to freeze the top four rows and leftmost three columns. You'd select cell D5, and then click View > Freeze Panes > Freeze Panes. Any time you freeze rows and columns, the border below the last frozen row and to the right of the last frozen column appears a little thicker (here, below row 4 and to the right of column C).
Unfreeze rows or columns
Want to unfreeze a row, column, or both? Click View > Freeze Panes > Unfreeze Panes.