Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
in Sheet1:
=IF(NOT(ISNA(VLOOKUP(A1, Sheet2!A:B, 2, 0))), VLOOKUP(A1, Sheet2!A:B, 2, 0), "") HTH Kostis Vezerides |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Have tried all 3 and none worked :(
|
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() 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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using single cell reference as table array argument in Vlookup | Excel Worksheet Functions | |||
VLOOKUP Limitations | Excel Worksheet Functions | |||
Have Vlookup return a Value of 0 instead of #N/A | Excel Worksheet Functions | |||
vlookup data hidden within worksheet | Excel Worksheet Functions | |||
Vlookup info being used without vlookup table attached? | Excel Worksheet Functions |