Sub topic 1
How Excel decides what goes on each page
Prerequisites
This chapter assumes you can:
- Move around the Excel ribbon and its tabs.
- Enter data, select ranges, and format cells.
- Tell a worksheet (one sheet) from a workbook (the whole file).
You do not need any printing experience or any VBA knowledge.
The working model
A worksheet has no pages. It is a grid of cells that goes on in every direction. Excel only creates pages when it prepares output for a printer or a PDF file. It does this by combining four inputs:
- The print range. By default this is every cell that holds data or formatting. You can narrow it later with a print area.
- The paper. Paper size, orientation, and margins set how much room each page offers.
- The scale. Scaling shrinks or enlarges the content before it is placed on the page.
- The physical size of your columns and rows. Column widths and row heights are real measurements, so they decide how many fit on one page.
Excel then cuts the range into page-sized blocks. It starts at the top left and fills the page downward until the next row will not fit. At that point it inserts an automatic page break. It then goes back to the top and continues to the right.
Down, then over
Excel numbers pages in "down, then over" order by default. It fills the first column of pages from top to bottom, then moves right to the next column of pages. A wide, tall sheet therefore prints as a grid of pages.
You can switch to "over, then down" in the Sheet tab of the Page Setup dialog. That is useful when a sheet is wider than it is tall.
A worked example
Suppose a sales table fills columns A to L and rows 1 to 80. Each column is 14 characters wide. The page is US Letter in portrait orientation with default margins.
- Portrait Letter paper is 8.5 inches wide. With margins of 0.7 inch on each side, about 7.1 inches remain for content.
- A 14-character column is about 1.1 inches wide. Roughly six columns fit across.
- Excel puts an automatic break after column F. Columns G to L land on separate pages.
- Down the sheet, around 45 rows fit on a page at the default row height. Rows 46 to 80 land on further pages.
The result is four pages for a table you meant to print on one. Nothing is wrong with the data. The page simply cannot hold it at 100% scale. The rest of this tutorial gives you the tools to change that, such as orientation, scaling, and page breaks.
What counts as printable content
Excel does not look at where your data ends. It looks at where the used range ends. The used range includes cells that only contain formatting, such as a fill color or a border. A cell far down the sheet that you formatted once can make Excel print blank pages.
You can check the used range by pressing Ctrl+End. The cursor jumps to the last cell Excel considers in use. If it lands far from your data, the print range is larger than you expect. A later chapter shows how to fix this with a print area.
Objects also count. A chart, shape, or text box that extends past your data adds pages to the output. Hidden rows and columns do not print, and they take up no space on the page.
Where to see the result
Three views show how the sheet will paginate:
| View | What it shows | Where to find it |
|---|---|---|
| Normal | Dotted lines where automatic breaks fall, after a first preview or print | View tab |
| Page Break Preview | Blue lines for breaks and gray for areas outside the print range | View tab |
| Print Preview | The exact pages, one at a time | File, then Print |
Dotted break lines in Normal view appear only after you have previewed or printed once, or changed a page setting. If you do not see them, that is why.
Exercise
A table sits in A1:F40, but Print Preview shows five pages. Ctrl+End jumps to cell Z200. What is the likely cause, and why does it add pages?
Show answer
Cell Z200 holds formatting (or an object), so it is part of the used range. Excel paginates the whole used range, not only the cells with data, so the empty area between the table and Z200 produces extra, blank-looking pages. Setting a print area on A1:F40, or clearing the stray formatting, removes them.
Exercise
On portrait Letter paper, a sheet needs 3 pages down and 2 pages across. In what order does Excel number the pages by default?
Show answer
Down, then over: pages 1, 2, and 3 run down the first column of pages, and pages 4, 5, and 6 run down the second column.