return the staff # to the right of the names

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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.
 
Back
Top