How do I populate a cell with data from a cell in another workshe.

H

holtzy24

I have one worksheet with a column containing employee names. The names are
listed multiple times in this worksheet:
File # Name Salary
1234 Joe Smith
1234 Joe Smith
1456 Anna Lee
1456 Anna Lee
1456 Anna Lee
I have another worksheet with the employee's name and salary amount:
File # Name Salary
1234 Joe Smith 45000.00
1456 Anna Lee 32000.00
I want to populate the cells in the salary column in the 1st worksheet with
the salary amounts from the second worksheet. How do I do this?
 
D

Dave Peterson

Put this in C2:
=vlookup(b2,'anothersheet'!b:c,2,false)
and drag down as far as you need.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top