need your help (URGENT) Pls

H

h12ra

hi,

I want when i enter the (staff name) in "A" column direct in "B" column
appears the (Staff no) i tried to use the if function but its not
working.....pls help me :confused:


regards,
HRa
 
J

J.E. McGimpsey

If you have a table of names and staff numbers elsewhere (say on
Sheet2) then use VLOOKUP. For example:

Sheet2:
A B
1 Jane 00001
2 George 00342
3 Bill 00014
....

Then in your input sheet:

A1: Jane
B1: =VLOOKUP(A1, Sheet2!A:B,2,FALSE)

will return 00001
 

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