Lookup in one column, and return value from another column

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to look at the text in cell A1-Sheet1, find that text in column
1-sheet2, find the value in the corresponding row of column3-sheet2, then
paste that value in A2-Sheet1.
 
One way is to use VLOOKUP ..

Put in Sheet1's A2: =VLOOKUP(A1,Sheet2!A:C,3,0)

Perhaps better (but longer) with some error traps included:
=IF(A1="","",IF(ISNA(MATCH(A1,Sheet2!A:A,0)),"",
VLOOKUP(A1,Sheet2!A:C,3,0)))
 

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

Back
Top