Need an Excell function that can lookup vertical AND horizontal
Here's another one...
Column headers in the range B1:E1
Row headers in the range A2:A5
Lookup values:
A10 = Bruce
B10 = good
=INDEX(B2:E5,MATCH(A10,A2:A5,0),MATCH(B10,B1:E1,0) )
--
Biff
Microsoft Excel MVP
"Piet vd Berg" wrote in message
...
I need a function or combination of functions that can first search say
vertical in the leftmost column and then horizontal on the top line and
then
read a value in the table. It must thereforehave two input criterion.
In the example below it must first look up "Bruce" as input criteria 1,
then
look up "Good" as input criteria 2 and then return "6" as the output.
Excellent Good Bad Very Bad
John 8 5 3 1
Peter 10 8 4 2
Bruce 7 6 2 1
Eric 9 8 6 3
|