VBA to merge duplicate rows and sum values

MrTD

New Member
Joined
Feb 12, 2020
Messages
5
Office Version
  1. 2016
Platform
  1. Windows
Hi all,

I found this previous thread that is similar to what I need but haven't had joy with any of the codes provided (super noob in the world of VBA).

I need to merge different Excel sheets, where column A, C & D are exactly the same. If this is true then the values column (F) should be totaled and merged to make one row of data. The remaining cells not mentioned can be the same and aren't too important. I've used Power Query to merge multiple sheets and append so all appear in one document (if there is a better way to do this then open to suggestions). Just need help with this part.

Excel VBA help.JPG


Any help would be greatly appreciated.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Thanks sandy but there will be hundreds of different variations. Was hoping that somebody had a code that would make this process more efficient?
 
Upvote 0
so your description isn't clear enough
try again
 
Last edited:
Upvote 0
Wasn't aware of this function, worked a treat. Thanks
 
Upvote 0

Forum statistics

Threads
1,214,929
Messages
6,122,317
Members
449,081
Latest member
tanurai

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