Excel does allow you to repeat rows at the top of printed pages, but it requires using the Page Setup feature—not the Freeze Panes function. If you're seeing an error or finding the option grayed out, it's likely due to incorrect selection, print area settings, or worksheet protection. This guide shows you how to correctly set up repeating top rows for printing, so your headers appear on every printed page.

What You'll Need

  • A Microsoft Excel workbook (Windows or Mac)
  • At least one row of headers you want to repeat on every printed page
  • Access to the Page Layout or Page Setup tab
  • Printer or PDF export capability (to verify the result)

Step-by-Step

  1. Open the Excel workbook containing the data you want to print.
  2. Identify the row or rows that contain your column headers. For example, if your headers are in Row 1, you want to repeat Row 1. If you have a two-row header (e.g., Row 1 for category, Row 2 for subheadings), you’ll repeat both.
  3. Go to the Page Layout tab in the Excel ribbon. On some versions or platforms, this may be labeled Layout or appear under Print settings.
  4. In the Page Setup group, click the small arrow in the bottom-right corner to open the Page Setup dialog box. Alternatively, click Print Titles directly if it’s visible.
  5. In the Page Setup dialog box, select the Sheet tab.
  6. Under the Rows to repeat at top section, click the spreadsheet icon (a small box with arrows) to the right of the input field.
  7. Click and drag to select the row or rows you want to repeat. For example, click cell A1 and drag to cell Z1 if your headers are in Row 1. If you want to repeat Rows 1 and 2, select from A1 to Z2. Do not select any data rows below your headers.
  8. Once selected, press Enter. The reference will appear in the field as something like $1:$1 or $1:$2.
  9. Click OK to close the dialog box.
  10. Go to File > Print to preview your document. Verify that your header rows appear at the top of every printed page.
  11. If you’re using Excel for Mac, the steps are nearly identical: go to Page Layout > Print Titles, then follow the same selection process.

Common Mistakes

  • Confusing Freeze Panes with Repeat Rows at Top. Freeze Panes keeps headers visible while scrolling, but does not affect printing. You must use Page Setup for printed repetition.
  • Selecting cells outside the header row—like accidentally including data rows in the selection. This causes Excel to repeat data rows, which breaks the layout and creates confusion on printed pages.
  • Using relative references (e.g., selecting A2:B2 instead of $1:$1). Excel requires absolute row references ($1:$1) for repeat rows to work correctly. The dialog box auto-adds $ signs when you select rows properly.
  • Having a custom print area that excludes the header rows. If you’ve set a print area that starts at Row 5, Excel will not repeat Row 1 because it’s outside the print range. Clear the print area first (View > Page Break Preview > Page Layout > Print Area > Clear Print Area) before setting repeat rows.
  • Working in a protected worksheet without enabling header editing. If the sheet is protected, you may not be able to modify Page Setup settings. Go to Review > Unprotect Sheet before proceeding.

Tips

  • Always use Page Break Preview (View > Page Break Preview) to visually check where page breaks occur. This helps you confirm your headers will appear on every page correctly.
  • If your document has multiple sheets, repeat the process for each sheet individually—repeat rows are set per worksheet, not per workbook.
  • For wide tables, consider setting columns to repeat on the left side as well. Use the Columns to repeat at left field in the same dialog box.
  • Test print to PDF first. This allows you to review formatting without wasting paper.
  • Use consistent formatting in your header rows. Bold text, borders, and background colors help distinguish headers on printed pages.
  • Ensure your printer settings are not scaling the document to fit the page. Go to Print > Settings > Scaling > Adjust to 100% to preserve the original layout.

Troubleshooting

  • The Repeat Rows field is grayed out. This usually means the worksheet is protected. Go to Review > Unprotect Sheet. If a password was used, you’ll need it to unprotect. If you don’t have the password, you cannot change this setting.
  • Rows still don’t repeat after setting them. Check if a print area is defined. Go to Page Layout > Print Area > Clear Print Area. Then reselect your repeat rows. If you need a print area, define it after setting the repeat rows.
  • Headers appear on some pages but not others. Verify that all pages fall within the same print area. If your data spans multiple sections, Excel may treat them as separate print jobs. Use Page Break Preview to adjust horizontal or vertical page breaks manually.
  • Excel crashes or freezes when opening Page Setup. Try saving the file as .xlsx (if it’s .xls), then reopening. Corrupted print settings can cause instability. Reset print settings by copying all data to a new workbook and setting up headers fresh.
  • On Mac, the option doesn’t appear. Make sure you’re using Excel for Microsoft 365 or Excel 2019+. Older versions (like Excel 2016) have limited Page Layout capabilities. Update Excel or use the Windows version for full functionality.
  • Headers print too small or get cut off. Adjust your page orientation to Landscape (Page Layout > Orientation > Landscape) or reduce margins (Page Layout > Margins > Narrow). Avoid using Fit to Page scaling unless absolutely necessary.

Frequently Asked Questions

Can I repeat rows at the top if I’m printing only part of the sheet?

Yes, but only if the rows you want to repeat are within the print area. If your print area starts at row 10, you cannot repeat row 1. You must either adjust the print area to include the headers or clear the print area entirely.

Why do my headers disappear when I scroll down?

Because you’re using Repeat Rows at Top for printing, not Freeze Panes. Repeat Rows only affect printed output. To keep headers visible while scrolling, go to View > Freeze Panes > Freeze Top Row.

Do I need to repeat the same rows on every sheet?

Yes. Each worksheet has its own Page Setup settings. If you have multiple sheets with headers, you must set repeat rows individually for each one.

Can I repeat rows on a chart or pivot table sheet?

Yes, as long as the sheet has a structured data range with headers. However, if the chart or pivot table is the only content and there are no visible rows or columns with headers, the option may not work. Add a header row above the chart or pivot table and select it.

What if my header spans multiple columns but not the entire width?

You only need to select the cells containing your header data. Excel will repeat only the selected cells, not the entire row. For best results, select from the first column to the last column of your header.

Will this work in Excel Online?

No. Excel Online does not support the Print Titles feature for repeating rows. You must use the desktop version of Excel (Windows or Mac) to set this up. After setting it on desktop, the setting is saved and will appear when you print from Excel Online, but you cannot configure it there.