I am looking for a way/function to calculate SUM values in ColumnC based in the following data:
Column C needs to sum all the values in Column B as long as the grouping in ColumnA is the same.
Each row in Column C generates value 0 if the row1 colA and row2 colA are the same, otherwise it aggregates the sum values with the same group in Column A.
A B C
10 1 0
10 2 0
10 3 0
10 4 10
20 5 0
20 6 11
30 7 0
30 8 0
30 9 0
Please kindly let me know. Thanks in advance!
-Sam
Column C needs to sum all the values in Column B as long as the grouping in ColumnA is the same.
Each row in Column C generates value 0 if the row1 colA and row2 colA are the same, otherwise it aggregates the sum values with the same group in Column A.
A B C
10 1 0
10 2 0
10 3 0
10 4 10
20 5 0
20 6 11
30 7 0
30 8 0
30 9 0
Please kindly let me know. Thanks in advance!
-Sam