delete column from sheet and move values ,sum to another sheet

abdo meghari

Active Member
Joined
Aug 3, 2021
Messages
465
Office Version
  1. 2019
hello
I have two sheets . the first contains values for two columns C,D , the other sheet contains values in column C what I want matching the items based on column B for two sheets . and delete the column D from first sheet and summing the values over each item in column C for the second sheet.
the data are about 1900 rows and will increase.
REPORT.xlsm
ABCD
1ITEMBRANDSALESRETURNS
21BS 1200R20 G580 TCF JAP15210
32BS 1200R24 G582 JAP940
43BS 1400R20 VSJ TCF JAP210
54BS 155 R12C R623 JAP180
65BS 155 R12C R624 INDO44
76BS 165 R13C R624 INDO84
87BS 175/70 R13 EP150 THI40
98BS 175/70 R14 EP150 THI80
109BS 185/65 R14 EP150 INDO84
1110BS 185/65 R14 TEC THI80
1211BS 185/65 R15 T005 INDO44
1312BS 185/70 R13 EP150 INDO84
1413BS 185R14C R624 INDO 40
1514BS 195 R14C 613 JAP124
1615BS 195 R15C R623 THI64
1716BS 195/55 R16 EP300 THI44
1817BS 195/60 R15 EP150 THI124
1918BS 195/65 R15 EP15 JAP80
2019BS 195/70 R15C R623 JAP84
2120BS 195/75 R16C R613 JAP44
2221BS 205/60 R16 T001 JAP40
2322BS 205/65 R15 EP150 INDO64
2423BS 215/45 R17 T001 JAP44
2524BS 215/55 R16 EP300 INDO44
2625BS 215/55 R17 MY-02 THI84
2726BS 215/55 R17 T005 JAP40
2827BS 215/55 R17 TG90 INDO164
2928BS 215/60 R16 EP30 THI42
3029BS 215/65 R16C R611 THI84
3130BS 215/70 R15C R623 THI234
3231BS 225/55 R16 T001 JAP40
3332BS 225/55 R17 EP300 THI124
3433BS 225/60 R16 EP300 JAP100
3534BS 225/60 R16 T001 JAP40
3635BS 225/60 R17 D-SPORT JAP44
3736BS 225/70 R15C R623 JAP80
3837BS 225/70 R16 D687 JAP84
3938BS 225/70 R16 H005 THI40
4039BS 225/70 R17 D697 THI40
4140BS 235/55 R17 ER30 JAP44
4241BS 235/55 R17 T005 THI40
4342BS 235/55 R18 E031 JAP80
4443BS 235/60 R16 T01 JAP40
4544BS 235/60 R17 D400 JAP84
4645BS 245/40 ZR20 S001 JAP40
4746BS 245/45 R19 T005 JAP40
4847BS 245/70 R16 D684 THI44
4948BS 245/70 R17 D684 JAP380
5049BS 245/75 R17 693A JAP40
5150BS 255/70 R16 H005 THI44
5251BS 265/50 R20 D-SPORT JAP40
5352BS 265/60R18 D840 JAP120
5453BS 265/70 R18 D684 JAP40
5554BS 275/40 R18 S007 JAP40
5655BS 275/40 R20 DSPORT JAP40
5756BS 275/45 R19 ALENZA JAP40
5857BS 275/55 R17 DSPORT JAP40
5958BS 275/70 R16 D694 JAP40
6059BS 275/70 R16 H005 THI44
6160BS 285/60 R18 T01 JAP84
6261BS 285/65 R17 R683 JAP84
6362BS 315/80 R22.5 G580 JAP80
6463BS 315/80 R22.5 R152 JAP40
6564BS 315/80 R22.5 R184 JAP01
6665BS 385/65 R22.5 R164 JAP105121
6766BS 445/65 R22.5 R164 JAP40
6867BS 650R16 R230 JAP160
6968BS 750R16 R230 TCF JAP740
7069BS 750R16 VSJ TCF JAP1120
7170BS 8.25R16 R180 JAP01
7271Dayton 315/80R22.5 DS50 THI010
7372FS 1200 R24 FSR4000 JAP220
7473FS 205/65 R15 TZ700 JAP44
7574FS 215/55 R17 TZ700 JAP84
7675FS 225/45 R17 TZ700 JAP44
SH1


REPORT.xlsm
ABC
1ITEMBRANDBALANCE
21BS 195 R14C 613 JAP12
32BS 175/70 R13 EP150 THI4
43BS 1400R20 VSJ TCF JAP21
54BS 1200R20 G580 TCF JAP152
65BS 1200R24 G582 JAP94
76BS 155 R12C R623 JAP18
87BS 155 R12C R624 INDO4
98BS 165 R13C R624 INDO8
109BS 195 R15C R623 THI6
1110BS 195/55 R16 EP300 THI4
1211BS 175/70 R14 EP150 THI8
1312BS 185/65 R14 EP150 INDO8
1413BS 185/65 R14 TEC THI8
1514BS 185/65 R15 T005 INDO4
1615BS 185/70 R13 EP150 INDO8
1716BS 185R14C R624 INDO 4
SH2



result
REPORT.xlsm
ABC
1ITEMBRANDSALES
21BS 1200R20 G580 TCF JAP152
32BS 1200R24 G582 JAP94
43BS 1400R20 VSJ TCF JAP21
54BS 155 R12C R623 JAP18
65BS 155 R12C R624 INDO4
76BS 165 R13C R624 INDO8
87BS 175/70 R13 EP150 THI4
98BS 175/70 R14 EP150 THI8
109BS 185/65 R14 EP150 INDO8
1110BS 185/65 R14 TEC THI8
1211BS 185/65 R15 T005 INDO4
1312BS 185/70 R13 EP150 INDO8
1413BS 185R14C R624 INDO 4
1514BS 195 R14C 613 JAP12
1615BS 195 R15C R623 THI6
1716BS 195/55 R16 EP300 THI4
1817BS 195/60 R15 EP150 THI12
1918BS 195/65 R15 EP15 JAP8
2019BS 195/70 R15C R623 JAP8
2120BS 195/75 R16C R613 JAP4
2221BS 205/60 R16 T001 JAP4
2322BS 205/65 R15 EP150 INDO6
2423BS 215/45 R17 T001 JAP4
2524BS 215/55 R16 EP300 INDO4
2625BS 215/55 R17 MY-02 THI8
2726BS 215/55 R17 T005 JAP4
2827BS 215/55 R17 TG90 INDO16
2928BS 215/60 R16 EP30 THI4
3029BS 215/65 R16C R611 THI8
3130BS 215/70 R15C R623 THI23
3231BS 225/55 R16 T001 JAP4
3332BS 225/55 R17 EP300 THI12
3433BS 225/60 R16 EP300 JAP10
3534BS 225/60 R16 T001 JAP4
3635BS 225/60 R17 D-SPORT JAP4
3736BS 225/70 R15C R623 JAP8
3837BS 225/70 R16 D687 JAP8
3938BS 225/70 R16 H005 THI4
4039BS 225/70 R17 D697 THI4
4140BS 235/55 R17 ER30 JAP4
4241BS 235/55 R17 T005 THI4
4342BS 235/55 R18 E031 JAP8
4443BS 235/60 R16 T01 JAP4
4544BS 235/60 R17 D400 JAP8
4645BS 245/40 ZR20 S001 JAP4
4746BS 245/45 R19 T005 JAP4
4847BS 245/70 R16 D684 THI4
4948BS 245/70 R17 D684 JAP38
5049BS 245/75 R17 693A JAP4
5150BS 255/70 R16 H005 THI4
5251BS 265/50 R20 D-SPORT JAP4
5352BS 265/60R18 D840 JAP12
5453BS 265/70 R18 D684 JAP4
5554BS 275/40 R18 S007 JAP4
5655BS 275/40 R20 DSPORT JAP4
5756BS 275/45 R19 ALENZA JAP4
5857BS 275/55 R17 DSPORT JAP4
5958BS 275/70 R16 D694 JAP4
6059BS 275/70 R16 H005 THI4
6160BS 285/60 R18 T01 JAP8
6261BS 285/65 R17 R683 JAP8
6362BS 315/80 R22.5 G580 JAP8
6463BS 315/80 R22.5 R152 JAP4
6564BS 315/80 R22.5 R184 JAP0
6665BS 385/65 R22.5 R164 JAP105
6766BS 445/65 R22.5 R164 JAP4
6867BS 650R16 R230 JAP16
6968BS 750R16 R230 TCF JAP74
7069BS 750R16 VSJ TCF JAP112
7170BS 8.25R16 R180 JAP0
7271Dayton 315/80R22.5 DS50 THI0
7372FS 1200 R24 FSR4000 JAP2
SH1




REPORT.xlsm
ABC
1ITEMBRANDBALANCE
21BS 195 R14C 613 JAP16
32BS 175/70 R13 EP150 THI4
43BS 1400R20 VSJ TCF JAP21
54BS 1200R20 G580 TCF JAP162
65BS 1200R24 G582 JAP94
76BS 155 R12C R623 JAP18
87BS 155 R12C R624 INDO22
98BS 165 R13C R624 INDO12
109BS 195 R15C R623 THI10
1110BS 195/55 R16 EP300 THI8
1211BS 175/70 R14 EP150 THI8
1312BS 185/65 R14 EP150 INDO12
1413BS 185/65 R14 TEC THI8
1514BS 185/65 R15 T005 INDO8
1615BS 185/70 R13 EP150 INDO12
1716BS 185R14C R624 INDO 4
SH2
 
my apologies !
ignore two duplicates items should not be then should not be new and doesn't supposes adding to SH2
REPORT.xlsm
ABC
1ITEMBRANDBALANCE
21BS 195 R14C 613 JAP16
32BS 175/70 R13 EP150 THI4
43BS 1400R20 VSJ TCF JAP21
54BS 1200R20 G580 TCF JAP162
65BS 1200R24 G582 JAP94
76BS 155 R12C R623 JAP18
87BS 155 R12C R624 INDO8
98BS 165 R13C R624 INDO12
109BS 195 R15C R623 THI10
1110BS 195/55 R16 EP300 THI8
1211BS 175/70 R14 EP150 THI8
1312BS 185/65 R14 EP150 INDO12
1413BS 185/65 R14 TEC THI8
1514BS 185/65 R15 T005 INDO8
1615BS 185/70 R13 EP150 INDO12
1716BS 185R14C R624 INDO 4
1817BS 195/60 R15 EP150 THI4
1918BS 195/70 R15C R623 JAP4
2019BS 195/75 R16C R613 JAP4
2120BS 205/65 R15 EP150 INDO4
2221BS 215/45 R17 T001 JAP4
2322BS 215/55 R16 EP300 INDO4
2423BS 215/55 R17 MY-02 THI4
2524BS 215/55 R17 TG90 INDO4
2625BS 215/60 R16 EP30 THI2
2726BS 215/65 R16C R611 THI4
2827BS 215/70 R15C R623 THI4
2928BS 225/55 R17 EP300 THI4
3029BS 225/60 R17 D-SPORT JAP4
3130BS 225/70 R16 D687 JAP4
3231BS 235/55 R17 ER30 JAP4
3332BS 235/60 R17 D400 JAP4
3433BS 245/70 R16 D684 THI4
3534BS 255/70 R16 H005 THI4
3635BS 275/70 R16 H005 THI4
3736BS 285/60 R18 T01 JAP4
3837BS 285/65 R17 R683 JAP4
3938BS 315/80 R22.5 R184 JAP1
4039BS 385/65 R22.5 R164 JAP121
4140BS 8.25R16 R180 JAP1
4241Dayton 315/80R22.5 DS50 THI10
4342FS 1200 R24 FSR4000 JAP20
4443FS 205/65 R15 TZ700 JAP4
4544FS 215/55 R17 TZ700 JAP4
4645FS 225/45 R17 TZ700 JAP4
SH2
 
Upvote 0

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,215,375
Messages
6,124,578
Members
449,174
Latest member
chandan4057

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