Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 386
Default Multiple Indexing

Hi,

I would have a list of data such as;

A 4
B 3
C 2
A 5
C 7
A 1

I would like to use some of index and match type function to look through
the list and output the values that correspond to A for example.

So the output would read A 4 5 1 (horizontally)
B 3
C 2 7

Any ideas on what is the best function to use. Index and match I can only
get to pick up the first entry?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Multiple Indexing

use this array formula

=IF(ISERROR(SMALL(IF($A$2:$A$20="A",ROW($B$2:$B$20 )),COLUMN(A1))),"",INDEX($B$2:$B$20,SMALL(IF($A$2: $A$20="A",ROW($B$2:$B$20)),COLUMN(A1))-ROW($B$2)+1))

and copy across

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"LiAD" wrote in message
...
Hi,

I would have a list of data such as;

A 4
B 3
C 2
A 5
C 7
A 1

I would like to use some of index and match type function to look through
the list and output the values that correspond to A for example.

So the output would read A 4 5 1 (horizontally)
B 3
C 2 7

Any ideas on what is the best function to use. Index and match I can only
get to pick up the first entry?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 386
Default Multiple Indexing

thanks

perfect

"Bob Phillips" wrote:

use this array formula

=IF(ISERROR(SMALL(IF($A$2:$A$20="A",ROW($B$2:$B$20 )),COLUMN(A1))),"",INDEX($B$2:$B$20,SMALL(IF($A$2: $A$20="A",ROW($B$2:$B$20)),COLUMN(A1))-ROW($B$2)+1))

and copy across

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"LiAD" wrote in message
...
Hi,

I would have a list of data such as;

A 4
B 3
C 2
A 5
C 7
A 1

I would like to use some of index and match type function to look through
the list and output the values that correspond to A for example.

So the output would read A 4 5 1 (horizontally)
B 3
C 2 7

Any ideas on what is the best function to use. Index and match I can only
get to pick up the first entry?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,180
Default Multiple Indexing

Excel 2007 Pivot Table
Data list transform.
No array formulas.
http://www.mediafire.com/file/vwwmitjyn5o/03_18_09.xlsx
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
Indexing Anto111 Excel Discussion (Misc queries) 1 July 26th 08 08:01 PM
Multiple headings for indexing jlclyde Excel Discussion (Misc queries) 4 April 22nd 08 04:52 PM
Tab indexing ibgolfn Excel Discussion (Misc queries) 2 January 16th 08 12:04 AM
Indexing data in Multiple Columns Peterpunkin Excel Discussion (Misc queries) 2 February 19th 07 12:55 AM
Indexing of Name Charlie Excel Worksheet Functions 1 April 5th 06 01:33 PM


All times are GMT +1. The time now is 05:56 PM.

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"