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 Index with mulitple value returns and muliple column returns

Using
=INDEX(Sheet2!$A$1:$B$67,SMALL(IF(Sheet2!$A$1:$A$6 7=Sheet1!$A$2,ROW(Sheet2!$A$1:$A$67)),ROW(1:1)),2)

Is there a way to return multiple column values from the same row?

1 2 3
A w x y
B q r s
A m n o

I want the return values to read across a row if looking for A:
w x y
m n o

Thanks for any help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Index with mulitple value returns and muliple column returns

Hi,

why not apply a AutoFilter on the column with A, B,... and filter for A.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"solar+CSE" wrote:

Using
=INDEX(Sheet2!$A$1:$B$67,SMALL(IF(Sheet2!$A$1:$A$6 7=Sheet1!$A$2,ROW(Sheet2!$A$1:$A$67)),ROW(1:1)),2)

Is there a way to return multiple column values from the same row?

1 2 3
A w x y
B q r s
A m n o

I want the return values to read across a row if looking for A:
w x y
m n o

Thanks for any help.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Index with mulitple value returns and muliple column returns

Try it like this...

Array entered

=INDEX(Sheet2!B$1:B$67,SMALL(IF(Sheet2!$A$1:$A$67= Sheet1!$A$2,ROW(Sheet2!B$1:B$67)),ROWS(A$1:A1)))

Copy across then down.

That assumes your data really does start on row 1. If it doesn't then you'll
need to tweak the formula.

--
Biff
Microsoft Excel MVP


"solar+CSE" wrote in message
...
Using
=INDEX(Sheet2!$A$1:$B$67,SMALL(IF(Sheet2!$A$1:$A$6 7=Sheet1!$A$2,ROW(Sheet2!$A$1:$A$67)),ROW(1:1)),2)

Is there a way to return multiple column values from the same row?

1 2 3
A w x y
B q r s
A m n o

I want the return values to read across a row if looking for A:
w x y
m n o

Thanks for any help.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Index with mulitple value returns and muliple column returns

Thank you, that worked after some tweaking to my actual spreadsheet.

"T. Valko" wrote:

Try it like this...

Array entered

=INDEX(Sheet2!B$1:B$67,SMALL(IF(Sheet2!$A$1:$A$67= Sheet1!$A$2,ROW(Sheet2!B$1:B$67)),ROWS(A$1:A1)))

Copy across then down.

That assumes your data really does start on row 1. If it doesn't then you'll
need to tweak the formula.

--
Biff
Microsoft Excel MVP


"solar+CSE" wrote in message
...
Using
=INDEX(Sheet2!$A$1:$B$67,SMALL(IF(Sheet2!$A$1:$A$6 7=Sheet1!$A$2,ROW(Sheet2!$A$1:$A$67)),ROW(1:1)),2)

Is there a way to return multiple column values from the same row?

1 2 3
A w x y
B q r s
A m n o

I want the return values to read across a row if looking for A:
w x y
m n o

Thanks for any help.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Index with mulitple value returns and muliple column returns

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"solar+CSE" wrote in message
...
Thank you, that worked after some tweaking to my actual spreadsheet.

"T. Valko" wrote:

Try it like this...

Array entered

=INDEX(Sheet2!B$1:B$67,SMALL(IF(Sheet2!$A$1:$A$67= Sheet1!$A$2,ROW(Sheet2!B$1:B$67)),ROWS(A$1:A1)))

Copy across then down.

That assumes your data really does start on row 1. If it doesn't then
you'll
need to tweak the formula.

--
Biff
Microsoft Excel MVP


"solar+CSE" wrote in message
...
Using
=INDEX(Sheet2!$A$1:$B$67,SMALL(IF(Sheet2!$A$1:$A$6 7=Sheet1!$A$2,ROW(Sheet2!$A$1:$A$67)),ROW(1:1)),2)

Is there a way to return multiple column values from the same row?

1 2 3
A w x y
B q r s
A m n o

I want the return values to read across a row if looking for A:
w x y
m n o

Thanks for any help.






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
Removing Mulitple Carriage Returns Within a Concantenate Formula Jane Excel Worksheet Functions 2 May 4th 09 08:50 AM
Date returns always returns: 00 January 1900 ArcticWolf Excel Worksheet Functions 2 September 11th 08 12:31 PM
Using INDEX and it Returns a #N/A Crazyhorse Excel Worksheet Functions 2 January 8th 08 05:25 PM
Index with 2 arrays returns error Rasoul Khoshravan Excel Worksheet Functions 2 October 21st 06 05:47 AM
SUM(INDEX(MATCH) for a range returns different result than SUM! [email protected] Excel Worksheet Functions 2 September 22nd 06 08:07 AM


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