This works for me
=INDEX(A1:I20,MATCH("fruit",A1:A20,0),MATCH(1,(A1:I1=TIME(9,0,0))*(A2:I2=DATE(2007,10,4)),0))
change the cell references accordingly to fit your size
It needs to be entered with ctrl + shift & enter
--
Regards,
Peo Sjoblom
"J.W. Aldridge" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>X Search value is = FRUIT (cell g20)
> Y Search value is = 09:00 (cell g21)
> Z Search value is = Oct-4 (cell g22)
>
> Desired result = 16
>
> Need to add criteria and range z.
>
> =INDEX(table, MATCH(x,range x,0), MATCH(y,range y,1))
>
>
> Table starts with cell A1.
>
> B C
> D E
> A1 08:00 09:00 10:00
> 11:00
> A2 Oct-4 Oct-4 Oct-3
> Oct-3
> APPLES 10 20 30 40
> BANANAS 20 30 40 50
> CHERRIES 60 70 80 90
> DUNG 91 92 93
> 94
> EGGPLANT 11 12 13 14
> FRUIT 15 16 17
> 18
> GRAPES 19 20 21
> 22
>
|