View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Shane Devenshire Shane Devenshire is offline
external usenet poster
 
Posts: 857
Default Indirect with index and match

Hi,

If the sheet name is in A1:

=INDEX(INDIRECT("'"&A1&"'!"&G1:G100),MATCH(1,(C7=I NDIRECT("'"&A1&"'!"&C1:C100))*(F7=INDIRECT("'"&A1& "'!"&D1:D100))*(J9=INDIRECT("'"&A1&"'!"&E1:E100))* (C12=INDIRECT("'"&A1&"'!"&F1:F100)),0))

be careful with the double and single quotes.

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

Cheers,
Shane Devenshire


"Kashyap" wrote:

Hi, I have the below formula where it flech data from sheet as per C5.. In
this case it is 'PRX'..

=INDEX(PRX!G1:G100,MATCH(1,(C7=PRX!C1:C100)*(F7=PR X!D1:D100)*(J9=PRX!E1:E100)*(C12=PRX!F1:F100),0))

How can I use indirect ref to sheet with this formula?