ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   index match help (https://www.excelbanter.com/excel-worksheet-functions/225874-index-match-help.html)

Kashyap

index match help
 
I tried with the below formula as well, but not resired result

=INDEX(PRX!A1:H111,MATCH(1,IF(PRX!A2:A111=Referenc e!J9,IF(PRX!C2:C111=Reference!F5,1)),0),MATCH(Refe rence!K6,PRX!A1:H1,0 ))
Control+shift+enter

I need to index A:H
match J9 with A:A
match F5 with C:C
match H1 with A1:H1

JP[_4_]

index match help
 
For the INDEX argument, you need to specify a single column. I'm not clear
on whether you can search ranges of mixed sizes the way you have it in your
formula.

Try this example:

{=INDEX(PRX!A1:A111,MATCH(1,(PRX!A1:A111=Reference !J9)*(PRX!C1:C111=Reference!F5)*(PRX!A1:H1=Referen ce!H1),0))}

But it might fail because A1:H1 is not the same size as A1:A111.

HTH,
JP

"Kashyap" wrote in message
...
I tried with the below formula as well, but not resired result

=INDEX(PRX!A1:H111,MATCH(1,IF(PRX!A2:A111=Referenc e!J9,IF(PRX!C2:C111=Reference!F5,1)),0),MATCH(Refe rence!K6,PRX!A1:H1,0
))
Control+shift+enter

I need to index A:H
match J9 with A:A
match F5 with C:C
match H1 with A1:H1




joel

index match help
 
I converted your formula to use a Sumproduct

This part of the formula will return the column of data you want. Index
requires an offset which is one less the the value match will return

INDEX(PRX!A1:H111,0,MATCH(Reference!K6,PRX!A1:H1,0 )-1)


Now the formula above into a sumproduct

The formula below is wrong from your oringal formula : PRX!A1:H111

=Sumproduct(--(PRX!A2:A111=Reference!J9),--(PRX!C2:C111=Reference!F5),INDEX(PRX!A1:H111,0,MAT CH(Reference!K6,PRX!A1:H1,0 )-1))

Instead use this formula

=Sumproduct(--(PRX!A2:A111=Reference!J9),--(PRX!C2:C111=Reference!F5),INDEX(PRX!A2:H111,0,MAT CH(Reference!K6,PRX!A1:H1,0 )-1))

"Kashyap" wrote:

I tried with the below formula as well, but not resired result

=INDEX(PRX!A1:H111,MATCH(1,IF(PRX!A2:A111=Referenc e!J9,IF(PRX!C2:C111=Reference!F5,1)),0),MATCH(Refe rence!K6,PRX!A1:H1,0 ))
Control+shift+enter

I need to index A:H
match J9 with A:A
match F5 with C:C
match H1 with A1:H1


Domenic[_2_]

index match help
 
Try...

=INDEX(PRX!A1:H111,MATCH(1,IF(PRX!A1:A111=Referenc e!J9,IF(PRX!C1:C111=Ref
erence!F5,1)),0),MATCH(Reference!K6,PRX!A1:H1,0 ))

....confirmed with CONTROL+SHIFT+ENTER.

Hope this helps!

http://www.xl-central.com

In article ,
Kashyap wrote:

I tried with the below formula as well, but not resired result

=INDEX(PRX!A1:H111,MATCH(1,IF(PRX!A2:A111=Referenc e!J9,IF(PRX!C2:C111=Referenc
e!F5,1)),0),MATCH(Reference!K6,PRX!A1:H1,0 ))
Control+shift+enter

I need to index A:H
match J9 with A:A
match F5 with C:C
match H1 with A1:H1


Ashish Mathur[_2_]

index match help
 
Hi,

Try this with Ctrl+Shift+Enter

=INDEX(PRX!A1:H111,MATCH(1,(PRX!A2:A111=Reference! J9)*(PRX!C2:C111=Reference!F5),0),MATCH(Reference! K6,PRX!A1:H1,0
))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Kashyap" wrote in message
...
I tried with the below formula as well, but not resired result

=INDEX(PRX!A1:H111,MATCH(1,IF(PRX!A2:A111=Referenc e!J9,IF(PRX!C2:C111=Reference!F5,1)),0),MATCH(Refe rence!K6,PRX!A1:H1,0
))
Control+shift+enter

I need to index A:H
match J9 with A:A
match F5 with C:C
match H1 with A1:H1




All times are GMT +1. The time now is 04:36 AM.

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