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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,187
Members
452,616
Latest member
intern444

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