Hello everyone,
I have this problem and I think a vlookup loop (VBA) will solve this problem. I haven’t found any solutions on google so it might be that vlookup isn’t the way to go, I don’t know ?.
this workbook has 3 sheets.
Sheet1: with a product list, 1 column.
Sheet2: with parts, 2 columns.
Sheet3: with a compiled list based on the data in sheet 1 and 2, 2 Columns.
The idea is for all products in sheet1 lookup their parts in sheet2, If a match, copy the row(s) to sheet 3.
So do this for all products in sheet1.
Note that 1 product could have several parts.
So it has to be vba so I can add it to a button.
I appreciate all help, i don’t have much VBA experience.
Thanks ?
Sheet1
Product
Product 2
Product 4
Sheet2
Product - Parts
Product1 Part1
Product2 Part1
Product2 Part2
Product3 Part1
Product3 Part2
Product4 Part1
Sheet3
Product - Parts
Product2 Part1
Product2 Part2
Product4 Part1
I have this problem and I think a vlookup loop (VBA) will solve this problem. I haven’t found any solutions on google so it might be that vlookup isn’t the way to go, I don’t know ?.
this workbook has 3 sheets.
Sheet1: with a product list, 1 column.
Sheet2: with parts, 2 columns.
Sheet3: with a compiled list based on the data in sheet 1 and 2, 2 Columns.
The idea is for all products in sheet1 lookup their parts in sheet2, If a match, copy the row(s) to sheet 3.
So do this for all products in sheet1.
Note that 1 product could have several parts.
So it has to be vba so I can add it to a button.
I appreciate all help, i don’t have much VBA experience.
Thanks ?
Sheet1
Product
Product 2
Product 4
Sheet2
Product - Parts
Product1 Part1
Product2 Part1
Product2 Part2
Product3 Part1
Product3 Part2
Product4 Part1
Sheet3
Product - Parts
Product2 Part1
Product2 Part2
Product4 Part1