Topics Map > Office 365

Excel - Freeze panes to lock rows and columns

To keep an area of a worksheet visible while you scroll to another area of the worksheet, go to the View tab, where you can Freeze Panes to lock specific rows and columns in place, or you can Split panes to create separate windows of the same worksheet.



Freezing panes versus splitting panes

When you freeze panes, Microsoft Excel keeps specific rows or columns visible when you scroll in the worksheet. For example, if the first row in your spreadsheet contains headers, you might freeze that row to make sure that the column headers remain visible as you scroll down in your spreadsheet.

Freeze panes

A solid line under row 1 indicates that the row is frozen to keep column headers in place when you scroll.

Splitting panes is a variation on freezing panes, in that when you split panes, Excel creates either two or four separate worksheet areas that you can scroll within, while rows or columns in the non-scrolled area remain visible.

Split panes in an Excel workbook


Note: You cannot freeze panes and split panes at the same time. You can enable only one of the two.

Freeze rows or columns

Before you choose to freeze rows or columns in a worksheet, it’s important to consider the following:

  • You can freeze only rows at the top and columns on the left side of the worksheet. You cannot freeze rows and columns in the middle of the worksheet.

  • The Freeze Panes command is not available when you're in cell editing mode (that is, you're entering a formula or data in a cell) or when a worksheet is protected. To cancel cell editing mode, press Enter or Esc.

You can choose to freeze just the top row of your worksheet, just the left column of your worksheet, or multiple rows and columns simultaneously. For example, if you freeze row 1 and then decide to freeze column A, row 1 will no longer be frozen. If you want to freeze both rows and columns, you need to freeze them at the same time.

  1. Do one of the following:

    • To lock one row only, choose the View tab, and then click Freeze Top Row.

    • To lock one column only, choose the View tab, and then click Freeze First Column.

    • To lock more than one row or column, or to lock both rows and columns at the same time, choose the View tab, and then click Freeze Panes. You will want your cursor to be below the row(s) you want to freeze and to the right of any column(s) you want to freeze.

    • To lock multiple rows (starting with row 1), select the row below the last row you want frozen, choose the View tab, and then click Freeze Panes.

    • To lock multiple columns, select the column to the right of the last column you want frozen, choose the View tab, and then click Freeze Panes.

Note: If you don’t see the View tab, it’s likely that you are using Excel Starter. 

Freeze the top row and the first column at the same time

To freeze the top row and the first column at the same time, click the View tab > Freeze Panes > Freeze Panes.

Freezing top row and first column

Freeze the top row

Freezing top row

Notice that the border under row 1 is a little darker than other borders, meaning that the row above it is frozen.

The first row is locked when you click Freeze Top Row

Freeze the first column

If you'd rather freeze the leftmost column instead, click the View tab > Freeze Panes > Freeze First Column.

Freezing 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.

The first column is locked when you click Freeze First Column

Unfreeze rows or columns

  • On the View tab > Window > Unfreeze Panes.

    Unfreeze Panes

If you have any questions, come by the Help Desk at Hardman & Jacobs Undergraduate Learning Center Room 105, call 646-1840, or email us at help@nmsu.edu.




Keywords:Freeze panes to lock rows and columns excel microsoft split   Doc ID:81433
Owner:John B.Group:New Mexico State University
Created:2018-04-05 09:25 MSTUpdated:2018-04-05 09:26 MST
Sites:New Mexico State University
Feedback:  0   0