Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 158
Default extract items from filtered list

I need to set up a report that dynamically displays on another sheet items
from one column of a filtered range. After the advanced filter is executed,
I may have 12 records left showing out of the 400. On sheet2 I need to
display the visible data from one of the columns, let's say in cells A1:A12.
So this would be one of those "copy down" functions that displays the first
item in A1, the second in A2, etc. I've been tinkering with all the INDEX,
OFFSET, SUBTOTAL combinations, but am not quite getting it.

TIA
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default extract items from filtered list

Try this array formula**.

Assume:

The full range that you want to extract the data from is A2:A20 and this
range is given the defined name Rng.

Array entered** on some other sheet starting in cell A1:

=IF(ROWS(A$1:A1)<=SUBTOTAL(3,Rng),INDEX(Rng,MATCH( ROWS(A$1:A1),SUBTOTAL(3,OFFSET(Rng,,,ROW(Rng)-MIN(ROW(Rng))+1)),0)),"")

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

Copy down until you get blanks

--
Biff
Microsoft Excel MVP


"andy62" wrote in message
...
I need to set up a report that dynamically displays on another sheet items
from one column of a filtered range. After the advanced filter is
executed,
I may have 12 records left showing out of the 400. On sheet2 I need to
display the visible data from one of the columns, let's say in cells
A1:A12.
So this would be one of those "copy down" functions that displays the
first
item in A1, the second in A2, etc. I've been tinkering with all the
INDEX,
OFFSET, SUBTOTAL combinations, but am not quite getting it.

TIA



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
How can I count items in a filtered list? Counting filtered data. Excel Worksheet Functions 44 April 4th 23 10:22 AM
How do I extract the first entry in a filtered list? Djoy Excel Worksheet Functions 4 October 14th 08 05:27 PM
Extract uniques from filtered range andy62 Excel Worksheet Functions 3 December 10th 07 01:00 AM
items filtered roxanne Excel Discussion (Misc queries) 2 October 15th 07 03:52 PM
Extract only items not on previous list Leslie Coover Excel Worksheet Functions 15 August 10th 05 12:31 PM


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