The tutorial shows how to freeze cells in Excel to keep them visible while you navigate to another area of the worksheet. Below you will find the detailed steps on how to lock a row or multiple rows, freeze one or more columns, or freeze column and row at once. Show
When working with large datasets in Excel, you may often want to lock certain rows or columns so that you can view their contents while scrolling to another area of the worksheet. This can be easily done by using the Freeze Panes command and a few other features of Excel. How to freeze rows in ExcelFreezing rows in Excel is a few clicks thing. You just click View tab > Freeze Panes and choose one of the following options, depending on how many rows you wish to lock:
The detailed guidelines follow below. How to freeze top row in ExcelTo lock top row in Excel, go to the View tab, Window group, and click Freeze Panes > Freeze Top Row. This will lock the very first row in your worksheet so that it remains visible when you navigate through the rest of your worksheet. You can determine that the top row is frozen by a grey line below it: How to freeze multiple rows in ExcelIn case you want to lock several rows (starting with row 1), carry out these steps:
For example, to freeze top two rows in Excel, we select cell A3 or the entire row 3, and click Freeze Panes: As the result, you'll be able to scroll through the sheet content while continuing to view the frozen cells in the first two rows: Notes:
How to freeze columns in ExcelFreezing columns in Excel is done similarly by using the Freeze Panes commands. How to lock the first columnTo freeze the first column in a sheet, click View tab > Freeze Panes > Freeze First Column. This will make the leftmost column visible at all times while you scroll to the right. How to freeze multiple columns in ExcelIn case you want to freeze more than one column, this is what you need to do:
For example, to freeze the first two columns, select the whole column C or cell C1, and click Freeze Panes: This will lock the first two columns in place, as indicated by the thicker and darker border, enabling you to view the cells in frozen columns as you move across the worksheet: Notes:
Besides locking columns and rows separately, Microsoft Excel lets you freeze both rows and columns at the same time. Here's how:
Yep, it's that easy :) For example, to freeze top row and first column in a single step, select cell B2 and click Freeze Panes: This way, the header row and leftmost column of your table will always be viewable as you scroll down and to the right: In the same fashion, you can freeze as many rows and columns as you want as long as you start with the top row and leftmost column. For instance, to lock top row and the first 2 columns, you select cell C2; to freeze the first two rows and the first two columns, you select C3, and so on. How to unlock rows and columns in ExcelTo unlock frozen rows and/or columns, go to the View tab, Window group, and click Freeze Panes > Unfreeze Panes. Freeze Panes not workingIf the Freeze Panes button is disabled (greyed out) in your worksheet, most likely it's because of the following reasons:
Other ways to lock columns and rows in ExcelApart from freezing panes, Microsoft Excel provides a few more ways to lock certain areas of a sheet. Split panes instead of freezing panesAnother way to freeze cells in Excel is to split a worksheet area into several parts. The difference is as follows: Freezing panes allows you to keep certain rows or/and columns visible when scrolling across the worksheet. Splitting panes divides the Excel window into two or four areas that can be scrolled separately. When you scroll within one area, the cells in the other area(s) remain fixed. To split Excel's window, select a cell below the row or to the right of the column where you want the split, and click the Split button on the View tab > Window group. To undo a split, click the Split button again. Use tables to lock top row in ExcelIf you'd like the header row to always stay fixed at the top while you scroll down, convert a range to a fully-functional Excel table: The fastest way to create a table in Excel is by pressing the Ctl + T shortcut. For more information, please see How to make a table in Excel. Print header rows on every pageIn case you'd like to repeat top row or rows on every printed page, switch to the Page Layout tab, Page Setup group, click the Print Titles button, go to the Sheet tab, and select Rows to repeat at top. The detailed instructions can be found here: Print row and column headers on every page. That's how you can lock a row in Excel, freeze a column, or freeze both rows and columns at a time. I thank you for reading and hope to see you on our blog next week! You may also be interested in
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. 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. Note: You cannot freeze panes and split panes at the same time. You can enable only one of the two. Before you choose to freeze rows or columns in a worksheet, it’s important to consider the following:
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.
Note: If you don’t see the View tab, it’s likely that you are using Excel Starter. To freeze the top row and the first column at the same time, click the View tab > Freeze Panes > Freeze Panes. Notice that the border under row 1 is a little darker than other borders, meaning that the row above it is frozen. If you'd rather freeze the leftmost column instead, click the View tab > 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.
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 . |