Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
AJB AJB is offline
external usenet poster
 
Posts: 40
Default show a filter of a range

I have a pricing grid which has labels in column A, quantities in column B,
rates in column C, and total price in column D. There are about 60 rows.

Typically, the finished result only uses ~20 of the items. What is the best
way to show a summary in column G that list only the labels which have been
assigned quantities?

thanks in advance,

Andy


  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default show a filter of a range

Assume source data as described in row2 down
with key col B = quantities

In F2: =IF(AND(ISNUMBER(B2),B20),ROW(),"")
Leave F1 empty

In G2:
=IF(ROWS($1:1)COUNT(F:F),"",INDEX(A:A,SMALL(F:F,R OWS($1:1))))
Copy F2:G2 down to cover the max expected extent of source data, say down to
G200? Minimize col F. Col G will dynamically return the required results, ie
the labels from col A with assigned quantities (where qty 0), with all
labels neatly packed at the top.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:23,000 Files:370 Subscribers:66
xdemechanik
---
"AJB" wrote:
I have a pricing grid which has labels in column A, quantities in column B,
rates in column C, and total price in column D. There are about 60 rows.

Typically, the finished result only uses ~20 of the items. What is the best
way to show a summary in column G that list only the labels which have been
assigned quantities?


  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default show a filter of a range

In F2: =IF(AND(ISNUMBER(B2),B20),ROW(),"")
Leave F1 empty

In G2:
=IF(ROWS($1:1)COUNT(F:F),"",INDEX(A:A,SMALL(F:F,R OWS($1:1))))
Copy F2:G2 down to cover the max expected extent of source data. Minimize
col F. Col G will dynamically return what you seek, ie only the labels in col
A with assigned quantities in col B (0), all neatly packed at the top.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:23,000 Files:370 Subscribers:66
xdemechanik
---
"AJB" wrote:
I have a pricing grid which has labels in column A, quantities in column B,
rates in column C, and total price in column D. There are about 60 rows.

Typically, the finished result only uses ~20 of the items. What is the best
way to show a summary in column G that list only the labels which have been
assigned quantities?


  #4   Report Post  
Posted to microsoft.public.excel.misc
AJB AJB is offline
external usenet poster
 
Posts: 40
Default show a filter of a range

Thanks Max! That works like a charm (and I wouldn't be able to come up with
that myslef!)

"Max" wrote:

In F2: =IF(AND(ISNUMBER(B2),B20),ROW(),"")
Leave F1 empty

In G2:
=IF(ROWS($1:1)COUNT(F:F),"",INDEX(A:A,SMALL(F:F,R OWS($1:1))))
Copy F2:G2 down to cover the max expected extent of source data. Minimize
col F. Col G will dynamically return what you seek, ie only the labels in col
A with assigned quantities in col B (0), all neatly packed at the top.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:23,000 Files:370 Subscribers:66
xdemechanik
---
"AJB" wrote:
I have a pricing grid which has labels in column A, quantities in column B,
rates in column C, and total price in column D. There are about 60 rows.

Typically, the finished result only uses ~20 of the items. What is the best
way to show a summary in column G that list only the labels which have been
assigned quantities?


  #5   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default show a filter of a range

Great to hear. Thanks for the high five.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:23,000 Files:370 Subscribers:66
xdemechanik
---
"AJB" wrote in message
...
Thanks Max! That works like a charm (and I wouldn't be able to come up
with
that myself!)





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
show a filter of a range AJB Excel Discussion (Misc queries) 1 February 7th 09 10:39 AM
Show Data In Range not appearing in Separate Range Brent E Excel Discussion (Misc queries) 3 April 30th 07 09:32 PM
When in filter mode status bar doesn't show range of cells filted Marie McNamee Excel Worksheet Functions 1 November 20th 06 03:18 PM
FILTER: show/don't show selection with tickboxes ancharwashere Excel Discussion (Misc queries) 2 October 11th 05 09:20 PM
"Criteria Range" in the "Data/Filter/Advanced Filter" to select Du TC Excel Worksheet Functions 1 May 12th 05 02:06 AM


All times are GMT +1. The time now is 02:15 PM.

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"