Search code examples
excelexcel-formulaexcel-2010excel-2007

Specific Index Match


I have datas in D:I , and I want to do an Index Match in B2.

But I have a problem with it

enter image description here

For now, my formula is :

=INDEX(D1:I7;MATCH(B1;D1:I7;0);MATCH(A2;D2:I2;0))

I think my problem comes from the first match :

MATCH(B1;D1:I7;0)

Solution

  • MATCH needs one Column or one Row.

    Use other INDEX/MATCH to do what you want.

    =INDEX(INDEX(D:I,0,MATCH(A2,D2:I2,0)),MATCH(B1,INDEX(D:I,0,MATCH(A2,D2:I2,0)-1),0))
    

    enter image description here