Hi,
I have a dataset, column A are ID numbers and column B are codes. When the is a duplicate ID and code from the next row, I want to sum a certain column C as many duplicates as there are. So for example, dataset could look like
A B C
123 abc 1
123 abc 4
123 bg 3
356 fh 5
I want to sum the 123, abc values in column C, that is, number 5. The problem is there isn't always just one duplicate but sometimes many, how would I go about this problem?
Thanks!
I have a dataset, column A are ID numbers and column B are codes. When the is a duplicate ID and code from the next row, I want to sum a certain column C as many duplicates as there are. So for example, dataset could look like
A B C
123 abc 1
123 abc 4
123 bg 3
356 fh 5
I want to sum the 123, abc values in column C, that is, number 5. The problem is there isn't always just one duplicate but sometimes many, how would I go about this problem?
Thanks!