Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, and 2013. 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 Rows Conditionally.
by Allen Wyatt
(last updated February 15, 2014)
Rune has three columns, A through C, that contain data. Column C contains either blank (nothing) or the letter X. Rune wonders if there is an easy way for him to print only those rows that have an X in column C.
There is a very easy way to do this. Assuming that you have a header row in row 1, follow these steps:
That's it; the filtered worksheet is printed and only those rows with an X in column C are on the printout. You can, if desired, remove the AutoFilter after printing. When your data changes and you need to print again, just follow the same steps once more.
Another way to do the printing (if you don't want to use a filter for some reason) is to simply sort your data according to the contents of column C. If you sort in descending order, then all the rows containing an X in column C will be at the top of your worksheet. Select those cells and define them as your print area. When you then print, only those rows with an X in column C are printed.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8933) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel here: Printing Rows Conditionally.
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!
Getting a chart looking its best on a black-and-white printer can be a challenge. This tip examines different ways you can ...Discover More
If you don't need to print an entire workbook, it can be confusing to figure out how to print just certain pages. This tip ...Discover More
Have you ever wanted to do a simple printout, only to find that Excel spit out dozens of pages, and most of them were blank? ...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.