Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I want to find the row in the second workbook which satisfies the following
three criterias and return the number in column D of that row in the second workbook to the first (original) workbook. Return blank if the number is not available. 1. the content of column A in the first worksheet = the content of column A in the second worksheet (text); 2. the content of column B in the first worksheet = the content of column B in the second worksheet (numeric); 3. the content of column C in the first worksheet = the content of column C in the second worksheet (numeric and text); I was trying to use Lookup, Match and Index formulas but didn't succeed. Thanks much in advance for your help! |
#2
![]() |
|||
|
|||
![]()
How about
=MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0) -- HTH RP (remove nothere from the email address if mailing direct) "Ginger" wrote in message ... I want to find the row in the second workbook which satisfies the following three criterias and return the number in column D of that row in the second workbook to the first (original) workbook. Return blank if the number is not available. 1. the content of column A in the first worksheet = the content of column A in the second worksheet (text); 2. the content of column B in the first worksheet = the content of column B in the second worksheet (numeric); 3. the content of column C in the first worksheet = the content of column C in the second worksheet (numeric and text); I was trying to use Lookup, Match and Index formulas but didn't succeed. Thanks much in advance for your help! |
#3
![]() |
|||
|
|||
![]()
It didn't work. I also need to return the value in column D of sheet2 to a
column in sheet1. If the value is not available, I'd like to return blank. I also tried the following but it didn't work either. I got "#value!": =INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1:C100,0)) Thanks!!! "Bob Phillips" wrote: How about =MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0) -- HTH RP (remove nothere from the email address if mailing direct) "Ginger" wrote in message ... I want to find the row in the second workbook which satisfies the following three criterias and return the number in column D of that row in the second workbook to the first (original) workbook. Return blank if the number is not available. 1. the content of column A in the first worksheet = the content of column A in the second worksheet (text); 2. the content of column B in the first worksheet = the content of column B in the second worksheet (numeric); 3. the content of column C in the first worksheet = the content of column C in the second worksheet (numeric and text); I was trying to use Lookup, Match and Index formulas but didn't succeed. Thanks much in advance for your help! |
#4
![]() |
|||
|
|||
![]()
It needs to be entered with ctrl + shift & enter
-- Regards, Peo Sjoblom "Ginger" wrote in message ... It didn't work. I also need to return the value in column D of sheet2 to a column in sheet1. If the value is not available, I'd like to return blank. I also tried the following but it didn't work either. I got "#value!": =INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1:C100,0)) Thanks!!! "Bob Phillips" wrote: How about =MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0) -- HTH RP (remove nothere from the email address if mailing direct) "Ginger" wrote in message ... I want to find the row in the second workbook which satisfies the following three criterias and return the number in column D of that row in the second workbook to the first (original) workbook. Return blank if the number is not available. 1. the content of column A in the first worksheet = the content of column A in the second worksheet (text); 2. the content of column B in the first worksheet = the content of column B in the second worksheet (numeric); 3. the content of column C in the first worksheet = the content of column C in the second worksheet (numeric and text); I was trying to use Lookup, Match and Index formulas but didn't succeed. Thanks much in advance for your help! |
#5
![]() |
|||
|
|||
![]()
=MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0) entered with
ctrl + shift & enter does give me the row number I wanted. But I also need to return the value in column D of that row. So I enter the following formula with ctrl + shift & enter: =INDEX(Sheet2!A1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1:C100,0),4)) This should work but it gives me #N/A. Any thoughts? Thanks! "Peo Sjoblom" wrote: It needs to be entered with ctrl + shift & enter -- Regards, Peo Sjoblom "Ginger" wrote in message ... It didn't work. I also need to return the value in column D of sheet2 to a column in sheet1. If the value is not available, I'd like to return blank. I also tried the following but it didn't work either. I got "#value!": =INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1:C100,0)) Thanks!!! "Bob Phillips" wrote: How about =MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0) -- HTH RP (remove nothere from the email address if mailing direct) "Ginger" wrote in message ... I want to find the row in the second workbook which satisfies the following three criterias and return the number in column D of that row in the second workbook to the first (original) workbook. Return blank if the number is not available. 1. the content of column A in the first worksheet = the content of column A in the second worksheet (text); 2. the content of column B in the first worksheet = the content of column B in the second worksheet (numeric); 3. the content of column C in the first worksheet = the content of column C in the second worksheet (numeric and text); I was trying to use Lookup, Match and Index formulas but didn't succeed. Thanks much in advance for your help! |
#6
![]() |
|||
|
|||
![]()
Try
INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A100 &Sheet2!B1:B100&Sheet2!C1: C100,0),4)) array entered again -- HTH RP (remove nothere from the email address if mailing direct) "Ginger" wrote in message ... =MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0) entered with ctrl + shift & enter does give me the row number I wanted. But I also need to return the value in column D of that row. So I enter the following formula with ctrl + shift & enter: =INDEX(Sheet2!A1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1 :C100,0),4)) This should work but it gives me #N/A. Any thoughts? Thanks! "Peo Sjoblom" wrote: It needs to be entered with ctrl + shift & enter -- Regards, Peo Sjoblom "Ginger" wrote in message ... It didn't work. I also need to return the value in column D of sheet2 to a column in sheet1. If the value is not available, I'd like to return blank. I also tried the following but it didn't work either. I got "#value!": =INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1 :C100,0)) Thanks!!! "Bob Phillips" wrote: How about =MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0) -- HTH RP (remove nothere from the email address if mailing direct) "Ginger" wrote in message ... I want to find the row in the second workbook which satisfies the following three criterias and return the number in column D of that row in the second workbook to the first (original) workbook. Return blank if the number is not available. 1. the content of column A in the first worksheet = the content of column A in the second worksheet (text); 2. the content of column B in the first worksheet = the content of column B in the second worksheet (numeric); 3. the content of column C in the first worksheet = the content of column C in the second worksheet (numeric and text); I was trying to use Lookup, Match and Index formulas but didn't succeed. Thanks much in advance for your help! |
#7
![]() |
|||
|
|||
![]() meant =INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1 :C100,0)) -- HTH RP (remove nothere from the email address if mailing direct) "Bob Phillips" wrote in message ... Try INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A100 &Sheet2!B1:B100&Sheet2!C1: C100,0),4)) array entered again -- HTH RP (remove nothere from the email address if mailing direct) "Ginger" wrote in message ... =MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0) entered with ctrl + shift & enter does give me the row number I wanted. But I also need to return the value in column D of that row. So I enter the following formula with ctrl + shift & enter: =INDEX(Sheet2!A1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1 :C100,0),4)) This should work but it gives me #N/A. Any thoughts? Thanks! "Peo Sjoblom" wrote: It needs to be entered with ctrl + shift & enter -- Regards, Peo Sjoblom "Ginger" wrote in message ... It didn't work. I also need to return the value in column D of sheet2 to a column in sheet1. If the value is not available, I'd like to return blank. I also tried the following but it didn't work either. I got "#value!": =INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1 :C100,0)) Thanks!!! "Bob Phillips" wrote: How about =MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0) -- HTH RP (remove nothere from the email address if mailing direct) "Ginger" wrote in message ... I want to find the row in the second workbook which satisfies the following three criterias and return the number in column D of that row in the second workbook to the first (original) workbook. Return blank if the number is not available. 1. the content of column A in the first worksheet = the content of column A in the second worksheet (text); 2. the content of column B in the first worksheet = the content of column B in the second worksheet (numeric); 3. the content of column C in the first worksheet = the content of column C in the second worksheet (numeric and text); I was trying to use Lookup, Match and Index formulas but didn't succeed. Thanks much in advance for your help! |
#8
![]() |
|||
|
|||
![]()
Yes. It works like a charm. This is absolutely great and helpful! Thanks!
"Bob Phillips" wrote: meant =INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1 :C100,0)) -- HTH RP (remove nothere from the email address if mailing direct) "Bob Phillips" wrote in message ... Try INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A100 &Sheet2!B1:B100&Sheet2!C1: C100,0),4)) array entered again -- HTH RP (remove nothere from the email address if mailing direct) "Ginger" wrote in message ... =MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0) entered with ctrl + shift & enter does give me the row number I wanted. But I also need to return the value in column D of that row. So I enter the following formula with ctrl + shift & enter: =INDEX(Sheet2!A1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1 :C100,0),4)) This should work but it gives me #N/A. Any thoughts? Thanks! "Peo Sjoblom" wrote: It needs to be entered with ctrl + shift & enter -- Regards, Peo Sjoblom "Ginger" wrote in message ... It didn't work. I also need to return the value in column D of sheet2 to a column in sheet1. If the value is not available, I'd like to return blank. I also tried the following but it didn't work either. I got "#value!": =INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1 :C100,0)) Thanks!!! "Bob Phillips" wrote: How about =MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0) -- HTH RP (remove nothere from the email address if mailing direct) "Ginger" wrote in message ... I want to find the row in the second workbook which satisfies the following three criterias and return the number in column D of that row in the second workbook to the first (original) workbook. Return blank if the number is not available. 1. the content of column A in the first worksheet = the content of column A in the second worksheet (text); 2. the content of column B in the first worksheet = the content of column B in the second worksheet (numeric); 3. the content of column C in the first worksheet = the content of column C in the second worksheet (numeric and text); I was trying to use Lookup, Match and Index formulas but didn't succeed. Thanks much in advance for your help! |
#9
![]() |
|||
|
|||
![]()
Glad we got there Ginger :-)
Bob "Ginger" wrote in message ... Yes. It works like a charm. This is absolutely great and helpful! Thanks! "Bob Phillips" wrote: meant =INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1 :C100,0)) -- HTH RP (remove nothere from the email address if mailing direct) "Bob Phillips" wrote in message ... Try INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A100 &Sheet2!B1:B100&Sheet2!C1: C100,0),4)) array entered again -- HTH RP (remove nothere from the email address if mailing direct) "Ginger" wrote in message ... =MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0) entered with ctrl + shift & enter does give me the row number I wanted. But I also need to return the value in column D of that row. So I enter the following formula with ctrl + shift & enter: =INDEX(Sheet2!A1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1 :C100,0),4)) This should work but it gives me #N/A. Any thoughts? Thanks! "Peo Sjoblom" wrote: It needs to be entered with ctrl + shift & enter -- Regards, Peo Sjoblom "Ginger" wrote in message ... It didn't work. I also need to return the value in column D of sheet2 to a column in sheet1. If the value is not available, I'd like to return blank. I also tried the following but it didn't work either. I got "#value!": =INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1 :C100,0)) Thanks!!! "Bob Phillips" wrote: How about =MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0) -- HTH RP (remove nothere from the email address if mailing direct) "Ginger" wrote in message ... I want to find the row in the second workbook which satisfies the following three criterias and return the number in column D of that row in the second workbook to the first (original) workbook. Return blank if the number is not available. 1. the content of column A in the first worksheet = the content of column A in the second worksheet (text); 2. the content of column B in the first worksheet = the content of column B in the second worksheet (numeric); 3. the content of column C in the first worksheet = the content of column C in the second worksheet (numeric and text); I was trying to use Lookup, Match and Index formulas but didn't succeed. Thanks much in advance for your help! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lookup Lookup Lookup | Excel Worksheet Functions | |||
Lookup Function Problem | Excel Discussion (Misc queries) | |||
Lookup function w/Text and Year | Excel Worksheet Functions | |||
Excel Lookup Functions | Excel Worksheet Functions | |||
double lookup, nest, or macro? | Excel Worksheet Functions |