Searching a table

gentleman9

New Member
Joined
Sep 21, 2006
Messages
5
Ok I need some help, I've looked at Microsoft's website and because I really don't know how to describe what I want Excel to do its hard to look up HOW to do it. This is how I want it to look up my data....

I have a reference row of numbers across the top and a reference column of numbers along the left side and I want to be able to search the corresponding number that intersects the two on the table of numbers. Example: The reference number on the left side column would be 15.5 and the reference number in the row across the top would be 60.5 with the number that the equation gives me would be 14. How do I go about getting Excel to spit out my desired result (14) on another sheet in a specific cell?
 

Some videos you may like

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201
E2:F2 houses the lookup values of interest like 15.5 and 60.5.

In G2 invoke:

=INDEX($B$2:$D$10,MATCH(E2,$A$2:$A$10,1),MATCH(F2,$B$1:$D$1,1))
 

gentleman9

New Member
Joined
Sep 21, 2006
Messages
5
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E2:F2 houses the lookup values of interest like 15.5 and 60.5.

In G2 invoke:

=INDEX($B$2:$D$10,MATCH(E2,$A$2:$A$10,1),MATCH(F2,$B$1:$D$1,1))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ok that seems easy enough, but heres the curveball I'm facing:


E2:F2 and G2 are on a different sheet than the table I am searching, how do I write that formula?
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E2:F2 houses the lookup values of interest like 15.5 and 60.5.

In G2 invoke:

=INDEX($B$2:$D$10,MATCH(E2,$A$2:$A$10,1),MATCH(F2,$B$1:$D$1,1))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ok that seems easy enough, but heres the curveball I'm facing:


E2:F2 and G2 are on a different sheet than the table I am searching, how do I write that formula?

OK, but why don't you tell which sheets are involved?

=INDEX(DifferenSheet!$B$2:$D$10,MATCH(E2,DifferentSheet!$A$2:$A$10,1),MATCH(F2,DifferentSheet!$B$1:$D$1,1))
 

Watch MrExcel Video

Forum statistics

Threads
1,114,041
Messages
5,545,687
Members
410,698
Latest member
Wloven
Top