Multiple Lookups

mArkcpp

Board Regular
Joined
Aug 8, 2002
Messages
67
Office Version
  1. 365
Hello. I've searched the forums, but I haven't run across a solution to my problem.

I have a table that looks something like this:

10 20 30 40 50 60 70 80 90 100 %
ID1 0.5 2 5 10 15 25 35 55 85 100
ID2 5 7 10 20 45 75 150 250 300 400
ID3 etc..............
ID4 etc...........

I need to look up one of the IDs (specified by the user), read across to another value that is specified by the user, then read the % value across the top that corresponds to that ID and number.

I've tried combinations of lookups, V and H Lookups, MATCH, Index, but I can't get anything to work.

I thought I could get match to get the row then do a lookup on just that row of data to get the % value across the top, but I can't figure that out.

Any help would be greatly appreciated. I was hoping there was a function to do this rather than a macro.

Thanks,
Mark
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Mark

Assuming that your data is in the range A1:K3 and the lookup id is in A7 and the value in A8 then try

Code:
=INDEX(B1:K1,MATCH(A8,OFFSET(B1:K1,MATCH(A7,A2:A3,0),0)))


Tony
 
Upvote 0
Tony, thanks for the help!! It worked perfectly. Now I just need to work through it so that I understand it. Thanks for the quick response.

Mark
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,607
Members
449,090
Latest member
vivek chauhan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top