hi
when I search for like my thread , accidently i've foun this thread https://www.excelforum.com/excel-pro...-column.htmlmr. Jindon and Bo_Ry have solved but in my case I would apply the codes for each sheet separatelyi desighn the simple data like what is exiseted in the thread with a bit different but the range is the same . when run the macro should merge all duplicate items in each sheet separately.
so should merge duplicate items based on COL B for each sheet seperatly .
about COL H should sum but COL I should calculate price averege because it changes , COL J should equal COL H X COL I
I put the result in three sheets(result1,result2,result3) . should merge sheet separately
with considering my real data are big and every time I create new sheets so I want the code more flexible
I hope owner's codes see my request
thanks in advance
Bookmarks