hi
I would merge data by macro based on COL B with summing the values. in col I if contains the same values not shouldn't sum based on duplicated item in COL B and if the values are different for duplicate items in COL B then should calculate and using function average . so I put expected result in sheet OUTPUT
note: the duplicated items are existed in the same sheet and the others and I creat a new sheet every time so it should be dynamic
Bookmarks