Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default printing only certain lines in a worksheet

I have a super long worksheet on excel (50 pages) that is a price sheet for
labor and materials. It is fairly simple (6 columns including description,
quantitiy, price and notes). For each job that i use it for, I only use about
75 individual rows out of the total 50 pages. I would like to be able to only
print the rows that i am using for that individual job. In other words, I
only want the rows to print that have a number in the quantity column. How do
I create an if then statement that prints the row if a number is in the
quantity column and apply it to the whole spreadsheet?
Thanks VERY much in advance for your help!
Cassie
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default printing only certain lines in a worksheet

I think it would be easier to apply a filter to the quantity column,
but you might want to do this to the right of your existing data, eg
column H. If your quantity column is B, for example, and your first row
proper is 5, then enter into H5 the formula =B5, and then copy this
down to the bottom of your data.

Then highlight the column by clicking on the "H" at the top of the
column, then Data | Filter | Autofilter (check), and this will apply
the filter only to that column.

Then, when you are ready to print out, select Custom from the pull-down
on the filter and then choose Not Equal To and type 0 (zero) in the
other box. Only the rows with non-zero values in the quantity column
will show. When finished, select "All" from the filter pull-down.

Hope this helps.

Pete

cassandra112 wrote:
I have a super long worksheet on excel (50 pages) that is a price sheet for
labor and materials. It is fairly simple (6 columns including description,
quantitiy, price and notes). For each job that i use it for, I only use about
75 individual rows out of the total 50 pages. I would like to be able to only
print the rows that i am using for that individual job. In other words, I
only want the rows to print that have a number in the quantity column. How do
I create an if then statement that prints the row if a number is in the
quantity column and apply it to the whole spreadsheet?
Thanks VERY much in advance for your help!
Cassie


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing multiple worksheet areas in a single page cradino Excel Worksheet Functions 2 July 16th 06 05:35 PM
How do I get ONLY new info from 1 Worksheet to another automatical Elaine Excel Worksheet Functions 6 July 13th 06 05:45 PM
lines in worksheet opened in Windows but created in Excel for Mac Jaws125 Excel Discussion (Misc queries) 3 June 23rd 06 01:15 AM
lines not printing on second copy of my excel worksheet bjdeweese Excel Discussion (Misc queries) 0 November 8th 05 04:26 PM
Comparing a list to a Calendar worksheet. PatrickL Excel Worksheet Functions 0 August 25th 05 04:21 PM


All times are GMT +1. The time now is 12:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"