Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default lookup and return multiple values

Hi,

I am trying to lookup a value in a row and return multiple values from another row. I have been successful in looking up a value in a column and returning a value from another column, and do not understand why I am having difficulties repeating the same procedure for rows.

I am using the following function to find multiple values in row2 based on a certain value in row 1 from columns f through k.

={INDEX(F$1:$K$2,SMALL(IF(F$1:$K$2=$A$8,COLUMN(F$1 :$K$2)),COLUMN(F:$K)),2)}

Any help would be greatly appreciated, T.H.



EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default lookup and return multiple values

Not exactly sure what you're trying to do but see if this helps:

=IF(COLUMNS($A:A)<=COUNTIF($F$1:$K$1,$A$8),INDEX($ F$2:$K$2,SMALL(IF($F$1:$K$1=$A$8,COLUMN($F$2:$K$2)-MIN(COLUMN($F$2:$K$2))+1),COLUMNS($A:A))),"")

Array entered. Copy across until you get blanks.

Biff

<Treena wrote in message ...
Hi,

I am trying to lookup a value in a row and return multiple values from
another row. I have been successful in looking up a value in a column and
returning a value from another column, and do not understand why I am
having difficulties repeating the same procedure for rows.

I am using the following function to find multiple values in row2 based on
a certain value in row 1 from columns f through k.

={INDEX(F$1:$K$2,SMALL(IF(F$1:$K$2=$A$8,COLUMN(F$1 :$K$2)),COLUMN(F:$K)),2)}

Any help would be greatly appreciated, T.H.



EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com



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
lookup 1 value and return multiple corresponding values Dan Excel Worksheet Functions 1 March 21st 07 03:06 PM
Lookup one value and return multiple corresponding values StephenB Excel Discussion (Misc queries) 1 March 1st 07 04:28 PM
Lookup in Multiple Columns, Return Multiple Values andy62 Excel Worksheet Functions 3 July 6th 06 02:36 AM
how to lookup a value and return multiple corresponding values Asthee Excel Worksheet Functions 1 November 5th 05 01:49 PM
Lookup and return multiple Values Neil Excel Worksheet Functions 1 August 22nd 05 10:33 PM


All times are GMT +1. The time now is 06:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"