Flora Edwards
asked on
Excel VBA Sum amount of identical rows and delete duplicate
please see attached File.
I have two tables, the current one and the result needed.
i need to VBA that when i run in on current it make it like the "result needed"
basically, i have a huge data that i want to get rid of the identical rows by summing thier Order total and then deleting them.
thank you.
EE.xlsx
I have two tables, the current one and the result needed.
i need to VBA that when i run in on current it make it like the "result needed"
basically, i have a huge data that i want to get rid of the identical rows by summing thier Order total and then deleting them.
thank you.
EE.xlsx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Dear Rob,
I think i am going to accept and use the solution you have provided.
i think this is the best way to do this.
thank you very much for your help.
I think i am going to accept and use the solution you have provided.
i think this is the best way to do this.
thank you very much for your help.
If you leave the pivot with links to the source data and copy/paste elsewhere each time, you can then just update source with new data, refresh pivot, copy elsewhere again.
The pivot data range can be dynamic for when the size of the data changes.
Thanks
Rob
The pivot data range can be dynamic for when the size of the data changes.
Thanks
Rob
ASKER
Thank you Rob.
this is very helpful
this is very helpful
ASKER
i need to do this everyday for a new set of data and pivot table can take alot of time. would this be possible to be done programmatically using VBA?
thanks again