Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
help
 
Posts: n/a
Default How do write a formula so that only rows with info prints?

I need to write a formula that would only print rows that have info in a
quantity column
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Miguel Zapico
 
Posts: n/a
Default How do write a formula so that only rows with info prints?

You can use the autofilter (Data-Filter-Autofilter), and select "(Non
blanks)" in the quantity column. That will hide all the rows that don't have
data there.

Hope this helps,
Miguel.

"help" wrote:

I need to write a formula that would only print rows that have info in a
quantity column

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK
 
Posts: n/a
Default How do write a formula so that only rows with info prints?

In a spare column to the right of the main data (i.e. out of the print
range) add a simple formula to copy the quantity column, eg =G2 if
column G is the quantity column, and copy this down as necessary. Where
you have blanks in column G, these will show as 0 in this helper
column.

Highlight the column and click Data | Filter | Autofilter to turn on
autofilter for this column only. Then, to select only those columns
containing data, you can apply a filter as follows:

Custom | Does Not Equal | 0 (zero)

and only the non-blank rows will be visible.

Hope this helps.

Pete

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
Insert rows based on specific value bob Excel Worksheet Functions 6 February 29th 08 07:11 PM
If formula result is false, how do I auto-delete that rows? jbrenner51 Excel Worksheet Functions 1 November 16th 05 05:24 PM
formula to use when number of rows changes dynamically confused Excel Worksheet Functions 3 August 17th 05 03:55 PM
Insert rows, keep a formula? tb Excel Worksheet Functions 1 April 23rd 05 03:41 PM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM


All times are GMT +1. The time now is 06:24 AM.

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

About Us

"It's about Microsoft Excel"