matching ids help

R

rodchar

hi all,
i have 2 worksheets

S1
------
id, name
1, john
2, cathy

S2
------
id, type
1, email
2, phone

Is there a way to add the person's name in the column next to appropriate
type of the 2nd spreadsheet, linked by id?

Desired result:
1,email,john
2,phone,cathy

thanks,
rodchar
 
J

JBeaucaire

rodchar;175644 said:
S
-----
id, nam
1, joh
2, cath

S
-----
id, typ
1, emai
2, phon

Desired result
1,email,joh
2,phone,cath

Assume that is row 2 with id 1. In C2, put this formula

=VLOOKUP(A2,Sheet1!$A$2:$B$100,2,FALSE

Copy that down to do the remaining rows
 

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