How to Put a Page Number in Excel

There are two ways to “put a page number in excel”: the quick way you copy and the durable way you understand. This page gives you both. The exact Excel answer is above; below, we build the small mental model that makes the fix stick, so the next variation of the same problem solves itself.

Exact answer

In Excel: go to Insert ▸ Header & Footer, click the footer box you want, then press the Page Number button on the Header & Footer tab.

On this page7
Annotated stepsExcel
1

Insert ▸ Text ▸ Header & Footer, or View ▸ Page Layout and click the footer area.

2

Click the left, centre or right box where the number should print.

3

Press Page Number on the Header & Footer tab; add " of " and Number of Pages for the X-of-Y form.

4

To change the starting number, open the Page Setup dialog ▸ Page tab ▸ First page number.

5

To control the order pages are counted across a wide sheet, use Page Setup ▸ Sheet tab ▸ Page order.

6

Check the result in File ▸ Print rather than in Normal view.

Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

Need it as an auditable file?

Ships inside the linked template — formula-driven, unlocked, audit-ready.

View template

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. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. For “put a page number in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected page change, and only then apply the same setup to the full sheet. 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 is what makes a calculation you can defend to a CFO or an auditor useful in real work: repeatable, auditable, and not dependent on memory or luck.

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. If this is something you do often, add the command to the Quick Access Toolbar (right-click it on the ribbon and choose Add to Quick Access Toolbar) or learn its shortcut, so next time it is one click instead of a hunt through the menus.

In Google Sheets

This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. The short version of “put a page number in excel”: the answer is at the top of this page, and the sections above explain why each step matters, so a variation of the problem does not stump you. Try it once on a copy of a real file and the steps stick far better than re-reading them.

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

This is also commonly searched as “how do i put page numbers in excel”, “how to put page number in excel”, “how to put numbers on excel” and “how to put consecutive numbers in excel”. They describe the identical operation, so you are in the right place no matter how you phrased it.

Why do people search for this in so many different ways?

Because the same task has many names. “how do i put page numbers in excel”, “how to put page number in excel”, “how to put numbers on excel” all point at the one operation explained on this page, which is why they all lead here.