In Excel: go to Insert ▸ Header & Footer, click the footer box you want, then press the Page Number button on the Header & Footer tab.
Insert ▸ Text ▸ Header & Footer, or View ▸ Page Layout and click the footer area.
Click the left, centre or right box where the number should print.
Press Page Number on the Header & Footer tab; add " of " and Number of Pages for the X-of-Y form.
To change the starting number, open the Page Setup dialog ▸ Page tab ▸ First page number.
To control the order pages are counted across a wide sheet, use Page Setup ▸ Sheet tab ▸ Page order.
Check the result in File ▸ Print rather than in Normal view.
What this does
Page numbers live in the header or footer, not in a cell, and Excel inserts them as the field code &[Page] so they renumber automatically as the printout grows. The neighbouring Number of Pages button adds &[Pages] for a "Page 3 of 12" pattern. Where numbering starts and in what order pages are counted are set separately in Page Setup: First page number on the Page tab, and Down, then over / Over, then down on the Sheet tab. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. Treat “excel print page number” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected page shows up while it is still harmless. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That turns a workspace setting that makes a big sheet comfortable to navigate into a method you can reuse, explain, and defend when the workbook leaves your screen.
A worked example
To print "Page 3 of 12" centred at the bottom: Insert ▸ Header & Footer ▸ click the centre footer box ▸ type "Page " ▸ press Page Number ▸ type " of " ▸ press Number of Pages. The box shows Page &[Page] of &[Pages]. To make the first printed page count as 4 instead of 1, open Page Layout ▸ the Page Setup dialog launcher ▸ Page tab ▸ First page number: 4. A stapled report without page numbers cannot be referenced in a meeting, and a PDF without them cannot be quoted in an email — it is thirty seconds that makes a printout citable. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.
In Google Sheets
Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. Keep this page bookmarked for the next time the same question comes up. Better still, rebuild the example once in your own sheet — doing it yourself, with the tool above to check against, is what turns a copied formula into a technique you own. Here is the takeaway for “excel print page number”: copy the answer if you are busy, but if you have a spare few minutes, rebuild the example in Excel yourself with the tool above open beside it. That single pass — type it, run it, watch the result move when you change an input — is what turns a formula you found into a technique you trust. Keep your inputs labelled and referenced, never hard-coded, and the same sheet stays correct and auditable as it grows. Done that way, you will not need to look this up again, and you will be the person others ask.
Common mistakes
- Typing the numbers by hand, which stops matching the moment a row is added.
- Numbering each sheet separately and expecting a continuous sequence across a multi-sheet print — select all the sheets before printing so Excel counts them as one job.
- Looking for the numbers in Normal view, where headers and footers are never shown.
- Leaving Page order on the default when a wide sheet spills sideways, so page 2 is the sheet's right-hand half rather than its continuation downwards.
Frequently asked questions
How do I insert page numbers in Excel?
Insert ▸ Header & Footer, click a footer box, then press the Page Number button. Excel inserts &[Page], which renumbers itself.
How do I show "Page 1 of 10"?
In the footer box type "Page ", press Page Number, type " of ", then press Number of Pages. The stored code is Page &[Page] of &[Pages].
How do I start numbering at a number other than 1?
Open the Page Setup dialog from the Page Layout tab, go to the Page tab, and set First page number to the value you want.
How do I remove page numbers?
Insert ▸ Header & Footer, click into the box holding the code and delete it, or choose Header & Footer ▸ Footer ▸ (none).
Other ways people ask this
On the way here you may have searched this as “how to print page numbers in excel” and “excel print page numbers” — it is all the same task, and this page is the single, complete answer to it.
Why do people search for this in so many different ways?
Because the same task has many names. “how to print page numbers in excel”, “excel print page numbers” all point at the one operation explained on this page, which is why they all lead here.