Referencing related data

  • Thread starter Thread starter Jenni
  • Start date Start date
J

Jenni

I have created a spread sheet that lists all of our field
employees in one column with their wages in the next
column. On a seperate worksheet I have created a layout
for scheduling man hours. The goal is to keep the labor
rate of the job at or below the estimated labor rate. I
am using data validation to ensure that the user can only
pick valid employee names. None of that is a problem. The
problem is: once they have selected an employee name, I
would like the cell beside the name to show that
employees wage. I tried writing an IF-THEN statement, but
since I have over 100 employees on the list, the
statement is too long. Is there a better way to do this?
 
Use VLOOKUP. If the data validation is in cell A1, and
the employee/wage list is in columns A thru B on Sheet1:

=VLOOKUP(B1,Sheet1!A:B,2,0)

HTH
Jason
Atlanta, GA
 

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

Back
Top