Vlookup help

yessir

Board Regular
Joined
Jun 7, 2019
Messages
91
RankJob Assigned toWorker IDJOB1JOB2JOB3
(insert formula here)
1​
4​
3​
1​
5​
1​
10​
3​
6​
6​
2​
11​
1​
2​
1​
3​
12​
2​
1​
9​

Trying to use a Vlookup formula display the number below the job the worker is assigned to in the Rank column. For example in the first row, we see that the worker ID is 4 and they are assigned to Job 1 which is JOB1 in column D. So in A2 the formula would display the number 3. This formula would be carried down throughout column A.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Try

=INDEX(D2:F2,1,B2), copied down

Or if you really want to use VLOOKUP

=VLOOKUP(C2,C:F,B2+1,0)
 
Upvote 0

Forum statistics

Threads
1,215,456
Messages
6,124,939
Members
449,197
Latest member
k_bs

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