Question : Excel INDIRECT question

I'm going mad here, I've used the INDIRECT function many times in the past but can't see past this one:

In cell I8 I have the following calculated string:

VLOOKUP(A8,'[xxxxx xxxxxxx 062510 (5).xls]6'!$C:$L,10,FALSE)

I know that this works because if I enter this as a formula it returns a valid result.

If I then type "=INDIRECT(I8)" in J8 I get a #REF! error

Answer : Excel INDIRECT question

INDIRECT will not take the input string and evaluate it as an expression; rather, it takes an input string and tries t convert it to a range reference.

For example, if I8 contains (or has a formula that returns):

'[xxxxx xxxxxxx 062510 (5).xls]6'!$C:$L

then your formula in J8 could be:

=VLOOKUP(A8,INDIRECT(I8),10,FALSE)
Random Solutions  
 
programming4us programming4us