ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   INDIRECT (https://www.excelbanter.com/excel-discussion-misc-queries/86791-indirect.html)

Newbie

INDIRECT
 
I have the following formula which works fine:

=INDEX(February!A1:Z100,MATCH("USD",February!A:A,0 ),MATCH("AUD",February!4:4,0))

I would like February to be the variable contents of a particular cell but
cant get my referencing right. Can anyone please help??

Miguel Zapico

INDIRECT
 
You may try this with Indirect (supposing "February" is on cell AA1):
=INDEX(INDIRECT(AA1 & "!A1:Z100"),MATCH("USD",INDIRECT(AA1 &
"!A:A"),0),MATCH("AUD",INDIRECT(AA1 & "!4:4"),0))

"Newbie" wrote:

I have the following formula which works fine:

=INDEX(February!A1:Z100,MATCH("USD",February!A:A,0 ),MATCH("AUD",February!4:4,0))

I would like February to be the variable contents of a particular cell but
cant get my referencing right. Can anyone please help??


Newbie

INDIRECT
 
Thanks Miguel.

=INDEX(INDIRECT(AA1 & "!A1:Z100"),MATCH("USD",INDIRECT(AA1 &
"!A:A"),0),MATCH("AUD",INDIRECT(AA1 & "!4:4"),0))

"Miguel Zapico" wrote:

You may try this with Indirect (supposing "February" is on cell AA1):
=INDEX(INDIRECT(AA1 & "!A1:Z100"),MATCH("USD",INDIRECT(AA1 &
"!A:A"),0),MATCH("AUD",INDIRECT(AA1 & "!4:4"),0))

"Newbie" wrote:

I have the following formula which works fine:

=INDEX(February!A1:Z100,MATCH("USD",February!A:A,0 ),MATCH("AUD",February!4:4,0))

I would like February to be the variable contents of a particular cell but
cant get my referencing right. Can anyone please help??



All times are GMT +1. The time now is 05:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com