Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, and 2016. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Printing Row Numbers.
by Allen Wyatt
(last updated May 6, 2021)
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:
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:
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12160) applies to Microsoft Excel 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Excel here: Printing Row Numbers.
Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!
If you want to cram more of your worksheet onto each page of a printout, one way to do it is by using scaling. Here's how ...Discover More
Want to print one or more workbooks without the need of actually opening the file? It's easy to do when you rely on ...Discover More
In a large worksheet, you may want to display and print just a portion of the available data. Displaying the desired ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.