#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 361
Default Index/Match ?

I have a table like this:

ID Code Notes
BOX549 a2 Drop
BOX355 aA Drop
BOX355 AA Add

I am trying to find a formula for column "Notes" that will produce this
result:

Code ID Notes
a2 BOX549 Drop
A3 BOX355
AA BOX355 Add
aA BOX355 Drop
Aa BOX355


Thank you in advance and Happy Holidays.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Index/Match ?

Carl,

Assuming you have your table on Sheet1, A1:C4, then use, and your other code
and ID values in columns A and B, starting in row 2, then use this in cell
C2

=IF(SUMPRODUCT((EXACT(A2,Sheet1!$B$2:$B$4))*(EXACT (B2,Sheet1!$A$2:$A$4))*ROW(Sheet1!$A$2:$A$4))=0,"" ,INDEX(Sheet1!C:C,SUMPRODUCT((EXACT(A2,Sheet1!$B$2 :$B$4))*(EXACT(B2,Sheet1!$A$2:$A$4))*ROW(Sheet1!$A $2:$A$4))))

HTH,
Bernie
MS Excel MVP



"carl" wrote in message
...
I have a table like this:

ID Code Notes
BOX549 a2 Drop
BOX355 aA Drop
BOX355 AA Add

I am trying to find a formula for column "Notes" that will produce this
result:

Code ID Notes
a2 BOX549 Drop
A3 BOX355
AA BOX355 Add
aA BOX355 Drop
Aa BOX355


Thank you in advance and Happy Holidays.




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Index/Match ?

Maybe this array formula** :

Table in the range H2:J4.

Lookup_values starting in A2:B2

=IF(SUM((ISNUMBER(FIND(A2,I$2:I$4)))*(H$2:H$4=B2)) ,INDEX(J$2:J$4,MATCH(1,(ISNUMBER(FIND(A2,I$2:I$4)) )*(H$2:H$4=B2),0)),"")

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"carl" wrote in message
...
I have a table like this:

ID Code Notes
BOX549 a2 Drop
BOX355 aA Drop
BOX355 AA Add

I am trying to find a formula for column "Notes" that will produce this
result:

Code ID Notes
a2 BOX549 Drop
A3 BOX355
AA BOX355 Add
aA BOX355 Drop
Aa BOX355


Thank you in advance and Happy Holidays.




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
Find Exact Match using INDEX, MATCH DoubleUU Excel Worksheet Functions 3 August 15th 08 02:42 PM
index(match) Wind Uplift Calculations (match four conditions) JMeier Excel Worksheet Functions 8 August 1st 08 01:45 AM
index match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
How do I display more than one match in a Index/Match formula? Trish Excel Worksheet Functions 0 September 26th 05 10:21 PM
index,match,match on un-sorted data Brisbane Rob Excel Worksheet Functions 3 September 24th 05 10:04 PM


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