Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default what formula do I use to pull rows containing a number?

I have an order form that in the last column my sales guys put a 1 if they
wish to order something. I would like to have a formula set up that will
basically do the same as Data, Filter, Auto Filter, Custom Dropdown, Greater
then or equal to 1... Help me
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default what formula do I use to pull rows containing a number?

One easy formulas play to get it going over there ..

Assume source data in Sheet1's col A to D,
with col D = key col (where the quantities will be entered)
Assume data is from row 4 down

In Sheet2 (your "Pullout" order summary),
In A2: =IF(Sheet1!D40,ROW(),"")
Leave A1 blank

In B2:
=IF(ROWS($1:1)COUNT($A:$A),"",INDEX(Sheet1!A:A,SM ALL($A:$A,ROWS($1:1))+2))
Copy B2 to D2. Select A2:D2, fill down to cover the max expected extent of
data, say down to D200?. Hide/minimize col A. Cols B to D will return the
exact results that you seek, all neatly bunched at the top.

P/s: The "+2" in B2's formula is just an arithmetic adjustment as data in
Sheet1 starts in row 4 down, while the criteria col A in Sheet2 starts in row
2 down. Adapt to suit.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Alexis" wrote:
I have an order form that in the last column my sales guys put a 1 if they
wish to order something. I would like to have a formula set up that will
basically do the same as Data, Filter, Auto Filter, Custom Dropdown, Greater
then or equal to 1... Help me

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
Pull user-specified rows from data set DoooWhat Excel Discussion (Misc queries) 7 February 27th 07 03:36 PM
formula to use when number of rows changes dynamically confused Excel Worksheet Functions 3 August 17th 05 03:55 PM
Links pull wrong line when rows are added nifferearly Excel Discussion (Misc queries) 1 June 3rd 05 10:41 PM
How do I automatically pull a new invoice number into an excel te. Hube Excel Discussion (Misc queries) 3 December 28th 04 11:27 PM
how to format pull down rows pjh Excel Worksheet Functions 1 November 8th 04 07:01 PM


All times are GMT +1. The time now is 09:09 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"