Hi everyone,
I've got a spreadsheet with thousands of rows of data. We have duplicated some rows of data to make it easier for another group to read through the file. I need to sum up the totals in column B, but I only want to sum unique values and only the first duplicate row from column A.
[TABLE="class: grid, width: 300"]
<tbody>[TR]
[TD]ColA[/TD]
[TD]ColB[/TD]
[TD]Desired Sum[/TD]
[/TR]
[TR]
[TD]AA[/TD]
[TD]2[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]AA[/TD]
[TD]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]BB[/TD]
[TD]3[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]CC[/TD]
[TD]2[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]DD[/TD]
[TD]5[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]DD[/TD]
[TD]5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]EE[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]FF[/TD]
[TD]4[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]FF[/TD]
[TD]4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]17[/TD]
[/TR]
</tbody>[/TABLE]
As you can see, Column A has 3 duplicates, and in my third column I'm showing how I'd like to count them (only the first occurrance; they'll always be the same value in column B).
I need to sum the values of column B, but only when column A is either unique, or the first in a series of duplicates.
Thanks for the attention
Brandon
I've got a spreadsheet with thousands of rows of data. We have duplicated some rows of data to make it easier for another group to read through the file. I need to sum up the totals in column B, but I only want to sum unique values and only the first duplicate row from column A.
[TABLE="class: grid, width: 300"]
<tbody>[TR]
[TD]ColA[/TD]
[TD]ColB[/TD]
[TD]Desired Sum[/TD]
[/TR]
[TR]
[TD]AA[/TD]
[TD]2[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]AA[/TD]
[TD]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]BB[/TD]
[TD]3[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]CC[/TD]
[TD]2[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]DD[/TD]
[TD]5[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]DD[/TD]
[TD]5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]EE[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]FF[/TD]
[TD]4[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]FF[/TD]
[TD]4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]17[/TD]
[/TR]
</tbody>[/TABLE]
As you can see, Column A has 3 duplicates, and in my third column I'm showing how I'd like to count them (only the first occurrance; they'll always be the same value in column B).
I need to sum the values of column B, but only when column A is either unique, or the first in a series of duplicates.
Thanks for the attention
Brandon