What are the Header and Footer in Excel?
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.
Header & Footer Tools in Excel
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.”
- Header & Footer – This shows a list of the quick options as a header or footer.Header & Footer Elements – This has options for the text to be used as a header or footer, such as “Page Number,” “File Name,” “Number of Pages,” etc.Navigation – It has two options: “Go to Header” and “Go to Footer,” which navigates the cursor to the respective area.Options – It has two options related to putting up the header and footer conditionally: Different on the first page and Different on Odd & Even page. The other two options are regarding the formatting of the excelFormatting Of The ExcelFormatting is a useful feature in Excel that allows you to change the appearance of the data in a worksheet. Formatting can be done in a variety of ways. For example, we can use the styles and format tab on the home tab to change the font of a cell or a table.read more page. One is to scale the header/footer with the document. The other is to align the header/footer with page margins.
How to Create a Header in Excel?
How to Create a Footer in Excel?
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.
How to Remove Header and Footer in Excel?
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.
- 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 below. 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.
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
- The headers and footers in Excel help meet the standard representation format of the documents or worksheets.They add a sense of organization to the soft documents.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: –
- VBA Text BoxFormula to Add Text in ExcelCircular Reference in ExcelInsert Row Excel ShortcutPI in Excel