Restricting the printed area of a Microsoft Excel worksheet so only specific columns appear on the page enables you to limit your output to the data you need for an individual report, presentation or response to a client's proposal request. Your worksheet may contain numerous data categories that relate directly to your overall calculations, but you may want to showcase the product of an intricate set of formula-driven evaluations, without revealing your cost basis or your markup for a product or service. Use Excel's printing options to focus your targeted output. Show Print Area
Print Selection
When printing out an Excel worksheet, we usually just need to see the data. We don’t really care much for the location of the data, neither do we want to know which row the data belongs to. That’s why Excel generally omits the row numbers and column letters when we print a worksheet. There may be times, however, when we want to print the row numbers, as a sort of reference to quickly guide the reader to an important bit of data. In this tutorial we will see three ways in which you can print row numbers in Excel:
The first two methods will result in both the row number and column letter appearing in the printout, while the third method lets you display just the row numbers, without having to print the column letters. Throughout this tutorial, we will try to print the following sheet, along with row numbers for each row of cells: For simplicity, we kept the dataset small. Let’s take a look at each of the above methods one by one. Method 1: Print Row Numbers Using the Page Setup Dialog BoxThe Page Setup dialog box lets you adjust all your print and layout settings from a single place. So this is a great place from where you can set your printouts to contain row numbers and column letters. Unfortunately, you will need to print both row numbers and column headers using this method. It doesn’t give you the option to print either one. Here’s how you can print both row numbers and column headers using the Page Setup dialog box:
Note: There are other ways to get to the Page Setup dialog box. For example, you can open it using the Dialog Box Launcher (a small tilted arrow) for the Page Setup group. This comes under the Page Layout tab of your Excel window. Method 2: Print Row Numbers Using the Page Layout TabYou can also get Excel to print row numbers directly from the Page Layout tab itself. The Page Layout tab contains all options that let you arrange your printouts just the way you want. Using this tab, you can set margins, apply themes, control page orientation, and set gridlines and headings. Here’s how you can print row numbers and column headers using Excel’s Page Layout tab:
Note: This method lets you include both row numbers and column headers in your printout. Just like method 1, you cannot set it to print just the row numbers. The column header also gets printed along with it by default. Method 3: Print Row Numbers Using the ROW() FunctionThe first two methods are great if you are alright with getting columns headers along with row numbers in the printout. If you want just the row numbers, not the column headers, then there’s, unfortunately, no menu option for this in Excel. However, there is a way around this, and that is by using the ROW() function. The ROW function is a built-in function in Excel that returns the row number for a particular cell. When you enter just the ROW function without any parameters in the parentheses, then it returns the row number for the cell that it is entered into. If instead, you include a cell reference into the parentheses, then it returns the row number for that particular cell reference. This means ROW(A1) returns 1 because it belongs to the first row. Similarly, ROW(A6) returns 6 because it belongs to the 6th row. Similarly, if you put just =ROW() in cell A1, it will also return 1 and if you put it in row A6, it will return 6. Now let us see how you can use the ROW() function to print row numbers in your sheet:
In this tutorial, we showed you three ways to print row numbers along with your data in Excel. The first two methods are good if you want to print both row and column headers. However, if you want to avoid printing the column headers, then you can go for Method 3. We hope this was helpful to you. Other Excel tutorials you may like: |