This tutorial shows you how to add headers and footers to your Excel spreadsheets to enhance their professional look. Headers and footers, containing information like page numbers and dates, are visible only when printing, in Print Preview, or Page Layout view.
- Adding Headers in Excel
- Adding Footers in Excel
- Using Preset Headers/Footers
- Creating Custom Headers/Footers
- Modifying Headers/Footers
- Closing the Header/Footer Editor
- Removing Headers/Footers
- Excel Header & Footer Tips
Adding Headers in Excel
Follow these steps:
- Navigate to the Insert tab, locate the Text group, and click the Header & Footer button. This activates Page Layout view.
- Type text, insert images, or use preset options in the three header boxes at the top. The central box is selected by default.
Use the left and right boxes for corner placement.
- Click outside the header area to save changes or press Esc to cancel. The header will repeat on each printed page.
Adding Footers in Excel
Adding a footer is similar:
- On the Insert tab, click the Header & Footer button.
- On the Design tab, select Go to Footer or scroll to the footer boxes at the page bottom.
- Click a footer box (left, center, or right) and add text or elements. Preset footers are also available.
- Click outside the footer area to finish.
For example, to add page numbers, select a footer box and click Page Number on the Design tab.
Using Preset Headers and Footers
Excel offers built-in options:
- Go to Insert > Text > Header & Footer. The Design tab appears.
- On the Design tab, click Header or Footer and choose a preset.
For instance, to add a footer with page numbers and the file name: The result:
Important Notes on Presets:
-
Dynamic Content: Presets use codes (e.g.,
&[Page]
,&[File]
) that update dynamically. See the codes by clicking the header/footer box. - Fixed Placement: Presets insert elements into predefined boxes; you can't directly control their position.
Creating Custom Headers and Footers
Create your own headers and footers with text and images:
- Click Header & Footer on the Insert tab.
- Click a header or footer box and type your text. Use Design tab elements for additional content.
Example: A custom header with a logo, page numbers, file name, and date.
- Add File Name to the center box.
- Add Page Number to the right box (add "Page " manually for clarity).
- Add Number of Pages to the right box (add "of" manually).
- Insert a logo using the Picture button.
The result:
Tips:
- Use Enter for new lines.
- Use
&&
for a single ampersand. - Use
&[Page]
for page numbers (with text).
Using the Page Setup Dialog Box
For chart sheets or multiple worksheets:
- Select the sheets.
- Go to Page Layout > Page Setup > Dialog Box Launcher.
- Choose presets or create custom headers/footers.
Editing Headers and Footers
Edit in Page Layout view or the Page Setup dialog. Chart sheet headers/footers are editable only via the dialog.
Closing and Removing Headers/Footers
Close the header/footer editor by switching to Normal view (View tab or status bar). Remove by deleting the content in Page Layout view or selecting "(none)" in the Page Setup dialog.
Additional Tips:
- Apply to multiple sheets by selecting them first.
- Format text using the Home tab or the pop-up formatting window.
- Create different headers/footers for the first page or odd/even pages.
- Prevent header/footer resizing when scaling by unchecking Scale with Document.
This comprehensive guide provides a complete understanding of Excel headers and footers.
The above is the detailed content of Excel header and footer: how to add, change and remove. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)