Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Office 365. 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 Just the Visible Data.

Printing Just the Visible Data

by Allen Wyatt
(last updated February 18, 2020)


It is easy to amass quite a bit of information in an Excel workbook. Fortunately, that information can be easily printed out. What if you only want to print just what you see on the screen, however, instead of an entire worksheet? To make matters worse, what if you are using frozen panes to hold the position of your page headers?

Normally, you could simply choose what you want printed and then just print that selection. Alternately, you could choose what you want printed, define it as the print area, and then choose to print. This simple of an approach won't work in this instance, however, because of using frozen panes. This feature allows you to "freeze" rows at the top of the screen, columns at the left of the screen, and only scroll the cells in the unfrozen part. Thus, you can't select everything you want to print because what you want to print consists of three distinct areas of the worksheet.

The solution is to set Excel's repeating rows and columns, and then choose what you want to print. The following steps work just fine:

  1. Display the Page Layout tab of the ribbon.
  2. Click the small icon at the lower-right corner of the Page Setup group. Excel displays the Page Setup dialog box.
  3. Make sure the Sheet tab is selected. (See Figure 1.)
  4. Figure 1. The Sheet tab of the Page Setup dialog box.

  5. Place the insertion point in the Rows to Repeat at Top box.
  6. In the worksheet, select the rows you want to appear at the top of each page. The row names should appear in the dialog box.
  7. Place the insertion point in the Columns to Repeat at Left box.
  8. In the worksheet, select the columns you want to appear at the left of each page. The column names should appear in the dialog box.
  9. Click on OK to close the Page Setup dialog box.
  10. Select the range you want to print, but don't include any cells in the rows or columns you specified in steps 5 and 7.

What you do at this point depends on whether you are using Excel 2007 or a later version. If you are using Excel 2007, follow these steps:

  1. Press Ctrl+P. Excel displays the Print dialog box. (See Figure 2.)
  2. Figure 2. The Print dialog box.

  3. Choose the Selection radio button. (You are indicating that you want to print only what you have selected.)
  4. Click on OK.

If you are using Excel 2010 or a later version, follow these steps instead:

  1. Press Ctrl+P. Excel displays the Print controls on the File tab of the ribbon.
  2. Click the first button under the Settings heading and choose Print Selection. (You are indicating that you want to print only what you have selected.)
  3. Click on Print.

The printout contains only the cells you specified, along with the frozen rows and columns. If you selected just the visible cells in step 9, then you effectively printed just the visible data.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (10816) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Office 365. You can find a version of this tip for the older menu interface of Excel here: Printing Just the Visible Data.

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. ...


Understanding Hyphens and Dashes

Word provides you with three types of hyphens and two types of dashes that you can use in your documents. Understanding ...

Discover More

Determining How Many Windows are Open

Does your macro need to know how many windows Excel has open? You can determine it by using the Count property of the ...

Discover More

Using Duplex Printing

Need to print on both sides of a piece of paper? If your printer can handle it, you can duplex your output from within ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!

More ExcelTips (ribbon)

Setting Print Titles

Excel allows you to specify certain rows or columns that will be repeated on the pages of a printout. Here's how to set ...

Discover More

Printing a Chart

It is inevitable that if you spend time creating a chart you will want to print that chart on your printer. Here's how ...

Discover More

Scaling Your Printing

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

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

View most recent newsletter.


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}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. 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 9 + 5?

2016-09-29 03:38:54


I have data entered in cells A1-A7 ACROSS 4 COLUMNS. in winns 7 excell printed the entire sheet with grid lines. In wins 10 I can only print the data that shows on the sheet. The printed worksheet shows as a box in the top left corner of my printed page. I I would like to have all the grid lines on the entire page showing.

2016-06-24 15:10:29


On my spreadsheet, a comment in cell f22 is hidden until hovered over. When I print an area as a selection that includes cell f22 the hidden comment prints as page 2. How do I stop that other than selecting the pages to print?

2016-06-24 09:36:12


A problem I am experiencing is that sometimes the Print of a specific worksheet includes additional blank rows that I don't believe we should be seeing (easy to tell because the Page Setup -> Sheet --> Print Gridlines is checked) and the last few printed rows are blank yet have the gridlines around them.

The sheet involves manual entering of 100+ rows of data by a nontechnical user, columns D thru G. There are some locked formulas in the first 3 columns, that extract parts of a large concatenated key value in column D (such as extracting out a ddMMMyy string and converting it into an Excel Date, for later sorting). One example: =IFERROR(DATEVALUE(LEFT(D2,7)),"")

I don't think these 3 formulas are causing the extra blank rows to print. I think it is because during the course of data entry, we sometimes go back and delete the contents of cells D-G on a row at the bottom (not Deleting the entire row), OR we delete the contents of cells D-G on a row not at the bottom, and then sort. I believe that because Excel thinks we "touched" that row, that it should still be included in the internally managed "Print Range".

Because this is a nontechnical user, it sure would be nice to not require them to do anything (like we don't allow Deletion of complete Rows) in order to get a perfectly clean printout.

Any suggestions?

2015-10-08 19:26:18


I have a workbook with orders on a "input"sheet they transfer over to a "signs" sheet.... I filter the order by items that have "x"s beside them. I have put page breaks after each item because I want them to print each item on its own page.. how do I not print all the blank pages, but rather only the ones with items selected.

This Site

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.

Newest Tips

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.