Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello, I'm trying to solve a problem and was advised to use Lookup but it's
not working. I have 2 worksheets (over 1000 records each). Each worksheet has a column for email address. I want to reference the email address in Worksheet 1 (column G) and then search for a match in Worksheet 2 (column F). When the match is found I want to copy data from column A in Worksheet 2 to column B in Worksheet 1. This is the formula I have placed in column B of Worksheet 2: =LOOKUP($G2,Worksheet1!$F$2:$F$1159,Worksheet1!$A$ 2:$A$1159) The step through calculator finds the email address in G2 but fails the next step. It returns #N/A. I also tried to use VLOOKUP without luck. =VLOOKUP($G2,Worksheet1!$F$2:$F$1159,Worksheet1!$A $1:$A$1159,FALSE) This returns #REF. I'm under the gun and hope someone can help! Thanks! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
In B2 enter =sumproduct(--(G2=Worksheet2!$F$2:$F$1159),Worksheet2!$A$1:$A$11 59) Check the name of your tab if it's worksheet2 or sheet2 "GeorgeA" wrote: Hello, I'm trying to solve a problem and was advised to use Lookup but it's not working. I have 2 worksheets (over 1000 records each). Each worksheet has a column for email address. I want to reference the email address in Worksheet 1 (column G) and then search for a match in Worksheet 2 (column F). When the match is found I want to copy data from column A in Worksheet 2 to column B in Worksheet 1. This is the formula I have placed in column B of Worksheet 2: =LOOKUP($G2,Worksheet1!$F$2:$F$1159,Worksheet1!$A$ 2:$A$1159) The step through calculator finds the email address in G2 but fails the next step. It returns #N/A. I also tried to use VLOOKUP without luck. =VLOOKUP($G2,Worksheet1!$F$2:$F$1159,Worksheet1!$A $1:$A$1159,FALSE) This returns #REF. I'm under the gun and hope someone can help! Thanks! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
=INDEX(Worksheet1!$A$2:$A$1159,MATCH($G2,Worksheet 1!$F$2:$F$1159,0)) -- If this helps, please click the Yes button. Cheers, Shane Devenshire "GeorgeA" wrote: Hello, I'm trying to solve a problem and was advised to use Lookup but it's not working. I have 2 worksheets (over 1000 records each). Each worksheet has a column for email address. I want to reference the email address in Worksheet 1 (column G) and then search for a match in Worksheet 2 (column F). When the match is found I want to copy data from column A in Worksheet 2 to column B in Worksheet 1. This is the formula I have placed in column B of Worksheet 2: =LOOKUP($G2,Worksheet1!$F$2:$F$1159,Worksheet1!$A$ 2:$A$1159) The step through calculator finds the email address in G2 but fails the next step. It returns #N/A. I also tried to use VLOOKUP without luck. =VLOOKUP($G2,Worksheet1!$F$2:$F$1159,Worksheet1!$A $1:$A$1159,FALSE) This returns #REF. I'm under the gun and hope someone can help! Thanks! |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Awesome! Thanks!
"Shane Devenshire" wrote: Hi, =INDEX(Worksheet1!$A$2:$A$1159,MATCH($G2,Worksheet 1!$F$2:$F$1159,0)) -- If this helps, please click the Yes button. Cheers, Shane Devenshire "GeorgeA" wrote: Hello, I'm trying to solve a problem and was advised to use Lookup but it's not working. I have 2 worksheets (over 1000 records each). Each worksheet has a column for email address. I want to reference the email address in Worksheet 1 (column G) and then search for a match in Worksheet 2 (column F). When the match is found I want to copy data from column A in Worksheet 2 to column B in Worksheet 1. This is the formula I have placed in column B of Worksheet 2: =LOOKUP($G2,Worksheet1!$F$2:$F$1159,Worksheet1!$A$ 2:$A$1159) The step through calculator finds the email address in G2 but fails the next step. It returns #N/A. I also tried to use VLOOKUP without luck. =VLOOKUP($G2,Worksheet1!$F$2:$F$1159,Worksheet1!$A $1:$A$1159,FALSE) This returns #REF. I'm under the gun and hope someone can help! Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lookup or Vlookup? | Excel Worksheet Functions | |||
=IF(AND(LOOKUP(F3,A21:A42)=F3,LOOKUP(B4,B21:B42)=B4),(VLOOKUP(B4,B | Excel Worksheet Functions | |||
lookup or vlookup | Excel Worksheet Functions | |||
Help with lookup (vlookup) | Excel Worksheet Functions | |||
LOOKUP or VLOOKUP | Excel Worksheet Functions |