Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 131
Default Indirect with index and match

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?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Indirect with index and match

All the ranges referred to are in the *active* sheet, not the sheet being
referenced in A1. If the active sheet was named X here's how that evaluates:

INDIRECT("'"&A1&"'!"&X!G1:G100)

Use this syntax for each call to INDIRECT with the appropriate range:

INDIRECT("'"&A1&"'!G1:G100")


--
Biff
Microsoft Excel MVP


"Shane Devenshire" wrote in message
...
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?



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
index(match) Wind Uplift Calculations (match four conditions) JMeier Excel Worksheet Functions 8 August 1st 08 01:45 AM
External Reference with INDIRECT, INDEX/MATCH ScottS Excel Worksheet Functions 4 June 25th 08 05:59 PM
Indirect function in Index/Match Array hoosier41 Excel Discussion (Misc queries) 5 June 20th 08 10:09 PM
Match, Index, Indirect ? PCLIVE Excel Worksheet Functions 1 April 6th 07 05:02 PM
Index,Indirect, and Match caldog Excel Worksheet Functions 3 November 10th 06 11:57 PM


All times are GMT +1. The time now is 07:23 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"