abdelfattah
Well-known Member
- Joined
- May 3, 2019
- Messages
- 1,507
- Office Version
- 2019
- 2010
- Platform
- Windows
hi
need macro to implement for about 1000 rows. the idea should match column A between two sheets sheet1,2 .if the data in column B into sheet2 are not matched with sheet1 then should replace data into column B for sheet2 based on sheet1 and arrange as the same thing in sheet1
sheet1
sheet2
result in sheet2
thanks
need macro to implement for about 1000 rows. the idea should match column A between two sheets sheet1,2 .if the data in column B into sheet2 are not matched with sheet1 then should replace data into column B for sheet2 based on sheet1 and arrange as the same thing in sheet1
sheet1
11.xlsx | ||||
---|---|---|---|---|
A | B | |||
1 | ITEM | BRAND | ||
2 | AA00-1 | FOOD/100- TUNE 200G SS | ||
3 | AA00-2 | FOOD/101- TUNE 160G SS L/NN | ||
4 | AA00-3 | FOOD/102- TUNE 180G SS | ||
5 | AA00-4 | FOOD/103- TU 120G SS | ||
6 | AA00-5 | FOOD/104- TUNE 140G SS | ||
7 | AA00-6 | FOOD/105- TUNE 200G | ||
8 | AA00-7 | FOOD/106- TUNE 200G SS X-V1 | ||
9 | AA00-8 | FOOD/107- TUNE 200G SS | ||
10 | AA00-9 | FOOD/108- TUNE 200G SS DDT | ||
11 | AA00-10 | FOOD/109- TUNE 200G S | ||
12 | ||||
SHEET1 |
sheet2
11.xlsx | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | ITEM | BRAND | QTY | ||
2 | AA00-1 | FOOD/100- TUNE 200G N-G | 200 | ||
3 | AA00-6 | FOOD/100- TUNE 2010G SS | 123 | ||
4 | AA00-7 | FOOD/100- TUNE1 200G SS | 1223 | ||
5 | AA00-8 | FOOD/100- TU 200G SS | 90 | ||
6 | AA00-2 | FOOD/100- TU 200GBS | 78 | ||
7 | AA00-3 | FOOD/100- TUNE 200G SS | 23 | ||
8 | AA00-4 | FOOD/100- TUNE12 200G SS | 45 | ||
9 | AA00-5 | FOOD/100- TUNE 200G SS | 45 | ||
sheet2 |
result in sheet2
11.xlsx | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | ITEM | BRAND | QTY | ||
2 | AA00-1 | FOOD/100- TUNE 200G SS | 200 | ||
3 | AA00-2 | FOOD/101- TUNE 160G SS L/NN | 78 | ||
4 | AA00-3 | FOOD/102- TUNE 180G SS | 23 | ||
5 | AA00-4 | FOOD/103- TU 120G SS | 45 | ||
6 | AA00-5 | FOOD/104- TUNE 140G SS | 45 | ||
7 | AA00-6 | FOOD/105- TUNE 200G | 123 | ||
8 | AA00-7 | FOOD/106- TUNE 200G SS X-V1 | 1223 | ||
9 | AA00-8 | FOOD/107- TUNE 200G SS | 90 | ||
sheet2 |
thanks