Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default Index/Match ... Repost from 05/10/07

Excel2003 ...

Col A ... Text format ... values alpha-numeric & may repeat
Col B ... Text format ... values alpha-numeric & may repeat
(note: Col B sorted in Ascending order)
(note: length of Col A & B Cell contents & # of repeats is random)

Col L ... I am using INDEX/MATCH to find value in Col B, return Value in Col
A.

Formula working fine except when value in Col B repeats ... Issue is ... My
INDEX/MATCH formula is returning 1st value found in Col A (Q5X) ... What I
need when a match is found in Col B ... is the value returned from Col A that
looks like a number. For the example below ... I wish Col A value of 123 to
be returned.

Col A ...... Col B
Q5X ....... 1A5637
C6Y ........ 1A5637
123 ........ 1A5637
X2Z ........ 1A5637

Thank you for the guidance ... Kha

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Index/Match ... Repost from 05/10/07

Looks like a number???

=INDEX(Sheet2!A1:A10,
(MATCH(1,(ISNUMBER(-Sheet2!A1:A10)*(Sheet2!B1:B10=B1)),0)))

Is a number:

=INDEX(Sheet2!A1:A10,
(MATCH(1,(ISNUMBER(Sheet2!A1:A10)*(Sheet2!B1:B10=B 1)),0)))

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

Adjust the range to match--but you can only use the whole column in xl2007.

Ken wrote:

Excel2003 ...

Col A ... Text format ... values alpha-numeric & may repeat
Col B ... Text format ... values alpha-numeric & may repeat
(note: Col B sorted in Ascending order)
(note: length of Col A & B Cell contents & # of repeats is random)

Col L ... I am using INDEX/MATCH to find value in Col B, return Value in Col
A.

Formula working fine except when value in Col B repeats ... Issue is ... My
INDEX/MATCH formula is returning 1st value found in Col A (Q5X) ... What I
need when a match is found in Col B ... is the value returned from Col A that
looks like a number. For the example below ... I wish Col A value of 123 to
be returned.

Col A ...... Col B
Q5X ....... 1A5637
C6Y ........ 1A5637
123 ........ 1A5637
X2Z ........ 1A5637

Thank you for the guidance ... Kha


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default Index/Match ... Repost from 05/10/07

Mr Dave ...

Perfect ... Thank you for the Magic ... Kha


"Dave Peterson" wrote:

Looks like a number???

=INDEX(Sheet2!A1:A10,
(MATCH(1,(ISNUMBER(-Sheet2!A1:A10)*(Sheet2!B1:B10=B1)),0)))

Is a number:

=INDEX(Sheet2!A1:A10,
(MATCH(1,(ISNUMBER(Sheet2!A1:A10)*(Sheet2!B1:B10=B 1)),0)))

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

Adjust the range to match--but you can only use the whole column in xl2007.

Ken wrote:

Excel2003 ...

Col A ... Text format ... values alpha-numeric & may repeat
Col B ... Text format ... values alpha-numeric & may repeat
(note: Col B sorted in Ascending order)
(note: length of Col A & B Cell contents & # of repeats is random)

Col L ... I am using INDEX/MATCH to find value in Col B, return Value in Col
A.

Formula working fine except when value in Col B repeats ... Issue is ... My
INDEX/MATCH formula is returning 1st value found in Col A (Q5X) ... What I
need when a match is found in Col B ... is the value returned from Col A that
looks like a number. For the example below ... I wish Col A value of 123 to
be returned.

Col A ...... Col B
Q5X ....... 1A5637
C6Y ........ 1A5637
123 ........ 1A5637
X2Z ........ 1A5637

Thank you for the guidance ... Kha


--

Dave Peterson

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 match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
Index, Match, Sum ?? fastballfreddy Excel Discussion (Misc queries) 3 May 9th 06 09:02 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
Index / Match? Ken Excel Worksheet Functions 1 January 27th 05 03:45 PM


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