I have a column A, that I want to sum, but since the rows repeat, I only want to sum the values for the distinct values of column B.
Said another way - In the table, there may be many rows for a given value of B, but I only want to sum the value in A for distinct values of B.
I am certain that the value of A will not be different for any given value of B.
Example table:
| Column A | Column B | Column C
|
|---|
| 20 | abc | other interesting stuff |
| 20 | abc | more interesting stuff |
| 30 | def | here |
| 30 | def | is |
| 30 | def | some |
| 30 | def | too |
So, I want a logical column that will total "50" for this data.... the 20 plus the 30.
I cannot find a function that will allow me to specify this in a logical column in the repository. Any ideas?
Thanks,
Scott