Merge 1000 items and 10000 rows for duplicates items from multiple columns

abdo meghari

Well-known Member
Joined
Aug 3, 2021
Messages
635
Office Version
  1. 2019
Hi experts
I need merging column B,C,D into one column and sum value in column E for duplicates items .
the original data
SP.xlsm
ABCDE
3ITEMBRANDTYPEORIGINBALANCE
41245/40R18RE050AJAP36
52245/40R20RE050AJAP19
63245/45R17RE050AJAP15
74245/45R17EA01JAP1
85245/45R19S-03JAP7
96245/40R20RE050AJAP20
107245/45R17RE050AJAP22
118245/65R17D697INDO25
129245/70R16D694JAP3
1310245/70R16D697INDO1
1411245/75R16D697INDO12
1512245/75R17693AJAP623
1613255/30R19RE050AJAP12
1714255/35R18GR90JAP14
1815255/35R20RE050AJAP8
BMS


the result

SP.xlsm
ABC
3ITEMBRANDBALANCE
41245/40R18 RE050A JAP36
52245/40R20 RE050A JAP39
63245/45R17 RE050A JAP37
74245/45R17 EA01 JAP1
85245/45R19 S-03 JAP7
96245/65R17 D697 INDO25
107245/70R16 D694 JAP3
118245/70R16 D697 INDO1
129245/75R16 D697 INDO12
1310245/75R17 693A JAP623
1411255/30R19 RE050A JAP12
1512255/35R18 GR90 JAP14
1613255/35R20 RE050A JAP8
RESULT

and should update in result sheet based on updating BMS sheet when run the macro every time .
I have about 1000 items and could repeat for 10000 rows
thanks
 
second I have question about sorting ,does sort this data are correct ?
I don't know, I understood that you want the data ordered from small to big,
can sort from small to big after merging please?

I suppose you mean column C, or do you want column B?
Or you want C and then alphabetize B.
But these are assumptions, you must be clearer in the requests, in fact in the original post you did not ask for the data to be sorted.

So if you are so kind, could you explain what data do you have and what is the end result you want?
 
Upvote 0

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
But these are assumptions, you must be clearer in the requests, in fact in the original post you did not ask for the data to be sorted.
sorry about it
I suppose you mean column C, or do you want column B?
sould be column B
So if you are so kind, could you explain what data do you have and what is the end result you want?
never mind , after your guiding I change C3 to B3
now sort as the excel does it manually
thank you & @kevin9999 , @alansidman for your assistance :)
have a nice weekend ;)
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,297
Members
452,903
Latest member
Knuddeluff

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