Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Obtaining Multiple Results Using Index/Match Functions

My source table is actually in a separate worksheet and I am using a named
cell to populate the Match criteria, so a sort of form. AutoFilter would
still be a bit complicated due to the number of unique "categories" assorted
with Column A - Colors.
--
Archie


"Teethless mama" wrote:

How about Auto Filter


"Archie999" wrote:

I have a small table similar to the following:
Color Object
A B
1 Green Apple
2 Yellow Banana
3 Red Stop Sign
4 Green Grass

=INDEX(A1:B4,MATCH("Green",A1:A4,0),2) -- (Apple)
INDEX/MATCH formula works perfectly to obtain the first matching record, but
how can I create a list (each matching item in its own cell in a column) of
all matching records, ie all objects that are Green. Is there some sort of
Exclude function that will allow me to use the same formula without producing
the same result as the cell above it? A Pivot Table is overkill for what I
am trying to do.
--
Archie

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Obtaining Multiple Results Using Index/Match Functions

I'm not sure what you are after. Here is my guest

Assuming your data in A1:B4 in Sheet 1
A1:A4 (define name "Color")
B1:B3 (define name "Type") of course no quote

In Sheet2
A1: hold Green

B1:
=IF(ISERR(SMALL(IF(Color=Sheet2!$A$1,ROW(INDIRECT( "1:"&ROWS(Color)))),ROWS($1:1))),"",INDEX(Type,SMA LL(IF(Color=Sheet2!$A$1,ROW(INDIRECT("1:"&ROWS(Col or)))),ROWS($1:1))))

ctrl+shift+enter, not just enter
Drag Fill Handle to copy down from B1 as far as required



"Archie999" wrote:

My source table is actually in a separate worksheet and I am using a named
cell to populate the Match criteria, so a sort of form. AutoFilter would
still be a bit complicated due to the number of unique "categories" assorted
with Column A - Colors.
--
Archie


"Teethless mama" wrote:

How about Auto Filter


"Archie999" wrote:

I have a small table similar to the following:
Color Object
A B
1 Green Apple
2 Yellow Banana
3 Red Stop Sign
4 Green Grass

=INDEX(A1:B4,MATCH("Green",A1:A4,0),2) -- (Apple)
INDEX/MATCH formula works perfectly to obtain the first matching record, but
how can I create a list (each matching item in its own cell in a column) of
all matching records, ie all objects that are Green. Is there some sort of
Exclude function that will allow me to use the same formula without producing
the same result as the cell above it? A Pivot Table is overkill for what I
am trying to do.
--
Archie

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
Index and Match results Mick Excel Worksheet Functions 4 December 21st 06 11:51 PM
Index and Match Functions Damien Excel Worksheet Functions 4 July 29th 06 10:12 PM
Nesting Index and Match Functions Malone Excel Worksheet Functions 7 November 16th 05 10:50 PM
Help Please - Match & Index Functions (I hope)! baz Excel Discussion (Misc queries) 0 September 2nd 05 02:42 PM
How do I use the Match and Index functions to look up a value tha. Maclanders Excel Worksheet Functions 7 February 10th 05 08:31 PM


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