Want to use VLOOKUP and IF for a code from another workbook

dudeinaghillie

New Member
Joined
Apr 23, 2024
Messages
7
Office Version
  1. 2019
Platform
  1. Windows
So I have 2 workbooks, the first workbook contains a unique ID in a column as well as columns with name, age, skill level, skill name, expiry date in accordance to the unique ID. **NOTE: 1 Unique IDs may have 1 or more skill levels and skill names, different skill level = different row, same unique ID**
Now in the 2nd workbook, I would like to pull the data of the skill name with relation to the skill level using the unique ID as the input.

This is what I have made and the result is "SPILL!"

IF(VLOOKUP(@A:A,'[Data_Skill.xlsx]Sheet1'!$A$2:$D$5000,4,FALSE)="Level I",(VLOOKUP(@A:A,'[Data_Skill.xlsx]Sheet1'!$E$2:$E$5000,5,FALSE),"No Skill")

A Column being the unique ID and D being skill level and E being skill name.
Would like to know if there is another way of doing this or if anyone can help fix any wrongs in the formula.
If anymore information is needed, please feel free to ask.

Thank you
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Upvote 0

Forum statistics

Threads
1,224,814
Messages
6,181,123
Members
453,021
Latest member
Justyna P

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