Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Wk
 
Posts: n/a
Default Returning multiple corresponding values using lookup in a list

I am using the following formula to lookup information that is in Column A in
order to return the value in Column B. There is duplicate information in
Column A, but different corresponding information in Column B. The following
formula works, but when I try to add a row at the top (above the list of
information), the formula no longer works. Can you help?

=INDEX($A$1:$C$40,SMALL(IF($A$1:$A$40=$A$50,ROW($A $1:$A$40)),ROW(1:1)),2))
  #2   Report Post  
Posted to microsoft.public.excel.misc
Domenic
 
Posts: n/a
Default Returning multiple corresponding values using lookup in a list

If, for example, you enter the formula in B50 and copy it down the
column, try...

=INDEX($A$1:$C$40,SMALL(IF($A$1:$A$40=$A$50,ROW($A $1:$A$40)-ROW($A$1)+1),
ROWS($B$50:B50)),2)

....confirmed with CONTROL+SHIFT+ENTER.

Hope this helps!

In article ,
"Wk" wrote:

I am using the following formula to lookup information that is in Column A in
order to return the value in Column B. There is duplicate information in
Column A, but different corresponding information in Column B. The following
formula works, but when I try to add a row at the top (above the list of
information), the formula no longer works. Can you help?

=INDEX($A$1:$C$40,SMALL(IF($A$1:$A$40=$A$50,ROW($A $1:$A$40)),ROW(1:1)),2))

  #3   Report Post  
Posted to microsoft.public.excel.misc
Wk
 
Posts: n/a
Default Returning multiple corresponding values using lookup in a list

That worked. Thanks!!!

"Domenic" wrote:

If, for example, you enter the formula in B50 and copy it down the
column, try...

=INDEX($A$1:$C$40,SMALL(IF($A$1:$A$40=$A$50,ROW($A $1:$A$40)-ROW($A$1)+1),
ROWS($B$50:B50)),2)

....confirmed with CONTROL+SHIFT+ENTER.

Hope this helps!

In article ,
"Wk" wrote:

I am using the following formula to lookup information that is in Column A in
order to return the value in Column B. There is duplicate information in
Column A, but different corresponding information in Column B. The following
formula works, but when I try to add a row at the top (above the list of
information), the formula no longer works. Can you help?

=INDEX($A$1:$C$40,SMALL(IF($A$1:$A$40=$A$50,ROW($A $1:$A$40)),ROW(1:1)),2))


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
return multiple corresponding values using INDEX BubbleGum Excel Worksheet Functions 2 January 5th 06 05:43 AM
Lookup values in one column to return another [email protected] Excel Worksheet Functions 4 November 17th 05 09:42 PM
Extracting/look up data from a list and select multiple instances Candice H. Excel Worksheet Functions 4 April 29th 05 04:38 PM
Returning Multiple Values Based on One Value Nick Excel Worksheet Functions 2 March 31st 05 10:01 PM
Selecting data from a list based on entered values GrantM Excel Discussion (Misc queries) 1 December 20th 04 10:59 AM


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