You can’t insert, view or print page numbers in Excel Online. However, if you have the Excel desktop application, you can add page numbers either at the top (headers) or at the bottom (footers) of the worksheet and print it.
Use the Open in Excel button to open the workbook and, add page numbers in the Page Layout view, and then print the worksheet from Excel. Here’s how:
Click Open in Excel and, Insert page numbers on worksheets.
Print the worksheet from the Excel desktop application.
Note: You won’t see the page numbers on the worksheet but they’ll display when you go to the Print Preview.
For news about the latest Excel Online updates, visit the Microsoft Excel blog.