I am trying to create a column which is the sum of the unique values of column SIZE
TYPE SIZE
A 24522145.17
A 35359867.65
A 35359867.65
A 35359867.65
A 35359867.65
A 35359867.65
A 24522145.17
A 35359867.65
A 35359867.65
A 8527174.786
I don't want the count of unique values but the sum, that from the data above the sum will be adding (24522145.17 + 35359867.65 + 8527174.786). This after grouping by variable TYPE. Thanks!