How to Print Page Number in Excel – 5 Methods

This is the sample dataset.

dataset

Method 1 – Print Page Number in the Insert Tab

  •  Go to Insert > Text and select Header & Footer.

insert tab

The Header & Footer tab will be added and the Excel sheet will be shown in  Page Layout view. One of the header sections is automatically selected.

  • Click Page Number in Header & Footer.

header

&[Page] will be added in the header section.

header

  • Click the Excel sheet.

You will see the page number.print page number in excel

  • Scroll down.

The page number is also displayed on the other pages.

print page number in excel

Read More: How to Use Formula for Page Number in Excel


Method 2 – Print Page Number in Excel Built-in Formats

  • Go to Insert > Text and select Header & Footer.

header and footer

The Header & Footer tab will be added and the Excel sheet will be shown in  Page Layout view. One of the header sections is automatically selected.

  • Click Header in Header & Footer.

A drop-down menu will be displayed.

  • Select a format. Here, Page 1 of ?.

print page number in excel

You will see the page number.

print page number in excel

You can also display the page number in the footer section.

print page number in excel

  • Click Footer in Header & Footer.

A drop-down menu will be displayed.

  • Select a format. Here, Page 1.

You will see the page number.

print page number in excel


Method 3 – Using the Page Layout Tab

  • Go to the Page Layout tab.
  • Click the arrow icon as shown below

print page number in excel

  • In the Page Setup window, select Header/Footer.
  • Select a Header format (You can also select the format in Footer if you want to see the page number in the footer section).
  • Click OK.

print page number in excel

The page number will be displayed. You can see the page number by selecting Page Layout in the View tab.

print page number in excel


Method 4 – Insert the Page Number Before Printing

You can insert the page number before printing the Excel sheet.

  • Press CTRL+P to open the Print tab and click Page Setup.

print setup

 

  • Go to Header/Footer, in Page Setup.
  • Select a Header format. (You can also select the format in Footer if you want to see the page number in the footer section).
  • Click OK.

 

page setup

In the print preview, you will see the page number.

print page number in excel


Method 5 – Insert the Page Number using a Code

  • Go to the View tab and select Page Layout.

print page number in excel

 

  • Enter the following code in the header section.
=&[Page]

The page number will be displayed.

print page number in excel

  • Click the Excel sheet.

You will see the page number.

print page number in excel

  • Scroll down.

You will also see the page number on the other pages.

print page number in excel

Read More: How to Insert Page Number Using VBA in Excel


Download Practice Workbook


Related Articles


<< Go Back to Page Number  | Page Setup | Print in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Prantick Bala
Prantick Bala

PRANTICK BALA is a marine engineer who loves exploring Excel and VBA programming. Programming, to him, is a time-saving tool for efficiently managing data, files, and internet tasks. He is proficient in Rhino3D, Maxsurf, C++, MS Office, AutoCAD, Excel, and VBA and goes beyond the basics. Armed with a B.Sc in Naval Architecture & Marine Engineering from BUET, he has transitioned into the role of a content developer. Beyond his work, find him immersed in books, exploring new... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo