To print the same header (like column titles) on every page in Excel, use the Print Titles feature. This is a built-in option that repeats specific rows (or columns) on each printed page, so your data stays readable across multiple pages. You don't need any add-ins or macros—just a few clicks in the Page Setup dialog. Here's exactly how to do it in Excel 2016, 2019, 365, and most other versions.
What You'll Need
- An Excel workbook with data that spans more than one printed page.
- The row(s) you want to repeat as a header (usually the first row containing column titles).
- Access to the Page Layout tab on the ribbon (available in all desktop versions of Excel).
Step-by-Step
- Open your workbook and select any cell in the sheet you want to print. You don't need to select the entire range; Excel will apply the setting to the whole sheet.
- Go to the Page Layout tab on the ribbon. It's between Formulas and Data in most versions.
- In the Page Setup group (the leftmost group on that tab), click Print Titles. This opens the Page Setup dialog box with the Sheet tab already active. Note: The exact label might be "Print Titles" or just "Titles" depending on your Excel version and window size, but it's always in that group.
- In the Print titles section, you'll see two input boxes: Rows to repeat at top and Columns to repeat at left. For a typical header row, click inside the Rows to repeat at top box.
- Now, click on the row number(s) in the sheet. For example, if your column titles are in row 1, click on the number "1" at the left edge of the sheet. Excel will insert a reference like
$1:$1into the box. If you have a two-row header (e.g., row 1 and row 2), drag across both row numbers to get$1:$2. - Click OK to close the dialog. That's it—your header rows will now repeat on every printed page.
- To verify, go to File > Print (or press Ctrl+P). In the print preview, scroll through the pages using the arrows at the bottom; you should see the header row appear on each page. If it doesn't, double-check that you selected the correct row and that the data actually spans multiple pages.
If you also want to repeat a column on the left (for wide sheets that print sideways), use the Columns to repeat at left box in the same dialog. Click inside that box, then click on the column letter(s) you want to repeat (e.g., column A). This is useful for sheets where the first column contains row labels.
Common Mistakes
- Selecting cells instead of row numbers: When you click in the "Rows to repeat at top" box, you must click on the row number (the gray box with the number) at the far left of the sheet, not on a cell within the row. Clicking a cell will enter a cell reference like
$A$1, which is not valid for repeating rows—it will cause an error or simply not work. - Applying the setting to the wrong sheet: Print Titles are set per sheet. If you have multiple sheets in your workbook, you need to set it for each sheet individually. The setting does not carry over to other sheets automatically.
- Using the header/footer instead: Some users try to use the header/footer section (Insert > Header & Footer) to repeat column titles. That works only for static text, not for dynamic cell references. Use Print Titles for cell content.
- Forgetting to check print preview: Sometimes the header appears to be set, but the data doesn't actually span multiple pages, so you don't see the effect. Always check the print preview to confirm.
Tips
- Use named ranges for clarity: If you have a complex header, you can define a named range for the header rows (e.g., "HeaderRow") and then type that name in the "Rows to repeat at top" box. This is optional but can make the setting easier to understand later.
- Combine with print area: If you only want to print a specific part of the sheet, set a print area (Page Layout > Print Area > Set Print Area) and then apply Print Titles. The titles will repeat only within that print area.
- For large sheets, consider freezing panes: While Print Titles affects printing, freezing panes (View > Freeze Panes) keeps the header visible on screen when scrolling. You can use both—they don't conflict.
- Check page breaks: After setting titles, you might want to adjust page breaks (View > Page Break Preview) to ensure the header doesn't end up alone at the bottom of a page. Drag the breaks to a logical spot.
- Keyboard shortcut: Press Alt + P (to go to Page Layout), then S (for Print Titles) to open the dialog quickly.
Troubleshooting
If the header isn't repeating, try these checks in order:
- Verify the row reference: Open the Page Setup dialog again and look at the "Rows to repeat at top" box. It should contain a row reference like
$1:$1. If it contains a cell reference like$A$1, clear it and re-enter by clicking the row number. - Check that you're on the correct sheet: Click on the sheet tab you intend to print, then open Page Setup to see if the titles are set for that sheet. If not, set them again.
- Ensure the sheet has multiple pages: If your data fits on one page, the header will appear only once—that's correct. To test, reduce the font size temporarily or add more rows to see if the header repeats.
- Clear any conflicting print settings: Sometimes a previously set print area or page setup might interfere. Go to Page Layout > Print Area > Clear Print Area, and also check that the scaling settings (Page Setup > Scaling) aren't forcing everything onto one page.
- Update Excel: If you're using an older version, there might be a bug. Make sure your Office is updated to the latest version. In most cases, this feature works reliably across all modern versions.
- Restart Excel: As a last resort, close and reopen the workbook. This clears any temporary glitches.
Frequently Asked Questions
Can I repeat a header on each page in Excel Online (web version)?
Yes, Excel Online supports Print Titles, but the path is slightly different. Go to File > Print > Page Setup (the link at the bottom of the print settings). In the dialog, under "Print Titles," set the rows to repeat. Note that the web version may have fewer options, but this feature is available.
Why does my header row print only on the first page?
This usually means the Print Titles setting wasn't applied correctly. Double-check that you clicked on the row number (not a cell) and that the reference in the box is a row range (e.g., $1:$1). Also, ensure you're looking at the correct sheet.
Can I repeat multiple non-adjacent rows as a header?
No, Excel only allows a contiguous range of rows. If you need to repeat rows 1 and 3 (skipping row 2), you can't do that directly. Instead, you could hide row 2 or copy the content of row 3 into row 2, or use a workaround like placing the header text in a single row.
Does the header repeat when printing to PDF?
Yes, the Print Titles setting is part of the page setup, so it applies when you print to any printer, including PDF printers like "Microsoft Print to PDF." The header will appear on each page of the PDF.
How do I remove the repeating header?
Go to Page Layout > Print Titles, clear the "Rows to repeat at top" box, and click OK. The header will no longer repeat.
Can I use a different header for the first page?
Excel doesn't have a built-in option for a different first-page header in Print Titles. However, you can use the header/footer feature (Insert > Header & Footer) which has a "Different First Page" checkbox. That's for text headers, not cell references. If you need a different first-page header with cell content, you'd have to manually set up the first page separately, which is cumbersome.