Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Printing Row Numbers.

Printing Row Numbers

by Allen Wyatt
(last updated October 14, 2015)

4

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.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Triple-Spacing Your Document

Print your document with lots of space between each line—triple space it! Here's some quick and easy steps for getting ...

Discover More

Selecting Drawing Objects

Excel allows you to create all sorts of drawings using a wide assortment of tools. When you need to take an action upon those ...

Discover More

Hiding Gridlines

For those times when you remove the borders from your tables, Word provides a way that you can display non-printing ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

MORE EXCELTIPS (MENU)

Setting Print Ranges for Multiple Worksheets

Need the same print range set for different worksheets in the same workbook? It can't be done in one step manually, but you ...

Discover More

Preventing Printing

Want to prevent your worksheet from being printed? You may be out of luck, as a determined person may be able to find a way ...

Discover More

Protecting Print Settings

Need to have your print settings always be a certain way? Tired of resetting the settings after others use the workbook or ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments for this tip:

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is two more than 9?

2016-11-03 13:40:37

allen@sharonparq.com

Ryan: It is a regular formula. Just copy it down however many rows you need.

-Allen


2016-11-03 13:39:05

Ryan

Thanks. But how do you fill each cell with that formula? I'm looking at 289 rows, I don't want to manually fill that many rows.
Thanks


2015-01-09 16:07:07

Kathleen

How do I get the line numbers to print in excel?


2013-10-10 10:34:45

Carolyn Quinn

This was WONDERFUL to find. Silly Microsoft 2010 has eliminated so many easy features.
Thanks very, very much!


This Site

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.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.

Links and Sharing