Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. 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: Excel Refuses to Put Page Breaks between Subtotal Groups.

Excel Refuses to Put Page Breaks between Subtotal Groups

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


9

Sandy noted that when she inserts subtotals into her worksheet, she usually clicks the insert page break between groups button. It doesn't seem, however, that the page breaks are inserted. When Sandy looks at the worksheet in both Print Preview and Page Break Preview, Excel does not show the page breaks as being present.

The only time that this behavior should occur is if you direct Excel (in the Page Setup options) to fit the printout to a specific number of pages. You can check to see if this is the case in this manner:

  1. Display the Page Layout tab of the ribbon.
  2. Click the small icon at the lower-right corner of the Page Setup group. Excel displays the Page Setup dialog box.
  3. Make sure the Page tab is displayed. (See Figure 1.)
  4. Figure 1. The Page tab of the Page Setup dialog box.

  5. Make sure the Adjust To option is selected and set to 100%.
  6. Click OK.

The reason that you need to make this change is that if you have your page setup configured to fit your printout to a specific number of pages, Excel basically ignores any page breaks in your worksheet.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8702) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Excel Refuses to Put Page Breaks between Subtotal Groups.

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

Selecting a Paper Size

Most of the time we print on whatever is a standard paper size for our area, such as letter size or A4 paper. However, ...

Discover More

Smoothing Out Data Series

One way you can make your charts look more understandable is by removing the "jaggies" that are inherent to line charts. ...

Discover More

Notification when Recalculation is Done

If you manually recalculate your workbooks, you are probably doing so because of the time it takes to do the ...

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)

Understanding Add-Ins

The primary way to extend what Excel can do is through the use of add-ins. This tip explains what they are and the ...

Discover More

Tracing Precedents and Dependents Clears Undo Stack

Excel normally allows you to undo actions you take so that you can "step back" through what you may have been doing. ...

Discover More

Counting with Subtotals

There are a variety of ways you can count information in different groupings. One convenient way is to use the ...

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 1 + 1?

2023-10-01 04:34:55

Kiwerry

@J. Woolley: thanks for the addendum!


2023-09-30 11:45:57

J. Woolley

For more on this subject, see
https://support.microsoft.com/en-gb/Search/results?query=Insert+subtotals


2023-09-30 11:39:43

J. Woolley

@Kiwerry
Perhaps I should have mentioned that page breaks in Normal view only applies to Subtotals if the "Page break between groups" option is enabled as illustrated in Paul's comment.


2023-09-29 18:15:28

Kiwerry

@J. Woolley: thanks very much for the brief but illuminating macro. I particularly liked the Undo mechanism.


2023-09-28 14:17:04

J. Woolley

My Excel Toolbox includes the TogglePageBreaks macro to enable or disable display of page breaks on the active worksheet in Normal view. The keyboard shortcut is Ctrl+T P B. Undo (Ctrl+Z) is supported.
Here is an abbreviated version:

Sub TogglePageBreaks()
    Const myName As String = "TogglePageBreaks"
    If TypeName(ActiveSheet) <> "Worksheet" Then Beep: Exit Sub
    With ActiveSheet
        .DisplayPageBreaks = (Not .DisplayPageBreaks)
    End With
    Application.OnUndo myName, (ThisWorkbook.Name + "!" + myName)
End Sub

See https://sites.google.com/view/MyExcelToolbox


2023-09-28 04:19:05

Kiwerry

Thanks very much, Paul.
The fact that it's an option explains why it didn't appear in the command list - I tend, rightly or wrongly, to associate the word "button" with commands.


2023-09-27 11:49:31

Paul

Hi Kiwerry

The button you are looking for is in the Subtotals dialog box (click in the data to subtotal and click the Subtotal button at the end of the Data tab.

(see Figure 1 below)

Figure 1. 


2023-09-27 08:36:35

Kiwerry

Mike,
I doubt that an "Insert Page Break between Groups" button exists. I assume that one simply uses the usual method of insetring a page break, but puts it below a group.
My doubt arose when I looked to see whether it appears in the "All Commands" list of the Customise Quick Access Toolbar dialogue. I couldn't find anything other than simple page break removal/insertion commands.
I would be pleased to be proved wrong if someone knows where such a button can be found.


2023-09-27 07:41:02

Mike J

Where is the 'insert page break between groups button'? I have found online a reference to 'the grouping panel' but I can't find that either. This tip would be very useful.


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.