Skip to content
SkillSopan
Lesson 2.69 minFree

Page Setup and Printing a Report That Fits

Keys you'll useCtrlPAltPI

After this lesson you can

  • Print any dataset on the intended number of pages
  • Repeat headers on every page
  • Produce a clean PDF for circulation

Why this matters

Excel's default print behaviour is genuinely bad — it slices data wherever the page happens to end, orphans the last two columns onto page seven, and repeats no headers, so page four is a grid of numbers with no labels. Five settings fix almost all of it, and learning them once means printing stops being a source of embarrassment.

How it works

The five settings

1. Orientation. Landscape for wide data, which is most business tables.

2. Print Area. Excel prints everything by default, including that stray note in AB300. Select what you want → Page Layout → Print Area → Set Print Area.

3. Scaling. The most useful control in the dialog. Page Layout → Scale to Fit:

  • Width: 1 page, Height: Automatic — the standard choice. All columns on one page width, as many pages long as needed.
  • Avoid "Fit Sheet on One Page" on long data — it shrinks a 250-row report to about 15% and nobody can read it.

4. Print Titles. This is the one that makes a report look professional. Page Layout → Print Titles → Rows to repeat at top: $1:$1. Every page now carries the header row.

For wide reports also set Columns to repeat at left to $A:$A, so names stay visible when the report needs a second page-width.

5. Headers and footers. Page Setup → Header/Footer → Custom Footer.

Screenshot 2.6.1 from this lesson
CodeInserts
&PCurrent page number
&NTotal pages
&DCurrent date
&FFile name
&ASheet name

The standard professional footer: &F | &A on the left, Page &P of &N centred, &D on the right.

Do it

Use a dataset with headers in row 1 and at least 60 rows.

  1. Press Ctrl+P and note the page count and what's wrong. Typically 8–10 pages, split columns, no headers after page 1.
  2. Select your data range. Page Layout → Print Area → Set Print Area.
  3. Page Layout → Orientation → Landscape.
  4. Page Layout → Scale to Fit → Width: 1 page, Height: Automatic.
Screenshot 2.6.2 from this lesson
  1. Page Layout → Print Titles → Rows to repeat at top: click row 1 → it reads $1:$1.
  2. In the same dialog, Columns to repeat at left: click column B → $B:$B.
  3. Page Layout → Sheet Options → tick Print under Gridlines.
  4. Page Layout → Margins → Narrow.
  5. Page Setup launcher (the small arrow) → Header/Footer → Custom Footer: left &F | &A, centre Page &P of &N, right &D.
  6. Margins tab → tick Horizontally under Center on page.
Screenshot 2.6.3 from this lesson
  1. Press Ctrl+P again. Compare the page count with step 1 — typically 8–10 becomes 4–5. Check that page 3 carries the headers.

Control the page breaks

  1. View → Page Break Preview. Drag a blue line so a page breaks where you want it.
  2. To force one: click a row → Page Layout → Breaks → Insert Page Break.

Export a PDF

  1. File → Export → Create PDF/XPS → Options → Active sheet(s) → Publish.
  2. Open the PDF and check it. The PDF uses your print settings exactly, so any mistake is faithfully reproduced.
Screenshot 2.6.4 from this lesson

Shortcuts

ShortcutWhat it doesWhen to use itExample
Ctrl + PPrint preview and settingsBefore every print or PDF, without exceptionCheck the page count and that headers repeat
Alt + P + IPrint Titles dialogSetting repeating headers — the setting that matters mostRows to repeat: $1:$1
Alt + P + R + SSet print areaAfter selecting the range you actually wantStops stray cells creating blank pages
Alt + W + IPage Break PreviewDragging page breaks to sensible placesAlt+W+L returns to Normal

Watch out

MistakeWhat you seeFix
No repeating headersPages 2 onward are unlabelled columns of numbersPrint Titles → $1:$1
Using "Fit Sheet on One Page"2pt text nobody can readWidth: 1 page, Height: Automatic
Not setting a print areaStray cells create blank or junk pagesSet Print Area explicitly
Not previewingYou discover the problem after printing 40 copiesCtrl+P, always
Forgetting gridlinesRows blur together on paperSheet Options → Gridlines → Print
Assuming settings are workbook-wideSheet 2 prints badly after you perfected Sheet 1Settings are per sheet — copy the configured sheet
Wide reports without repeating columnsPage 5 shows figures with no names attachedColumns to repeat at left

Practice

Practice

Scenario

Prepare a 60-row HR report for printing and PDF distribution to a leadership team.

Dataset: HR Employee Master

At least 60 rows with headers: EmpID | Name | Department | Designation | DOJ | Location | Gender | CTC | Manager | Status

Your task

  1. Print preview as-is. Note the page count and list three things wrong with it.
  2. Set the print area to your data only. Set Landscape. Set Scale to Fit → Width 1 page, Height Automatic.
  3. Set row 1 to repeat at the top, and column B to repeat at the left.
  4. Turn on gridline printing and set margins to Narrow.
  5. Add a footer: file name and sheet on the left, Page &P of &N centred, date on the right.
  6. Centre the report horizontally on the page.
  7. Preview again. Compare the page count with step 1. Check page 3 carries both the header row and the Name column.
  8. Open Page Break Preview and drag a break so it doesn't split a department awkwardly.
  9. Export a PDF and open it to verify the headers repeat.
  10. Now add a second sheet with the same data and press Ctrl+P. Why is the layout wrong again?

What you should end up with

Step 1: typically 8–10 pages, split columns, headers only on page 1 · Step 7: typically 4–5 pages, headers on every page · Step 10: print settings are stored per worksheet, not per workbook

Quiz

Question 1 of 3 · Multiple choice

Your 200-row report prints across 6 pages, but only page 1 has column headers. Which setting fixes this?

Reading is free. Sign in to save progress.