Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Freezing Top Rows and Bottom Rows.

Freezing Top Rows and Bottom Rows

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


1

Kevin has a long (vertical) worksheet that has the first few rows frozen so the column headings are always visible. He would like to also freeze the bottom row, so the column totals are always visible.

Unfortunately there is no way to do this in Excel. At first thought you may believe that you can freeze rows and also split the worksheet window so that you can put the totals below the split. Excel won't let you do this, however—when you try, then the freeze is removed and replaced with the split, and trying to reapply the freeze removes the split.

What most experienced Excel users do is to put the column totals at the top of the columns instead of at the bottom. This may seem awkward, but it has the added benefit of allowing you to easily add new rows to your data table. The top-of-column totals could be added either using SUM formulas (as you would with the totals at the bottom), or you can leave the totals at the bottom of the columns and simply add a referential formula (like =B327) in a row at the top of columns.

There is another approach you can use, however. Start by opening the workbook that contains the worksheet you want to work on. (This should be the only workbook open.) Then follow these steps:

  1. Display the View tab of the ribbon.
  2. Click the New Window tool in the Window group. Excel creates a new window on the data in the worksheet you are working on.
  3. Click the Arrange All tool in the Window group. You should see the Arrange Windows dialog box. (See Figure 1.)
  4. Figure 1. The Arrange Windows dialog box.

  5. Make sure the Horizontal radio button is selected.
  6. Click OK.

At this point you should see your two windows—one in the top half of the screen and the other beneath it. Use the mouse to adjust the vertical height of both windows. (The bottom window should be large enough to hold your totals and the top window can occupy the rest of the available space.)

Now you can display the totals row (or rows) in the bottom window, and freeze the top rows in the top window. This allows you to see everything you want to see, although it is a bit expensive when it comes to screen real estate since both windows have column letters visible.

The biggest drawback to this approach is that the windows are not horizontally linked. This means that if you scroll one of the windows left or right, the other window doesn't scroll at the same time. You could write some VBA code to handle the horizontal scrolling, but that simply adds complexity to the situation.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (9841) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. You can find a version of this tip for the older menu interface of Excel here: Freezing Top Rows and Bottom Rows.

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

Changing the Default Font

Don't like the font that Word uses for a default in your new documents? You can pick a different font, but the way you ...

Discover More

Reordering Last Name and First Name

If you've got a list of names in a column, you may want to change the order of each name. For instance, the name have the ...

Discover More

Merging and Printing a Series of Documents

Do you need to merge and print a number of documents in a particular order? Perhaps the best approach is to record a ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (ribbon)

Hiding and Unhiding Worksheets

Worksheets are easily accessible in a workbook, but you may not want them to be so open. You can hide worksheets so they ...

Discover More

Quickly Inserting a New Worksheet

Want a quick way to insert a worksheet? There's nothing faster than using the handy shortcut.

Discover More

Selecting All Visible Worksheets in a Macro

Do you need your macro to select all the visible worksheets (and just the visible ones)? It's not as easy as it sounds, ...

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 two more than 7?

2022-03-12 10:21:20

J. Woolley

The following My Excel Toolbox macros might be useful with view windows arranged horizontally: ToggleFormulaBar, ToggleScrollBars, ToggleStatusBar, WindowDressing.
Instead of view windows, you might prefer to use Excel's Camera Tool or Home > Paste > Linked Picture. Similarly, My Excel Toolbox's DynamicImage macro copies a range of cells and pastes it as a dynamic image in any sheet of any workbook. The image includes cell values plus visible portions of shapes or charts from the copied range. Any changes in the copied range will be reproduced in the dynamic image. The result is a simple dashboard.
See https://sites.google.com/view/MyExcelToolbox/


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.