Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I need to perform the following function:
compare column a in sheet1 with column a in sheet2, if there is a match then I want to pull the values from sheet 1 column b and c to the corresponding row in sheet2. For instance on sheet1, cell a2 is abcd, b2 is 12345 anc c2 is 54321, on sheet 2 cell a12 is abcd. So I would like to pull b2 and c2 from sheet 1 to sheet 2 in cells b12 and c12. Any ideas? |
#2
![]() |
|||
|
|||
![]()
In sheet2 B2
enter =if(iserror(vlookup(b2,Sheet1!A:C,2,False),"",vloo kup(b2,Sheet1!A:C,2,False) and in C2 =if(iserror(vlookup(b2,Sheet1!A:C,3,False),"",vloo kup(b2,Sheet1!A:C,3,False) and copy down as far as you need to. "EXCEL101" wrote: I need to perform the following function: compare column a in sheet1 with column a in sheet2, if there is a match then I want to pull the values from sheet 1 column b and c to the corresponding row in sheet2. For instance on sheet1, cell a2 is abcd, b2 is 12345 anc c2 is 54321, on sheet 2 cell a12 is abcd. So I would like to pull b2 and c2 from sheet 1 to sheet 2 in cells b12 and c12. Any ideas? |
#3
![]() |
|||
|
|||
![]()
Tried that and am receiving a formula error.
"bj" wrote: In sheet2 B2 enter =if(iserror(vlookup(b2,Sheet1!A:C,2,False),"",vloo kup(b2,Sheet1!A:C,2,False) and in C2 =if(iserror(vlookup(b2,Sheet1!A:C,3,False),"",vloo kup(b2,Sheet1!A:C,3,False) and copy down as far as you need to. "EXCEL101" wrote: I need to perform the following function: compare column a in sheet1 with column a in sheet2, if there is a match then I want to pull the values from sheet 1 column b and c to the corresponding row in sheet2. For instance on sheet1, cell a2 is abcd, b2 is 12345 anc c2 is 54321, on sheet 2 cell a12 is abcd. So I would like to pull b2 and c2 from sheet 1 to sheet 2 in cells b12 and c12. Any ideas? |
#4
![]() |
|||
|
|||
![]()
A small typo (in both formulas):
=if(iserror(vlookup(b2,Sheet1!A:C,2,False)),"",vlo okup(b2,Sheet1!A:C,2,False)) EXCEL101 wrote: Tried that and am receiving a formula error. "bj" wrote: In sheet2 B2 enter =if(iserror(vlookup(b2,Sheet1!A:C,2,False),"",vloo kup(b2,Sheet1!A:C,2,False) and in C2 =if(iserror(vlookup(b2,Sheet1!A:C,3,False),"",vloo kup(b2,Sheet1!A:C,3,False) and copy down as far as you need to. "EXCEL101" wrote: I need to perform the following function: compare column a in sheet1 with column a in sheet2, if there is a match then I want to pull the values from sheet 1 column b and c to the corresponding row in sheet2. For instance on sheet1, cell a2 is abcd, b2 is 12345 anc c2 is 54321, on sheet 2 cell a12 is abcd. So I would like to pull b2 and c2 from sheet 1 to sheet 2 in cells b12 and c12. Any ideas? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Deselect Cells while using ctrl | Excel Discussion (Misc queries) | |||
Condensing a list/range with blank cells to a new list/range without blanks | Excel Worksheet Functions | |||
Fill cells from non-adjacent cells | Excel Discussion (Misc queries) | |||
Help adding text values | Excel Worksheet Functions | |||
Convert data type of cells to Text,Number,Date and Time | Excel Worksheet Functions |