data lookup

A

Amazon

What is the appropriate function to find data at the intersection of columns
and rows? I've used VLOOKUP tables where I renamed cells in the left
column, but never in the top row also. Would this work, and how would I
write the formula so that the proper data is returned?

Thanks.
Jane
 
B

Bryan Hessey

with the item to row match in A1, the item to column match in B1, and a
table that is D6:G9 (row names in C6:C9, column headers in D5:G5

then

=OFFSET($C$5,MATCH(A1,$C$6:$C$9,0),MATCH(B1,$D$5:$G$5,0))

should look up for you

QUOTE=Amazon]What is the appropriate function to find data at the
intersection of columns
and rows? I've used VLOOKUP tables where I renamed cells in the left
column, but never in the top row also. Would this work, and how would
I
write the formula so that the proper data is returned?

Thanks.
Jane
 
Top