LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Filtering without filtering

I’m stumped. Is there a way to extract data from a list without using
the filter feature, and without using macros? I want to do this
strictly by using formulas. For example, in the sheet below, I would
like a formula in cell A16 that looks at the data in cells A2:B12 and
pulls in the first occurrence of a name in the East region, then a
formula in A17 that pulls in the second occurrence of a name in the
East region, and so on. When all is done, cells A16:C18, each with
their own formula, would appear as shown below. NOTE: I’d also prefer
not to juxtapose the “Name” and “Region” columns.

I’ve played around with VLOOKUP, LOOKUP, INDEX, MATCH, INDEX/MATCH
combo, but I can’t seem to get the second and third occurrences.

Using the following formula in cell A16 yields “Sal”, as expected, but
what can I use for A17 and A18?
A16: =INDEX(A3:A12,MATCH(A15,B3:B12,0))

I need to do this because the “Regions” in col. B are calculated
elsewhere and automatically change frequently. I want cells A16:C18 to
update automatically via formulas so the user doesn’t have to bother
with filters. Although a simple VBA macro would be the easy way to do
this (“FOR EACH cell . . .”), unfortunately macros are forbidden in
our sheets.

Thanks for any help you can offer.


A B C
1 <DATA
2 Name Region
3 Ron Central
4 Bill West
5 Sal East
6 Chuck Central
7 Jim
8 Dick West
9 Joe East
10 Allan Central
11 David West
12 Jim East
13
14 <GROUP LISTING
15 East Central West
16 Sal Ron Bill
17 Joe Chuck Dick
18 Jim Allan David
 
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
Filtering Susan Excel Worksheet Functions 6 July 25th 08 01:43 AM
filtering fivermsg Excel Discussion (Misc queries) 1 March 12th 06 05:08 PM
Filtering Pam in California Excel Discussion (Misc queries) 1 February 12th 06 07:52 PM
Filtering SamGB Excel Discussion (Misc queries) 3 February 8th 06 09:42 PM
trouble filtering a list. Why isn't column filtering? Pat Excel Worksheet Functions 1 July 18th 05 03:30 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"