What a header is and why you'd want one
A header in Excel is text or a page number that appears at the top of every printed page of your spreadsheet. It sits in a separate area above your actual data — it does not take up a row in your sheet. Headers are useful when you print a multi-page spreadsheet because they remind anyone reading the printout which document they're looking at, what the data represents, or what date it was created.
Headers are different from column labels. Column labels are the first row of your actual data (like "Name", "Email", "Phone Number"). Headers are purely for printing and do not show on screen unless you switch to Page Layout view or Print Preview.
Key Takeaways
- Headers appear only on printed pages, not on your screen in normal view — you edit them through the Insert menu or by switching to Page Layout view.
- Excel lets you put different headers on the first page, odd pages, and even pages, which is useful for multi-page reports.
- You can insert the current date, time, file name, sheet name, or page numbers automatically so they update without manual work.
- Headers and footers are saved with your file, so anyone who opens the spreadsheet later will see the same headers when they print.
Adding a header through the Insert menu
The fastest way to add a header is through the Insert menu. Open your spreadsheet, click the Insert tab at the top, then look for the Header & Footer button (in some Excel versions it says Text with a dropdown). Click it and select Header.
A dialog box opens with three sections: Left, Center, and Right. Type your header text into whichever section you want it to appear in. If you want your company name on the left and the date on the right, type the company name in the Left box, leave Center blank, and type the date in the Right box. Click OK when you're done.
Your header is now set. You won't see it on your normal spreadsheet view, but it will appear when you print or switch to Print Preview.
Inserting automatic fields like date, time, and page numbers
Instead of typing a static date that never changes, you can insert fields that update automatically. Open the header dialog the same way (Insert tab, Header & Footer, Header), then click inside the box where you want the field to go.
Look for buttons labeled & (ampersand) or [#] — these insert automatic fields. Click the button for the field you want: Page Number inserts the current page number, Date inserts today's date, Time inserts the current time, File Name inserts the spreadsheet's file name, and Sheet Name inserts the name of the current sheet tab. These fields update every time you print, so you always get the current information.
You can combine text and fields. For example, type "Page " then click the Page Number button, and your header will read "Page 1", "Page 2", and so on.
Editing headers in Page Layout view
Another way to edit headers is through Page Layout view, which shows you roughly how your spreadsheet will look when printed. Click the View tab at the top, then click Page Layout. Your spreadsheet now shows page breaks as gray lines, and you'll see a gray box at the top of the page labeled "Click to add header".
Click that box and type your header text directly. You can click the Left, Center, or Right section to position text where you want it. When you're done, click anywhere in your spreadsheet data to exit the header editing mode. This view is helpful if you want to see exactly how your header will look relative to your data.
Using different headers for the first page or odd and even pages
By default, Excel uses the same header on every page. But you can set it up so the first page has a different header, or so odd-numbered pages differ from even-numbered pages — useful for reports where the first page is a title page.
Open the header dialog (Insert tab, Header & Footer, Header). Look for checkboxes that say Different First Page or Different Odd and Even Pages. Check the box for what you want. Now the dialog shows separate fields for each type of page. Set up the header for each page type separately, and Excel will use the right one when you print.
Removing or changing a header you've already set
To remove a header entirely, open the header dialog again (Insert tab, Header & Footer, Header), delete all the text from the Left, Center, and Right boxes, and click OK. The header disappears from all future printouts.
To change an existing header, open the dialog, edit the text in any of the three boxes, and click OK. Your changes take effect immediately. If you set up different headers for different page types, you'll need to edit each one separately.
Headers and footers are not the same thing
A footer is the same idea as a header but appears at the bottom of the page instead of the top. You add and edit footers the exact same way: Insert tab, Header & Footer, then click Footer instead of Header. Many spreadsheets use both — a header with the document title and a footer with the page number and date, for example.
Headers and footers are independent. You can have a header without a footer, a footer without a header, or both. They do not interfere with each other.
Frequently Asked Questions
Why can't I see my header on the screen?
Headers only show in Page Layout view or Print Preview, not in the normal spreadsheet view. Click the View tab and select Page Layout to see how your header will look. In normal view, your spreadsheet shows only the data itself.
Can I use different headers on different sheets in the same file?
Yes. Each sheet tab has its own header and footer settings. Set up the header on Sheet1, then click Sheet2 and set up a different header there. When you print, each sheet uses its own header.
What if I want an image in my header instead of text?
Excel's built-in header dialog does not support images directly. You would need to insert an image into the top row of your spreadsheet itself and adjust the row height, or use a third-party tool. For most purposes, text headers with your company name or document title work fine.
Do headers print on every page, including the last page?
Yes. Headers print on every page of your printout, including the first and last pages, unless you specifically set up a different header for the first page.
If I share my spreadsheet, will the person who opens it see my header?
The header is saved with the file, so yes — anyone who opens the spreadsheet will see the header when they print. They can edit or remove it if they want, but it comes with the file by default.