hi all,
I have data that's formatted as follows:
[TABLE="width: 204"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Col_A
Ontario[/TD]
[TD]Col_B
Ontario1[/TD]
[TD="align: right"]Col_C
1[/TD]
[/TR]
[TR]
[TD]Ontario[/TD]
[TD]Ontario1[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Ontario[/TD]
[TD]Ontario2[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Ontario[/TD]
[TD]Ontario2[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Ontario[/TD]
[TD]Ontario2[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Alberta[/TD]
[TD]Alberta1[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Alberta[/TD]
[TD]Alberta1[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Alberta[/TD]
[TD]Alberta1[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Alberta[/TD]
[TD]Alberta2[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]Alberta[/TD]
[TD]Alberta3[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]Alberta[/TD]
[TD]Alberta3[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]Manitoba[/TD]
[TD]Manitoba1[/TD]
[TD="align: right"]6[/TD]
[/TR]
[TR]
[TD]Manitoba[/TD]
[TD]Manitoba2[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]Manitoba[/TD]
[TD]Manitoba2[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]Manitoba[/TD]
[TD]Manitoba2[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]Manitoba[/TD]
[TD]Manitoba3[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD]Manitoba[/TD]
[TD]Manitoba3[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
</tbody>[/TABLE]
on another sheet, I am looking to add a sumifs type formula based on column A which sums the data in column C, but only for the first instance of whatever value is in column b. i.e. sum for Ontario should be 1+2 = 3. Sum for Alberta should be 12. Sum for Manitoba should be 21. Thank you in advance for any help!
I have data that's formatted as follows:
[TABLE="width: 204"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Col_A
Ontario[/TD]
[TD]Col_B
Ontario1[/TD]
[TD="align: right"]Col_C
1[/TD]
[/TR]
[TR]
[TD]Ontario[/TD]
[TD]Ontario1[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Ontario[/TD]
[TD]Ontario2[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Ontario[/TD]
[TD]Ontario2[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Ontario[/TD]
[TD]Ontario2[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Alberta[/TD]
[TD]Alberta1[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Alberta[/TD]
[TD]Alberta1[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Alberta[/TD]
[TD]Alberta1[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Alberta[/TD]
[TD]Alberta2[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]Alberta[/TD]
[TD]Alberta3[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]Alberta[/TD]
[TD]Alberta3[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]Manitoba[/TD]
[TD]Manitoba1[/TD]
[TD="align: right"]6[/TD]
[/TR]
[TR]
[TD]Manitoba[/TD]
[TD]Manitoba2[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]Manitoba[/TD]
[TD]Manitoba2[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]Manitoba[/TD]
[TD]Manitoba2[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]Manitoba[/TD]
[TD]Manitoba3[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD]Manitoba[/TD]
[TD]Manitoba3[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
</tbody>[/TABLE]
on another sheet, I am looking to add a sumifs type formula based on column A which sums the data in column C, but only for the first instance of whatever value is in column b. i.e. sum for Ontario should be 1+2 = 3. Sum for Alberta should be 12. Sum for Manitoba should be 21. Thank you in advance for any help!