Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
fdebelo
 
Posts: n/a
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default 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.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten
 
Posts: n/a
Default 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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
Lookup values in one column to return another [email protected] Excel Worksheet Functions 4 November 17th 05 09:42 PM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM
lookup from one column return value from another? Maria Excel Discussion (Misc queries) 1 April 1st 05 05:57 AM


All times are GMT +1. The time now is 02:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"