Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Reverse a function to return the array?

Is there a way to return an array value in excel through a function or
by reversing a function. I need to do an lookup of a name in a row,
and then have a cell from the row return it's corresponding column
array. e.g (row 1, cell 4 (Bob) = $D$1:$D$500.

I need to be able to use the result in another function like a Match/
Index

I have been able to produce the effect using substitute and address
embeded functions. But I cannot use the result as the array for a
Index/Match. I think because it's just text and not the actual defined
array.

I would like to use the result to fill in the $J$15:$J$509 array below

=INDEX($J$15:$J$509,MATCH(B6,$I$15:$I$509,FALSE),1 )
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Reverse a function to return the array?

Do you mean

INDIRECT(ADDRESS(1,MATCH("lookup",1:1,0))&":"&ADDR ESS(500,MATCH("lookup",1:1,0)))

--
__________________________________
HTH

Bob

"bc4240" wrote in message
...
Is there a way to return an array value in excel through a function or
by reversing a function. I need to do an lookup of a name in a row,
and then have a cell from the row return it's corresponding column
array. e.g (row 1, cell 4 (Bob) = $D$1:$D$500.

I need to be able to use the result in another function like a Match/
Index

I have been able to produce the effect using substitute and address
embeded functions. But I cannot use the result as the array for a
Index/Match. I think because it's just text and not the actual defined
array.

I would like to use the result to fill in the $J$15:$J$509 array below

=INDEX($J$15:$J$509,MATCH(B6,$I$15:$I$509,FALSE),1 )



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default Reverse a function to return the array?

"Bob Phillips" wrote...
Do you mean

INDIRECT(ADDRESS(1,MATCH("lookup",1:1,0))&":"&ADD RESS(500,MATCH("lookup",1:1,0)))

....

If so, wouldn't

INDEX($A$1:$IV$500,0,MATCH("lookup",$A$1:$A$500,0) )

be preferable in terms of brevity, efficiency (only 1 MATCH call) and
use of only nonvolatile functions?
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Reverse a function to return the array?

I had to leave you something to do <g

--
__________________________________
HTH

Bob

"Harlan Grove" wrote in message
...
"Bob Phillips" wrote...
Do you mean

INDIRECT(ADDRESS(1,MATCH("lookup",1:1,0))&":"&AD DRESS(500,MATCH("lookup",1:1,0)))

...

If so, wouldn't

INDEX($A$1:$IV$500,0,MATCH("lookup",$A$1:$A$500,0) )

be preferable in terms of brevity, efficiency (only 1 MATCH call) and
use of only nonvolatile functions?



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Reverse a function to return the array?

On Jul 29, 3:12*pm, "Bob Phillips" wrote:
I had to leave you something to do <g

--
__________________________________
HTH

Bob

"Harlan Grove" wrote in message

...



"Bob Phillips" wrote...
Do you mean


INDIRECT(ADDRESS(1,MATCH("lookup",1:1,0))&":"&AD DRESS(500,MATCH("lookup",*1:1,0)))

...


If so, wouldn't


INDEX($A$1:$IV$500,0,MATCH("lookup",$A$1:$A$500,0) )


be preferable in terms of brevity, efficiency (only 1 MATCH call) and
use of only nonvolatile functions?- Hide quoted text -


- Show quoted text -


Bob Yes this did work for me after I looked at it twice I used the
address portion to populate a sepeate cell and then used the Indirect
to fill my range requirements for my Index function PERFECT
solution!!!!!! Thanks


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
Can the Excel RTD function return an array (It does on Bloomberg) Jonathan10 Excel Worksheet Functions 0 April 25th 08 09:48 AM
Which Function to Use? Search an Array, Return a Row Value [email protected] Excel Discussion (Misc queries) 1 August 24th 07 06:34 PM
Using INDEX function to return array row. RBI Excel Worksheet Functions 1 October 4th 06 03:21 PM
Return array from worksheet function Steve Lloyd Excel Worksheet Functions 4 July 19th 06 06:15 PM
how to reverse a range/array? peter dmz Excel Worksheet Functions 5 August 11th 05 09:11 PM


All times are GMT +1. The time now is 12:06 AM.

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"