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

Signature
Regards,
Peo Sjoblom
>X Search value is = FRUIT (cell g20)
> Y Search value is = 09:00 (cell g21)
[quoted text clipped - 24 lines]
> GRAPES 19 20 21
> 22
J.W. Aldridge - 04 Oct 2007 21:40 GMT
Thanx.
Since I have cell references for the criteria I am searching for,
could something like this work?
=INDEX(A1:E13,MATCH(K2,A1:A13,0),MATCH(1,(A1:E1=K3)*(B2:E2=K4),1))
Peo Sjoblom - 04 Oct 2007 21:48 GMT
Yes if you put those values in K2 - K4 and enter the formula with ctrl +
shift & enter it should work
If it doesn't then there is no match meaning that somehow what you put in K3
and K4 might differ. You can easily check that by direct comparison like
=K3=C1 where K3 holds 9:00 and presumably C1 does too. If it returns FALSE
you will need to find if the values in A1:E1 are text, do the same for
K4 and C2

Signature
Regards,
Peo Sjoblom
> Thanx.
>
> Since I have cell references for the criteria I am searching for,
> could something like this work?
>
> =INDEX(A1:E13,MATCH(K2,A1:A13,0),MATCH(1,(A1:E1=K3)*(B2:E2=K4),1))