i can point you in the right direction
if you have posted the question on other forums - then please let us know.....
the common key between those 2 sheets appears to be the c_code column, as mentioned in the question
so you should be able to use a lookup to do that - quite a few different functions for lookups
vlookup
using a combination of index and match
Xlookup
so you should be able to research and find how to use those
its asking you to use vlookup , so you should be able to find plenty of example on the web telling you how to do that
you should also search the web for if there is an error - ie the employee is not found and vlookup will return N/A - how to handle that , again there is a function in excel to do that
hope that helps - but I do not do the assignment here , thats for you to learn , and research , i will only point you in the right direction
I assume you have tried looking up vlookup and how to setup named ranges and got stuck
if so explain what you have tried and why stuck , results you have got so far
Note: Images are difficult to see , and also requires that I input all the data myself, which means I may make an error, which is very time consuming, and from my point of view less likely to get a response, if a complicated spreadsheet. Plus we cannot see any of the formulas used.
Therefore -
A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.
This will possibly enable a quicker and more accurate solution for you.
MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.
Excel 'mini-sheet' in messages - XL2BB Although experts prefer to read your description and question instead of working in your actual file to solve your problem, there are times that it is difficult to explain an issue without providing actual...
www.mrexcel.com
You can also test to see if it works ok, in the "Test Here" forum.
Use this forum to test your signature, learn bbcode, smilies, XL2BB, etc. Threads in this forum are automatically deleted after no replies for seven (7) days
www.mrexcel.com
OR if you cannot get XL2BB to work, or have restrictions on your PC
then put the sample spreadsheet onto a share
I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed
Make sure you set any share or google to share to everyone