Headers and Footers

 

This example teaches you how to add information to the header (top of each printed page) or footer (bottom of each printed page) in Excel.

1. On the View tab, in the Workbook Views group, click Page Layout, to switch to Page Layout view.

Switch to Page Layout View

2. Click Add header.

Click Add header

The Header & Footer Tools contextual tab activates.

3. On the Design tab, in the Header & Footer Elements group, click Current Date to add the current date (or add the current time, file name, sheet name, etc).

Add Current Date

Result:

Code in Header

Note: Excel uses codes in order to automatically update the header or footer as you change the workbook.

4. You can also add information to the left and right part of the header. For example, click the left part to add the name of your company.

5. Click somewhere else on the sheet to see the header.

Header in Excel

6. On the Design tab, in the Options group, you can add a different first page header/footer and a different header/footer for odd and even pages.

Different First Page and Different Odd & Even Pages

7. On the View tab, in the Workbook Views group, click Normal, to switch back to Normal view.

Previous articleHow to use GETPIVOTDATA in Excel
Next articleHow to Lock Cells in Excel