Repeat Header in Excel: How to Print Rows on Every Page
In this article
To repeat headers in Excel, go to the Page Layout tab, click Print Titles, and enter the row or column references you want to appear on every printed page in the Rows to repeat at top or Columns to repeat at left fields. This ensures that large datasets remain readable when printed or saved as a PDF, as the reader does not have to flip back to the first page to understand what the data in each column represents.
What You'll Need
- A computer with Microsoft Excel installed (Windows or macOS).
- An existing spreadsheet with a data set that spans more than one printed page.
- A defined header row (the row containing your labels, such as "Date," "Name," or "Amount").
Step-by-Step
- Open your workbook: Launch Microsoft Excel and open the specific file containing the data you wish to print. Ensure you are in the Normal view (View > Normal) to make selecting rows easier, though the settings will apply regardless of the view.
- Navigate to Page Layout: Look at the top ribbon menu. Click on the Page Layout tab. Note that depending on your version of Excel or the size of your window, some menu labels may differ slightly, but the "Page Layout" tab is standard across modern versions.
- Open the Print Titles Dialog: In the Page Setup group on the ribbon, click the Print Titles button. This will open the Page Setup dialog box, specifically landing on the Sheet tab.
- Select Rows to Repeat at Top: Locate the field labeled Rows to repeat at top. You can enter the row reference manually (e.g., $1:$1), but the most reliable method is to click the small collapse icon (the red arrow or selection box) at the right end of the text field.
- Select the Header Row: Once the cursor is active in the selection mode, move your mouse to the actual spreadsheet. Click on the row number (the grey number on the far left of the screen) for the row you want to repeat. If your header spans multiple rows (for example, row 1 has a title and row 2 has the column labels), click and drag your mouse across both row numbers. Excel will automatically enter the reference as
$1:$2. - Select Columns to Repeat at Left (Optional): If your data is very wide and prints across multiple pages horizontally, click into the Columns to repeat at left field. Similar to the rows, click the selection icon and click the column letter (A, B, C, etc.) at the top of the sheet for the columns that should appear on every page.
- Confirm the Selection: After selecting your rows or columns, press Enter or click the selection icon again to return to the Page Setup dialog box. You should now see the range (e.g.,
$1:$1) listed in the box. - Preview the Results: Click OK to close the dialog box. To verify that it worked, go to File > Print. In the Print Preview pane on the right, scroll through the pages. You will see that the header row now appears at the top of every single page instead of just the first one.
Common Mistakes
One of the most frequent mistakes users make is trying to set print titles while they are in Print Preview mode. If you go to File > Print and then try to find a way to repeat headers, you will find that the Print Titles option is greyed out or unavailable. The Page Setup options available within the Print Preview screen are limited. You must return to the main spreadsheet editing view and use the Page Layout tab on the ribbon to access the full Print Titles menu.
Another common error is selecting individual cells instead of entire rows. If you click a cell (like A1) instead of the row header (the number 1), Excel may not recognize the selection as a repeating row. The reference must be a full row reference (e.g., $1:$1) to function correctly. If you see a range like $A$1:$G$1, the headers may not repeat as intended across the entire page width.
Users also frequently confuse Freeze Panes with Print Titles. Freezing panes allows you to keep headers visible while scrolling on your computer screen, but it has absolutely no effect on how the document prints. Many people freeze their top row and assume it will automatically repeat on a printed page, only to find that page two and beyond are missing their labels. These are two separate features: Freeze Panes is for on-screen navigation; Print Titles is for physical printing.
Tips
For complex spreadsheets, consider using Excel Tables (Insert > Table). While Tables provide a "header row'" that stays visible on screen, you still need to use the Print Titles method to make them repeat on paper. However, using a Table makes it much easier to identify exactly which row is your header, as Excel will automatically format it with a distinct color and bold text.
If you have a very large header (e.g., a company logo in row 1, a report title in row 2, and column labels in row 3), you can repeat all three. Simply drag your mouse over rows 1, 2, and 3 in the selection box. This ensures the professional branding and context of the report are maintained on every page of a 50-page document.
To save time with recurring reports, create a Template. Once you have set the Print Titles, margins, and orientation for a specific report, save the file as an Excel Template (.xltx). This way, you won't have to navigate through the Page Layout menus every time you start a new monthly or weekly report; the print settings will be baked into the file from the start.
Troubleshooting
The "Print Titles" button is greyed out: This usually happens because you are currently editing a cell (the cursor is blinking inside a cell) or you have multiple worksheets selected (grouped sheets). If you have multiple tabs highlighted at the bottom of your screen, right-click one of the tabs and select Ungroup Sheets. Once only one sheet is active, the Print Titles button should become clickable.
Headers are repeating, but they are cutting off: This is typically a scaling issue. If your header row is too wide for the page, Excel will repeat it, but the rightmost columns will be pushed to a second horizontal page. To fix this, go to the Page Layout tab and look at the Scale to Fit group. Change the Width dropdown from "Automatic" to "1 page." This will shrink the data slightly so that the entire header row fits within the printable area of a single sheet of paper.
The wrong rows are repeating: This occurs when the range in the Rows to repeat at top box is incorrect. To fix this, go back to Page Layout > Print Titles, delete everything inside the "Rows to repeat at top" box, and carefully re-select the row by clicking the row number on the far left. Ensure there are no extra rows selected that might be adding unnecessary blank space to the top of your pages.
Print Titles aren't showing up in PDF: Since "Save as PDF" or "Export to PDF" uses the print engine of Excel, Print Titles should carry over. If they aren't appearing, check if you are using "Save As" and selecting PDF, or if you are using a third-party PDF printer. Try using File > Export > Create PDF/XPS Document, as this is the most integrated way to ensure your print settings are preserved.
Frequently Asked Questions
Can I repeat different headers for different pages?
No, Excel does not support dynamic headers that change from page to page. The "Print Titles" feature applies the same selected row or column to every single page in that specific worksheet.
Is there a way to repeat headers on a mobile device?
The mobile versions of Excel (iOS and Android) have limited page setup capabilities. You generally cannot set "Print Titles" within the mobile app. You must set these titles on the desktop version of Excel; once saved, the settings will be preserved when you print the file from a mobile device or cloud service.
Does repeating headers increase the file size?
No. Repeating headers is a printing instruction, not a duplication of data. It tells the printer to re-print the first row on each page, but it does not add any actual data to the cells of your spreadsheet, so it has no impact on file size.
Can I repeat a row that isn't at the very top of the sheet?
No. Excel requires the repeating rows to be contiguous and start from the top. You cannot tell Excel to repeat row 5 on every page if row 1 through 4 are not also included or if the repeating section starts mid-sheet. If you need a row from the middle to repeat, you must move that row to the top of your data set.
How do I remove repeating headers?
Go to Page Layout > Print Titles and simply delete the text inside the Rows to repeat at top and Columns to repeat at left boxes. Click OK, and the headers will only appear on the first page again.