Written by Allen Wyatt (last updated March 1, 2022)
This tip applies to Excel 97, 2000, 2002, and 2003
Maria wonders if it is possible to print out a worksheet and show the row numbers (1, 2, 3, etc.) on the printout. She wants just the row numbers, not the column letters.
The short answer is no, it is not possible. Excel allows you to print both row numbers and column letters, but not row numbers alone. You can, however, use a workaround to get row numbers. All you need to do is add a new column A (insert a blank column to the left of the existing column A) and then use this formula in each cell of the column:
=ROW()
The formula returns the row number of the formula's row. You can then format the column to appear any way desired, and then include the column in the printout. If you want to actually include a modified row number (perhaps you don't want to show the row number of the first two rows, which contain column headings), you can either delete the formulas in cells A1:A2 or you could adjust the row number starting in cell A3:
=ROW()-2
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3914) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Printing Row Numbers.
Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!
Need to print an entire workbook? It's as easy as adding a single line of code to your macros.
Discover MoreNeed to print just a portion of a worksheet? It's easy to do if you follow the steps in this tip.
Discover MoreWhen the data on a worksheet occupies more than one printed page, Excel can easily determine where the first page of data ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2019-05-30 11:02:08
Charlene
Thank you Allen, that was very helpful!
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments