Transferring text from one worksheet to another

T

txmusic

I am needing to know how to copy text from a column in one worksheet into a
column in another worksheet based on matching information in a different
column. For example, I have a list of names in two different worksheets.
One list is about 3,200 rows long. The other list is 800 rows long. I need
to searth the longer list to match up names from the shorter list and pull
the employee numbers over from the longer list and paste them into a column
in the shorter list. Hopefully this makes sense.
 
C

ck13

See if this works for you. Assuming that your list of database is in Sheet 1
and the shorter list is Sheet 2. The names start from A1 in both case and in
Sheet 1, the employee numbers start from B1.

In B1 of Sheet 2, paste this
=INDEX(Sheet1!$B$1:$B$3200,MATCH(A1,Sheet1!$A$1:$A$3200,0))

Change the range as required and drag the formula down.
 

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