VBA code for summing up duplicates and delete duplicates

ajcarlos18

New Member
Joined
Sep 4, 2017
Messages
15
Hi,

I'm reading and using all the codes posted in most of the threads but I still found difficulty in running smoothly in my worksheet. May I ask for your help to formulate a code that will sum up all the duplicates in Criteria Range- column I (it will not include blank spaces) and sum range -column M and eventually deleting all the duplicates. Blank spaces in column I will remain as-is.

Here is the sample of the sheet:

ABCDEF G H IJKLM
411101CONSUMABLES311199LIABILITIES70014607/18 Bonded Store IND / IDNSRINIVASUSD-962.531-962.53
411101CONSUMABLES311199LIABILITIES7001477/18 BS PROFIT-3M KHO MARK ANG USD84.56184.56
411101CONSUMABLES311199LIABILITIES7001507/18 BS-CREW SLOPCHEST USD-866.091-866.09
411101CONSUMABLES312211PAINT-HULL,DECK,ENG900114Reversal of voucherno: 900097 B10180058 USD1099.611099.6
411101CONSUMABLES312211PAINT-HULL,DECK,ENG93038707/18 PO NOT SUPPLIED B10180058 USD-1099.61-1099.6
411101CONSUMABLES312221STORES-DECK210249DECK CONSUMABLE ORDER 2ND QUARxxxx SUPPLIERSB10180068***/0393/18-19USD-48.721-48.72
411101CONSUMABLES312221STORES-DECK210249DECK CONSUMABLE ORDER 2ND QUARxxxx SUPPLIERSB10180068***/0393/18-19USD18.3118.3
411101CONSUMABLES312221STORES-DECK210249DECK CONSUMABLE ORDER 2ND QUARxxxx SUPPLIERSB10180068***/0393/18-19USD9.819.8
411101CONSUMABLES312221STORES-DECK210249DECK CONSUMABLE ORDER 2ND QUARxxxx SUPPLIERSB10180068***/0393/18-19USD34.28134.28
411101CONSUMABLES312221STORES-DECK210249DECK CONSUMABLE ORDER 2ND QUARxxxx SUPPLIERSB10180068***/0393/18-19USD25.14125.14
411101CONSUMABLES312221STORES-DECK210249DECK CONSUMABLE ORDER 2ND QUARxxxx SUPPLIERSB10180068***/0393/18-19USD35.43135.43
411101CONSUMABLES312221STORES-DECK210249DECK CONSUMABLE ORDER 2ND QUARxxxx SUPPLIERSB10180068***/0393/18-19USD18.1118.1
411101CONSUMABLES312221STORES-DECK210249DECK CONSUMABLE ORDER 2ND QUARxxxx SUPPLIERSB10180068***/0393/18-19USD2.0412.04
411101CONSUMABLES312221STORES-DECK210249DECK CONSUMABLE ORDER 2ND QUARxxxx SUPPLIERSB10180068***/0393/18-19USD22.9122.9



<colgroup><col span="3"><col><col span="9"></colgroup><tbody>
</tbody>

Thank you very much for all your help.
 

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,053
Messages
6,122,888
Members
449,097
Latest member
dbomb1414

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