• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Nested Index/Match with indirect function lookup

aviniarsky

New Member
Hi All,

I'm having issues with getting my indirect function to work when embedded into my index match formula. My attempts result in a "#value!" error.

Initially, i tried indirect with vlookup which worked successfully, and now i'm trying to make it work with index-match.

Here's a snapshot:
upload_2018-3-22_11-0-32.png
with my formula being -=INDEX(INDIRECT("'"&C4&"'!B1:B3"),MATCH(A5,"'"&C4&"'!A1:A3",0))

I have a second sheet - called Jul, which looks like this:
upload_2018-3-22_11-1-1.png

What's the reason for my error?

Thanks in advance.
 
Hi ,

The formula you have posted is :

=INDEX(INDIRECT("'"&C4&"'!B1:B3"),MATCH(A5,"'"&C4&"'!A1:A3",0))

Surely , the MATCH function too will have to use the INDIRECT function ?

Try this :

=INDEX(INDIRECT("'"&C4&"'!B1:B3"),MATCH(A5,INDIRECT("'"&C4&"'!A1:A3"),0))

Narayan
 
Back
Top