Cross Reference Formula

M

mjsam

In my previous question:

I need to find a formula that first looks across the top row to find a
number
and then down the first column and results with the intersecting cell.
1 2 3 4 5
a 3 6 7 8 4
b 2 5 7 5 6

Excmple: when i reference 3-b, I need the result to be 7. THis is HLookup
and V lookup, but how do i combine these two formulas? HELP!

I failed to state that the 3 and the b are in separate cells on another
worksheet. How does this change the formula?
 
M

Mike H

Hi,

Try this

=INDEX(A1:D10,MATCH(E1,A1:A10,0),MATCH(F1,A1:D1,0))

Where A1 - D10 is the entire matrix including row and column headers
E1 contains the row search value
f1 contains the column search value

Mike
 
M

Mike H

And I missed that the lookup references are on another sheet

=INDEX(A1:D10,MATCH(Sheet2!E1,A1:A10,0),MATCH(Sheet2!F1,A1:D1,0))

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top