How to hide header and footer in Excel

The header and footer are the document’s top and bottom portions, respectively. Similarly, Excel also has options for headers and footers. They are available in the “Insert” tab in the “Text” section. Using these features can provide us with two different spaces in the worksheet, one on the top and one on the bottom.

A header in excel: A worksheet section appears at the top of each Excel sheet or document page. It remains constant across all the pages. For example, it can contain page no., date, title, chapter name, etc.

Footer in Excel: A worksheet section appears at the bottom of each page in the Excel sheet or document. It remains constant across all the pages. It can contain page no., date, title, chapter name, etc.

The purpose of Header and Footer in Excel

The purpose is similar to that of hard copy documents or books. The headers and footers in Excel help meet the standard representation format of the documents and/or worksheets. In addition, they add a sense of organization to the soft documents and/or worksheets.

As we can see in the screenshot above, there are four sections under header and footer tools: “Header & Footer,” “Header & Footer Elements,” “Navigation,” and “Options.” This toolbox appears after clicking “Insert”-> “Header & Footer.”

Following are the steps for creating a header in Excel:

  1. First, click the worksheet where we want to add or change the header. Then, go to the “Insert tab” -“Text” group – “Header & Footer.”


  2. Clicking on it would open a new window, as shown below.


  3. As shown in the screenshot below, “Header & Footer Tools” has a “Design” tab containing various text options to put as the header. The default is an empty text box wherein we can enter a free text, e.g., “This is the header text.” The other options are “Page Number,” “Number of Pages,” “Current Date,” “Current Time,” “File Path,” “File Name,” “Sheet Name,” “Picture,” etc.


  1. We must first click the worksheet where we want to add or change the header. Then, go to the “Insert” tab -> “Text” group -> “Header & Footer.”
  • Clicking on it would open a new window, as shown. As shown in the screenshot below, “Header & Footer Tools” has a “Design” tab containing various text options to put as the header. The default is an empty text box wherein you can enter a free text, e.g., “This is the Footer text.” The other options are “Page Number,” “Number of Pages,” “Current Date,” “Current Time,” “File Path,” “File Name,” “Sheet Name,” “Picture,” etc.
  1. We must first launch the “Page Setup” dialog box from the “Page Setup” box under the “Page Layout” menu.
  • Then, go to the “Header/Footer” section.
  • Select ‘none’ for “Header” and/or “Footer” to remove the respective feature.

How to Put Custom Text in Excel Header?

In the following example, “This is the Header Text” is the custom text entered in the “Header” box. The same will reflect on all the pages in the worksheet.

The “Header Text Editor” can be closed by pressing the “Escape” key on the keyboard.

How to Assign Page Number in Excel Footer Text?

The figure shows that a page number can be entered as the footer text. Refer to the screenshot below to understand the same.

In the following example, “Page [&page] Of [&page]” is the text entered in the “Footer” box. Here, the “&[Page]Of” is a dynamic parameter that evaluates the page number. The first parameter is the current page number, and the second is the total number of pages. The same will reflect on all the pages in the worksheet.

To give page numbers to a sheet, we must click on a sheet, go to “Footer,” click on the “Design” tab under “Header & Footer Tools,” and select “Page Number.”

After “Selecting Page Numbers,” it will display as “&[Page]Of,” as shown in the below screenshot.

To show page numbers with total numbers of pages, we must click on the number of pages under the “Design” tab in the “Header & Footer” tool.

After selecting the number of pages, it will add “&[Page] Of &[Pages].

Then it shows the page number with the number of pages.

The “Footer Text Editor” can be closed by pressing the “Escape” key on the keyboard.

Note: In addition to the above-explained examples, the other options for header/footer text made available by MS Excel are “Date,” “Time,” “File Name,” “Sheet Name,” etc.

Things to Remember

  1. The headers and footers in Excel help meet the standard representation format of the documents or worksheets.
  2. They add a sense of organization to the soft documents.
  3. Excel offers various options to be put up as header/footer text, such as “Date,” “Time,” “Sheet Name,” “File Name,” “Page Number,” “Custom Text,” etc.

Recommended Articles

This article is a guide to Header and Footer in Excel. Here, we discuss creating and removing the header and footer in Excel,, practical examples,, and a downloadable Excel template. You may learn more about Excel from the following articles: –

Postingan terbaru

LIHAT SEMUA