Freezing the Top Three Rows

Written by Allen Wyatt (last updated November 11, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021


1

Lawrence would like to freeze the top three rows in a worksheet. When he selects them and uses the Freeze Pane tools on the View tab of the ribbon, only the top row is frozen.

The problem here is that the three rows are being selected before using the Freeze Pane tools. Freezing panes works by freezing the rows above and columns to the left of whatever single cell you currently have selected. If you have multiple cells selected, then you won't get the desired results, and the results can vary depending on your version of Excel. In Lawrence's case it is obvious that selecting the rows and then trying to freeze panes results in just the top row being frozen.

Keeping in mind that you need to select a single cell, here's how Lawrence could freeze the top three rows:

  1. Select cell A4.
  2. Display the View tab of the ribbon.
  3. Click the Freeze Panes tool.

That's it; everything above cell A4 (meaning the top three rows) is frozen. Nothing is frozen to the left of the cell because there are no columns left of column A. If cell B4 would have been selected in step 1, then both the top three rows and the leftmost column would have been frozen.

By the way, the Freeze Panes tool is a toggle, meaning it changes when it is used. When you click the Freeze Panes tool, its name changes to Unfreeze Panes. Click it at that point, and any panes you previously specified in your worksheet are unfrozen and the tool name changes back to Freeze Panes.

It should also be pointed out that freezing or unfreezing panes does not affect the Undo list. That means you cannot press Ctrl+Z to undo the freeze or unfreeze you previously did. If you unfreeze panes in error, you must follow the steps outlined above to again freeze them.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (1454) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Vertical Alignment of Sections

Using one of the page setup options in Word, you can specify that the paragraphs within the section be vertically aligned ...

Discover More

Positive and Negative Colors in a Chart

When creating a line cart, the line can show values both positive and negative values. This tip explains how you can use ...

Discover More

Unable to Format Cells

If you ever get to a situation where you can no longer format cells in a workbook, you'll realize just how important the ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Generating Random Testing Data

Need to test your formulas? Then you need some testing data that you can use to see if the formulas function as you ...

Discover More

Embedding Your Phone Number in a Workbook

Want to provide a bit of contact information in a workbook? A great place to do it (out of sight, but not inaccessible) ...

Discover More

Clearing Large Clipboard Entries

Need to clear out a large amount of information saved on the Clipboard? All you need to do is to replace it with a small ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 2?

2023-11-17 15:37:46

Erik

Note that you can freeze panes such that part of the worksheet isn't visible. For example, so D4 is the top left cell. Select E5 and freeze panes. Rows 1-3 and columns A, B, and C will remain off screen until you unfreeze panes.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.