ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Lookup in one column, and return value from another column (https://www.excelbanter.com/excel-worksheet-functions/63839-lookup-one-column-return-value-another-column.html)

fdebelo

Lookup in one column, and return value from another column
 
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.

--
Thanks for your help in advance.

Max

Lookup in one column, and return value from another column
 
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)))
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"fdebelo" wrote in message
...
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.

--
Thanks for your help in advance.




Niek Otten

Lookup in one column, and return value from another column
 
In Sheet1!A1:

=VLOOKUP(A1,Sheet2!A:C,3,FALSE)

--
Kind regards,

Niek Otten

"fdebelo" wrote in message
...
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.

--
Thanks for your help in advance.





All times are GMT +1. The time now is 07:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com