In short
- In Excel go to Page Layout, Print Titles, open the Sheet tab and, next to Rows to repeat at top, click the heading row, for example $1:$1. Press OK.
- Then save the PDF from Excel with File, Save As, PDF. The setting is part of the page layout, so it is used in that export. Check page two in the preview before you send it.
- Add page numbers and shrink the finished PDF in your browser
The header row of a long table, the one with Date, Name, Amount, only shows once in a normal PDF, at the top of page one. On page six nobody knows which column is which. Excel's answer is called Print Titles. You name the rows, or the columns, that must be printed again at the top or the left of every page, and Excel does it for the printout and for a PDF saved from Excel.
It is a print setting, so it belongs to the sheet and is saved in the workbook. It also has to be set on each sheet. This guide shows where it is, how to use it for two header rows or for a left-hand column, why it is sometimes greyed out, and how to check the result. It also says plainly what EditFlip does here: its Excel to PDF conversion does not use Excel's print settings, so the repeat has to be made in Excel.
On EditFlip, step by step
- Step 1
Set Print Titles in Excel
Open the workbook and click the sheet that has the long table. On the Page Layout tab choose Print Titles. In the Sheet tab, click inside Rows to repeat at top, then click the row number of your header row on the sheet, such as 1. Excel writes $1:$1. For a header of two rows, drag over both. Press OK.
- Step 2
Look at page two in the preview
Choose File, Print and page to the second page of the preview, or use Page Layout view under the View tab. The header row should be the first thing on page two and on every page after it. If it is not, open Print Titles again and check the row you clicked.
- Step 3
Save the PDF from Excel
Choose File, Save As, and pick PDF as the type, or use Export. This keeps the page setup, so the repeated header comes with it. Use a short name and a simple folder, and open the PDF once to see that every page starts with the headings.
- Step 4
Finish the PDF on EditFlip
At editflip.com press Choose files and pick the PDF. Tap Page numbers and choose a place at the bottom, so readers can say page 5 of 12. Tap Compress if the file is large, then Download. Do not convert the spreadsheet itself on EditFlip for this, since that conversion does not repeat headers.
Why the header appears only once
A spreadsheet has no pages. It is one long grid, and Excel cuts it into pages only when you print or make a PDF. By default it cuts without any memory of what the top of the table looked like, so page two starts with whatever row happens to come next.
Freezing the top row on screen, with View and Freeze Panes, does not change this. Freeze Panes keeps the headings in view while you scroll, and it has no effect on pages. The print setting is a separate one, and it is the one this guide is about.
The same is true of a table made with Insert, Table, whose header row shows in the column letters while you scroll. That is again a screen feature. For the PDF you still need Print Titles.
Rows to repeat at top and Columns to repeat at left
Print Titles has two boxes. Rows to repeat at top is for a header that runs across, like the names of the columns. Columns to repeat at left is for a table that is wider than a page, where the first column, such as a name or an ID, should appear on the pages to the right as well.
You can use both. In the box, you can type the range by hand: $1:$2 means rows one and two, and $A:$A means column A. Or click the box and then click or drag over the row or column numbers on the sheet. If your header is on row 4 because there is a title above it, repeat $4:$4 and not row 1, so the title is printed only once, on the first page.
If the box says $1:$1 but page two still does not show it, check that the page you are looking at comes after the header. Excel starts repeating on the second page, after the first page has shown the header in its normal place.
When Print Titles is greyed out
The commonest reason is that you are in the middle of editing a cell. Press Enter or Esc first, then open Print Titles again. Another reason is opening Page Setup from the Print screen. In that case the Rows to repeat box is disabled. Close it and use Page Layout, Print Titles on the ribbon instead.
It is also unavailable if the active sheet is a chart sheet, which is a sheet made of one chart and no cells. Click a sheet that holds cells.
If several sheets are selected at once, whatever you set goes to all of them. This is handy when several sheets have the same layout, but it is easy to forget. Click a single sheet tab afterwards to ungroup them.
Doing it on a Mac, in Google Sheets and on the web
Excel on a Mac has the same setting, on the Page Layout tab, under Print Titles, with the same Rows to repeat at top box. The steps are the same as on Windows.
In Google Sheets, freeze the header row first, from the View menu. Then, in the print settings, look for the choice about repeating frozen rows on every page. The name and place of that choice can change, so look through the print screen if you do not see it. Then download or print the result as a PDF.
Excel for the web and the phone apps have far fewer page setup choices than the computer program. If Print Titles is not there, open the file on a computer, set it, and save. The setting stays in the workbook, so the next person who exports from Excel on a computer gets it.
Header on every page and a table that fits the width
Repeating the header solves the length of the table. It does not solve its width. If the last columns fall on a separate page, set the sheet to fit one page wide: on the Page Layout tab, set Width to 1 page and leave Height as Automatic. The header will repeat, and all the columns stay together on each page.
A table that is fitted to one page wide has smaller text, so look at the preview for size. Landscape orientation, on the same tab, gives it more room.
A few more settings help a long table read well. Turn on gridlines for printing, if you want lines between cells. Put page numbers in the footer so readers can find their place. And look at the page breaks, so that a row is not split between pages.
What happens if you convert the sheet on EditFlip instead
EditFlip converts a spreadsheet straight to a PDF in your browser, with every sheet drawn as a table and a wide one shrunk to the page width. It does not read Excel's print settings, so Print Titles is not used. A long table runs onto more pages, a row is never cut in half, and the header stays on page one only.
For a short table that fits on one or two pages, that makes no difference. For a table of a hundred rows or more, make the PDF in Excel with Print Titles set, and use EditFlip afterwards for the things it does well on a finished PDF: page numbers, a watermark, a password, a smaller file.
If you do not have Excel at all, the honest answer is that the converted PDF will not have a repeating header. You can still keep it readable by making the headings short and keeping the table narrow.
Checking the PDF before you send it
Open the finished PDF and go to a page in the middle. The first line should be the headings. Then go to the last page and check that it is not nearly empty, and that the last row is complete.
Check that the repeated header is the right one. If your sheet has a title row and a header row, you may have repeated the title by mistake. Read the first two lines of page three.
If you must change something, go back to Excel, adjust the setting, and save the PDF again. A PDF is not meant to be edited for this kind of fix.
Set Print Titles in Excel and save the PDF there. Then use EditFlip to add page numbers, compress it or protect it with a password. It runs in your browser, free, with no account, and the file stays on your device.
Finish your Excel PDF on EditFlip →Questions
How do I repeat the top row on every page of an Excel PDF?
On the Page Layout tab choose Print Titles, and in Rows to repeat at top click your header row. Then save the PDF from Excel with File, Save As.
Why is Print Titles greyed out?
You may be editing a cell, you opened Page Setup from the Print screen, or the sheet is a chart sheet. Press Enter, then use the ribbon.
Does Freeze Panes repeat the header in the PDF?
No. Freeze Panes only keeps the headings in view on screen while you scroll.
Can I repeat two header rows?
Yes. In Rows to repeat at top, select both rows, so the box reads $1:$2.
Can I repeat the first column as well?
Yes. Use Columns to repeat at left, for example $A:$A. It is useful for a table wider than a page.
Does EditFlip repeat the header row when it converts Excel to PDF?
No. Its conversion does not use Excel's print settings, so the header appears on the first page only. Set Print Titles in Excel and save the PDF there.
Does the setting apply to every sheet?
No, each sheet has its own. You can select several sheet tabs at once to set them together.
Can I add page numbers to the PDF afterwards?
Yes. On EditFlip choose the PDF, tap Page numbers and pick a place at the bottom or the top.
