return the staff # to the right of the names

G

Guest

I have a workbook with 2 sheets, one sheet named “sheet1â€, another named “sheet2â€.
In sheet 1, I have 2 columns. Column A is the names, column B is the Staff #.s
A B
1 Name Staff Number
2 Tom 235
3 Jack 345
4 Linda 888
…
In sheet 2, I have the names in column A, but the column B is empty:
A B
1 Name Staff Number
2 Jack
3 Linda
4 Joe
…
In sheet 2, column B, I want the computer to return me the correspond staff numbers which are listed in sheet 1: I want 345 in B2, 888 in B3.
 
K

Karl

B2 =VLOOKUP(A2,Sheet1!$A$2:$B$4,2,FALSE)
plumstone said:
I have a workbook with 2 sheets, one sheet named "sheet1", another named "sheet2".
In sheet 1, I have 2 columns. Column A is the names, column B is the Staff #.s
A B
1 Name Staff Number
2 Tom 235
3 Jack 345
4 Linda 888
.
In sheet 2, I have the names in column A, but the column B is empty:
A B
1 Name Staff Number
2 Jack
3 Linda
4 Joe
.
In sheet 2, column B, I want the computer to return me the correspond
staff numbers which are listed in sheet 1: I want 345 in B2, 888 in B3.
 

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

Similar Threads

Construct staff pay timesheet 1
Excel Is this possible?? 3
List 1
Macro 5
Counting by Two Columns of Variables 9
Multiple names 5
Excell Formula 2
Help with conditionally unhiding columns 1

Top