clear repeated items into column for all sheets and arrange again

Mussa

Active Member
Joined
Jul 12, 2021
Messages
264
Office Version
  1. 2019
  2. 2010
hi

I would clear and match repeated items in column A for all sheets and arrange data into sheets (se1,se2,se3) based on sheet STANDARD. some sheets contains the whole items in column B as sheets S1,S2 but this is completely matched with sheet STANDARD , SE1 into columns B,C,D together when matching .
ITEM.xlsm
ABCDE
1DEL NOBATCH NO TTLTT1QTY
2CCBT CC-1SS-1TRU400
3CCBT CC-1SS-1LTR240
4CCBT CC-2SS-2FG110
5TOTAL750
6CCN CT CC-1SS-1TRR200
7CCNCT CC-1SS-1LTR220
8TOTAL420
9CDDD CS-1LL-1RRL200
10CDDD CS-2LL-2TTY220
11CDDD CS-3LL-3MMW200
12CDDD CS-4LL-4NNW100
13CDDD CS-2 LL-1 RRL200
14TOTAL920
15CCLLC CC-2SS-2LTR110
16TOTAL110
17CCMLM CC-3SS-3LTR110
18CCMLM CC-4 SS-3LTR111
19TOTAL221
standard
Cell Formulas
RangeFormula
E5E5=SUM(E2:E4)
E8,E19E8=SUM(E6:E7)
E14E14=SUM(E9:E13)
E16E16=SUM(E15:E15)



ITEM.xlsm
ABCDE
1DEL NOBATCH NO TTLTT1QTY
2CCMLM CC-3SS-3LTR110
3CCMLM CC-4 SS-3LTR111
4TOTAL221
5CDDD CS-1LL-1RRL200
6CDDD CS-2LL-2TTY220
7CDDD CS-3LL-3MMW200
8CDDD CS-4LL-4NNW100
9TOTAL720
10CCLLC CC-2SS-2LTR110
11TOTAL110
12CCBT CC-1SS-1LTR240
13TOTAL240
14CCN CT CC-1SS-1TRR200
15CCNCT CC-1SS-1LTR220
16TOTAL420
se1
Cell Formulas
RangeFormula
E4,E16E4=SUM(E2:E3)
E9E9=SUM(E5:E8)
E11,E13E11=SUM(E10:E10)



ITEM.xlsm
ABC
1DEL NOBATCH NO QTY
2CCMLM CC-3 SS-3 LTR110
3CDDD CS-4 LL-4 NNW100
4CCBT CC-1 SS-1 LTR120
5CCBT CC-1 SS-1 TRU200
6CCMLM CC-4 SS-3 LTR111
7CCBT CC-2 SS-2 FG110
8CCNCT CC-1 SS-1 TRR100
9CCNCT CC-1 SS-1 LTR110
10CDDD CS-1 LL-1 RRL200
11CDDD CS-2 LL-2 TTY220
12CDDD CS-3 LL-3 MMW200
13CCLLC CC-2 SS-2 LTR110
se2




ITEM.xlsm
ABC
1DEL NOBATCH NO QTY
2CCBT CC-1 SS-1 TRU200
3CCBT CC-1 SS-1 LTR120
4CCNCT CC-1 SS-1 LTR110
5CDDD CS-2 LL-1 RRL200
6CCBT CC-2 SS-2 FG110
7CCNCT CC-1 SS-1 TRR100
se3



the result
ITEM.xlsm
ABCDE
1DEL NOBATCH NO TTLTT1QTY
2CCBT CC-1SS-1TRU400
3BT CC-1SS-1LTR240
4BT CC-2SS-2FG110
5TOTAL750
6CCN CT CC-1SS-1TRR200
7CT CC-1SS-1LTR220
8TOTAL420
9CDDD CS-1LL-1RRL200
10DD CS-2LL-2TTY220
11DD CS-3LL-3MMW200
12DD CS-4LL-4NNW100
13DD CS-2 LL-1 RRL200
14TOTAL920
15CCLLC CC-2SS-2LTR110
16TOTAL110
17CCMLM CC-3SS-3LTR110
18LM CC-4 SS-3LTR111
19TOTAL221
standard
Cell Formulas
RangeFormula
E5E5=SUM(E2:E4)
E8,E19E8=SUM(E6:E7)
E14E14=SUM(E9:E13)
E16E16=SUM(E15:E15)



ITEM.xlsm
ABCDE
1DEL NOBATCH NO TTLTT1QTY
2CCBT CC-1SS-1LTR240
3TOTAL240
4CCN CT CC-1SS-1TRR200
5CT CC-1SS-1LTR220
6TOTAL420
7CDDD CS-1LL-1RRL200
8DD CS-2LL-2TTY220
9DD CS-3LL-3MMW200
10DD CS-4LL-4NNW100
11TOTAL720
12CCLLC CC-2SS-2LTR110
13TOTAL110
14CCMLM CC-3SS-3LTR110
15LM CC-4 SS-3LTR111
16TOTAL221
se1
Cell Formulas
RangeFormula
E3,E13E3=SUM(E2:E2)
E6,E16E6=SUM(E4:E5)
E11E11=SUM(E7:E10)



ITEM.xlsm
ABC
1DEL NOBATCH NO QTY
2CCBT CC-1 SS-1 TRU200
3BT CC-1 SS-1 LTR120
4BT CC-2 SS-2 FG110
5CCNCT CC-1 SS-1 TRR100
6CT CC-1 SS-1 LTR110
7CDDD CS-1 LL-1 RRL200
8DD CS-2 LL-2 TTY220
9DD CS-3 LL-3 MMW200
10DD CS-4 LL-4 NNW100
11CCLLC CC-2 SS-2 LTR110
12CCMLM CC-3 SS-3 LTR110
13LM CC-4 SS-3 LTR111
se2



ITEM.xlsm
ABC
1DEL NOBATCH NO QTY
2CCBT CC-1 SS-1 TRU200
3BT CC-1 SS-1 LTR120
4BT CC-2 SS-2 FG110
5CCNCT CC-1 SS-1 TRR100
6CT CC-1 SS-1 LTR110
7CDDD CS-2 LL-1 RRL200
se3



I hope the pictues representing requirements what I want it and can be possible by vba
thanks
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,224,827
Messages
6,181,194
Members
453,021
Latest member
pingpong7117

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