Multiple lookups to return a value

JannetteChristie

Board Regular
Joined
Dec 14, 2015
Messages
127
Office Version
  1. 365
I have the following data formatted as shown below:

Book1
HIJKLMNOPQRSTUVWXY
2TBX.T06.T10.TG12.TGC12.T15.TGC15.T18.TG18.
30.660500.991001.021101.515022002.525022002.222302200
41.261001.982001.212022002.52502.52503.23302.5250
51.41502.5250330033004.154303300
61.616033003.53503.53503.5350
71.81903.5350440044004400
8220044004.54504.5450
92.352404.54505500
102.5525055005.5550
112.913006600
126.5650
137700
14
15
Data


In cell B2 the user will type in one of the values in Row H, in cell b3 one of the values in the matched column (from row H). I am trying to return the next columns value of the same row.
(For example, User inputs TGC12. and 3, should return 300)
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
try this


Book1
BHIJKLMNOPQRSTUVWXY
1
2TGC12.TBX.T06.T10.TG12.TGC12.T15.TGC15.T18.TG18.
330.66500.991001.021101.515022002.525022002.222302200
43001.261001.982001.212022002.52502.52503.23302.5250
51.41502.5250330033004.154303300
61.616033003.53503.53503.5350
71.81903.5350440044004400
8220044004.54504.5450
92.352404.54505500
102.5525055005.5550
112.913006600
126.5650
137700
Sheet1
Cell Formulas
RangeFormula
B4=INDEX($H:$Y,MATCH(B3,INDEX($H:$Y,,MATCH(B2,$H$2:$Y$2,0)),0),MATCH(B2,$H$2:$Y$2,0)+1)
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,999
Members
452,373
Latest member
TimReeks

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