Vlookup depending on cell value

p9j123

Active Member
Joined
Apr 15, 2014
Messages
288
Office Version
  1. 2013
Platform
  1. Windows
Need help on the following scenarion

I have a masterfile that looks like this.

Task IDTeamOpsStatus
123AMichaelCompleted1
456CJude
256FMichael
933GJohn
858JJude
451IMichael

<colgroup><col><col span="2"><col></colgroup><tbody>
</tbody>














Column D has the following formula

=VLOOKUP(A2,'C:\Source\[Michael.xlsx]Sheet1'!$A:$D,4,FALSE)

I have multiple files on C:\Source that correspond to the names on Column C.

The formula should be dependent on value on column C, on the example above D2 lookup for the value on Michael.xlsx because C2 is Michael.

Note: Source File are closed (im not sure if this info matters.)
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
All referenced files must be open in order to read their values. The values will appear as last seen until the workbooks are opened again.
 
Upvote 0

Forum statistics

Threads
1,215,352
Messages
6,124,453
Members
449,161
Latest member
NHOJ

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