Hi,
I am wondering if there is anyway to calculate the Product for column "value" based on category with just using excel formula?
For example, based on the table below. I want to find the product for category A = 1*2, category B = 3*2*2 and C = 3*1*2.
I tried using SUMPRODUCT but instead of multiply, it sum the array.
[TABLE="width: 160"]
<colgroup><col width="80" span="2" style="width:60pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 80, align: center"]Category[/TD]
[TD="class: xl65, width: 80, align: center"]value[/TD]
[/TR]
[TR]
[TD="class: xl65, align: center"]A[/TD]
[TD="class: xl65, align: center"]1[/TD]
[/TR]
[TR]
[TD="class: xl65, align: center"]A[/TD]
[TD="class: xl65, align: center"]2[/TD]
[/TR]
[TR]
[TD="class: xl65, align: center"]B[/TD]
[TD="class: xl65, align: center"]3[/TD]
[/TR]
[TR]
[TD="class: xl65, align: center"]B[/TD]
[TD="class: xl65, align: center"]2[/TD]
[/TR]
[TR]
[TD="class: xl65, align: center"]B[/TD]
[TD="class: xl65, align: center"]2[/TD]
[/TR]
[TR]
[TD="class: xl65, align: center"]C[/TD]
[TD="class: xl65, align: center"]3[/TD]
[/TR]
[TR]
[TD="class: xl65, align: center"]C[/TD]
[TD="class: xl65, align: center"]1[/TD]
[/TR]
[TR]
[TD="class: xl65, align: center"]C[/TD]
[TD="class: xl65, align: center"]2[/TD]
[/TR]
</tbody>[/TABLE]
I am wondering if there is anyway to calculate the Product for column "value" based on category with just using excel formula?
For example, based on the table below. I want to find the product for category A = 1*2, category B = 3*2*2 and C = 3*1*2.
I tried using SUMPRODUCT but instead of multiply, it sum the array.
[TABLE="width: 160"]
<colgroup><col width="80" span="2" style="width:60pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 80, align: center"]Category[/TD]
[TD="class: xl65, width: 80, align: center"]value[/TD]
[/TR]
[TR]
[TD="class: xl65, align: center"]A[/TD]
[TD="class: xl65, align: center"]1[/TD]
[/TR]
[TR]
[TD="class: xl65, align: center"]A[/TD]
[TD="class: xl65, align: center"]2[/TD]
[/TR]
[TR]
[TD="class: xl65, align: center"]B[/TD]
[TD="class: xl65, align: center"]3[/TD]
[/TR]
[TR]
[TD="class: xl65, align: center"]B[/TD]
[TD="class: xl65, align: center"]2[/TD]
[/TR]
[TR]
[TD="class: xl65, align: center"]B[/TD]
[TD="class: xl65, align: center"]2[/TD]
[/TR]
[TR]
[TD="class: xl65, align: center"]C[/TD]
[TD="class: xl65, align: center"]3[/TD]
[/TR]
[TR]
[TD="class: xl65, align: center"]C[/TD]
[TD="class: xl65, align: center"]1[/TD]
[/TR]
[TR]
[TD="class: xl65, align: center"]C[/TD]
[TD="class: xl65, align: center"]2[/TD]
[/TR]
</tbody>[/TABLE]