finding a value in table

Memon

Board Regular
Joined
Jan 21, 2014
Messages
56
Hello,
How are you wonderful people
I attached an excel sheet in which I will be given two numbers one is from first column (No. 1) and the other is from the table (No.2)

What I want to do is: find No.1 in the first column -> find No2 in the same row of No.1 -> return the value of firs cell in No.2 column

let me rephrase the above sentence
I have to find that number in the table then bring the first value of the column where my original values sits

note: there are duplicate values that's why we can't use Hlookup


Code:
https://1drv.ms/x/s!Av1Xu-XOFAQ0gQD4ipWAMoaNxSiR
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
See if this works:

=LOOKUP(Q3,ROUND(INDEX($B$3:$N$19,MATCH($Q$4,$A$3:$A$19,0),0),0),$B$2:$N$2)
 
Upvote 0
It's working but I need a bit of explanation if it's possible
many many thanks for your effort
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,331
Members
452,636
Latest member
laura12345

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