#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default VLOOKUP?

I have 2 worksheets - Sheet1 contains a list of ID numbers in column A,
contact names in column B. Sheet2 contains a list of ID numbers - some
of which will match those in Sheet1, with email address next to them.
I want to create a formula for Sheet1 which will look at the ID number
in cell A1 in Sheet1, search in Sheet2 for the corresponding ID and
bring the relevant email address forward into Sheet1. How do I do this?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default VLOOKUP?

Try this:
On sheet 1:
A1: (ID num)
C1: =VLOOKUP(A1,Sheet2!A:B,2,0)

Does that help?

***********
Regards,
Ron


" wrote:

I have 2 worksheets - Sheet1 contains a list of ID numbers in column A,
contact names in column B. Sheet2 contains a list of ID numbers - some
of which will match those in Sheet1, with email address next to them.
I want to create a formula for Sheet1 which will look at the ID number
in cell A1 in Sheet1, search in Sheet2 for the corresponding ID and
bring the relevant email address forward into Sheet1. How do I do this?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
vezerid
 
Posts: n/a
Default VLOOKUP?

in Sheet1:
=IF(NOT(ISNA(VLOOKUP(A1, Sheet2!A:B, 2, 0))), VLOOKUP(A1, Sheet2!A:B,
2, 0), "")

HTH
Kostis Vezerides

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Arvi Laanemets
 
Posts: n/a
Default VLOOKUP?

Hi

Like
=IF(ISERROR(VLOOKUP(A2,Sheet1!$A$2:$B$100,2,0)),"" ,VLOOKUP(A2,Sheet1!$A$2:$B
$100,2,0))


Arvi Laanemets


wrote in message
ups.com...
I have 2 worksheets - Sheet1 contains a list of ID numbers in column A,
contact names in column B. Sheet2 contains a list of ID numbers - some
of which will match those in Sheet1, with email address next to them.
I want to create a formula for Sheet1 which will look at the ID number
in cell A1 in Sheet1, search in Sheet2 for the corresponding ID and
bring the relevant email address forward into Sheet1. How do I do this?



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default VLOOKUP?

Have tried all 3 and none worked :(



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
anar_baku
 
Posts: n/a
Default VLOOKUP?


Try this, but _first_of_all_ sort your ID column in ascending order in
Sheet 2:

C1: =VLOOKUP(A1, Sheet2!A1:C8, 2, FALSE)

Where A1:B8 is all the data in Sheet2 that you want to search through
and 2 is the number of the column where emails are listed (column B I
assume).


--
anar_baku
------------------------------------------------------------------------
anar_baku's Profile: http://www.excelforum.com/member.php...o&userid=18259
View this thread: http://www.excelforum.com/showthread...hreadid=489086

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
vezerid
 
Posts: n/a
Default VLOOKUP?

What do you mean they have not worked? Do they produce incorrect
values? #N/A? Please be more specific.

Kostis Vezerides

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
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 09:38 PM.

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"