repeat missed items based on match helper column

abdo meghari

Active Member
Joined
Aug 3, 2021
Messages
471
Office Version
  1. 2019
hello
I would match column B across multiple sheets with helper column K into sheet FS ,if the missed item in column B matched on of them into column K , then should repeat for all the items across multiple sheets . for instance the sheet FS one item contain INDO ,then should fill all of item INDO in last position ,also sheet DTYO there are about four items into column B contain THI , then should fill all of the items THI .as to sheet FSI there are about three items into column B contain JAP, then should fill all of the items JAP .
but I have rare case , somtimes there is no items into column B match with column K . I mean to don't contain any items based on column K then should fill all of the items JAP

I put expected result from column E: G but the result should be in column B across multiple sheets.

BB1.xlsm
ABCDEFGHIJK
1ITEMBRANDQTYITEMBRANDQTYORIGIN
21 BS 175/70R13 B25 2201 BS 175/70R13 B25 INDO220JAP
32BS 175/70R13 EP150 1002BS 175/70R13 EP150 INDO100INDO
43BS 185/70R13 EP150 103BS 185/70R13 EP150 INDO10THI
54BS 175/65R14 EP150 904BS 175/65R14 EP150 INDO90IND
65BS 175/65R14 B25 125BS 175/65R14 B25 INDO12CHI
76BS 175/70R14 EP150 126BS 175/70R14 EP150 INDO12
87BS 175/70R14 MY02 437BS 175/70R14 MY02 INDO43
98BS 185/65R14 TEC458BS 185/65R14 TEC INDO45
109BS 185/65R14 150EZ INDO679BS 185/65R14 150EZ INDO67
1110BS 185/65R14 EP150 1210BS 185/65R14 EP150 INDO12
1211BS 195/70R14 150EZ 3411BS 195/70R14 150EZ INDO34
1312BS 185/65R15 TC10 2312BS 185/65R15 TC10 INDO23
1413BS 185/65R15 T0051213BS 185/65R15 T005 INDO12
1514BS 185/65R15 T013414BS 185/65R15 T01 INDO34
1615BS 185/65R15 B250 5615BS 185/65R15 B250 INDO56
1716BS 195/60R15 AR20 3416BS 195/60R15 AR20 INDO34
1817BS 195/60R15 EP150 5617BS 195/60R15 EP150 INDO56
1918BS 195/60R15 T001 7818BS 195/60R15 T001 INDO78
2019BS 195/60R15 150EZ 1219BS 195/60R15 150EZ INDO12
2120BS 195/65R15 MY02 3420BS 195/65R15 MY02 INDO34
2221BS 195/65R15 EP1505621BS 195/65R15 EP150 INDO56
2322BS 195/65R15 EP150 7822BS 195/65R15 EP150 INDO78
24
FS



BB1.xlsm
ABCDEFG
1ITEMBRANDQTYITEMBRANDQTY
21 DTYO 315/80R22.5 R184 2001 DTYO 315/80R22.5 R184 THI200
32 DTYO 315/80R22.5 R184 THI1002 DTYO 315/80R22.5 R184 THI100
43 DTYO 315/80R22.5 R1521203 DTYO 315/80R22.5 R152 THI120
54 DTYO 315/80R22.5 R152 THI1304 DTYO 315/80R22.5 R152 THI130
65 DTYO 315/80R22.5 G580 1005 DTYO 315/80R22.5 G580 THI100
76 DTYO 315/80R22.5 G582 THI1506 DTYO 315/80R22.5 G582 THI150
87 DTYO 315/80R22.5 DS50 THI2007 DTYO 315/80R22.5 DS50 THI200
98 DTYO 175/70R13 B25 1208 DTYO 175/70R13 B25 THI120
109 DTYO 175/70R13 EP150 1009 DTYO 175/70R13 EP150 THI100
1110 DTYO 185/70R13 EP15012010 DTYO 185/70R13 EP150 THI120
1211DTYO 185/65R15 T01 10011DTYO 185/65R15 T01THI 100
DTYO


BB1.xlsm
ABCDEFG
1ITEMBRANDQTYITEMBRANDQTY
21 FSI 185/65R14 TEC 1201 FSI 185/65R14 TEC JAP120
32 FSI 185/65R14 150EZ JAP1002 FSI 185/65R14 150EZ JAP100
43 FSI 185/65R14 EP150 2003 FSI 185/65R14 EP150 JAP200
54 FSI 195/70R14 150EZ 2304 FSI 195/70R14 150EZ JAP230
65 FSI 185/65R15 TC101205 FSI 185/65R15 TC10 JAP120
76 FSI 185/65R15 T005 1506 FSI 185/65R15 T005 JAP150
87 FSI 185/65R15 T01 1007 FSI 185/65R15 T01 JAP100
98 FSI 315/80R22.5 R152 JAP1208 FSI 315/80R22.5 R152 JAP120
109 FSI 315/80R22.5 R152 JAP1309 FSI 315/80R22.5 R152 JAP130
FSI
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Glad to hear you got the solution.

If you would like to post the solution then it is perfectly fine to mark your post as the solution to help future readers. Otherwise, please do not mark a post that doesn't contain a solution.
 
Upvote 0

Forum statistics

Threads
1,216,171
Messages
6,129,286
Members
449,498
Latest member
Lee_ray

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top