How to Put Google Sheets Page Numbers at the Top of the Page

Google Sheets adds page numbers when you print or export a sheet to PDF, and by default they sit at the bottom of the page. You can move them to the top by editing the custom header and footer fields in the print settings. The option lives in the print dialog because page numbers only exist on printed or PDF pages.

Quick Answer

Choose File, Print, open Headers and footers, check Page numbers, click Edit custom fields, then move the page number into a header box at the top of the page and click Confirm.

How to Put Page Numbers at the Top in Google Sheets

  1. Open the spreadsheet and choose File, then Print (or press Ctrl+P).
  2. In the right panel, expand Headers and footers and check Page numbers.
  3. Click Edit custom fields. The preview shows editable header and footer boxes.
  4. Delete the page number from the footer box, click a header box (left, center, or right), and choose Page number from the insert menu that appears.
  5. Click Confirm, then Next to print or save as PDF.
Print settings panel with Page numbers checked and Edit custom fields highlighted
Check Page numbers, then use Edit custom fields to move them to the header.

Header and Footer Fields

Field Shows
Page number The current page
Page number of total For example, 2 of 5
Workbook title The spreadsheet name
Sheet name The tab name
Current date and time When you printed it

Troubleshooting

Frequently Asked Questions

Can I see page numbers while editing the sheet?

No. Page numbers only appear in the print preview, printed pages, and exported PDFs.

Can I start numbering at a different page?

Google Sheets does not offer a starting number option. Combine the PDF with other pages in a PDF editor if you need that.

Do custom headers stay saved?

Sheets usually remembers your last print settings for that file, but check the preview before printing.

Summary

  1. Open File, Print.
  2. Check Page numbers under Headers and footers.
  3. Use Edit custom fields to move them to the header.
  4. Confirm and print or export.