alektherussian
New Member
- Joined
- Sep 12, 2014
- Messages
- 8
Hi there,
I have a problem that I can demonstrate in simplified way as follows:
[TABLE="width: 200"]
<tbody>[TR]
[TD]Company
[/TD]
[TD]Amount
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]500
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]200
[/TD]
[/TR]
[TR]
[TD]C
[/TD]
[TD]400
[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]200
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]400
[/TD]
[/TR]
[TR]
[/TR]
</tbody>[/TABLE]
I would like a formula that would first calculate the average over each category (i.e., A = 350, B = 300, and C = 400) and then take the average of the three amounts (i.e., 350). The key is I would like this to be done with a formula(I believe it would have to be some complex array formula) without creating supplemental columns or a PivotTable.
Is this at all possible? Or is writing a custom VBA formula the only option?
Thank you all for you help!
-Alex
I have a problem that I can demonstrate in simplified way as follows:
[TABLE="width: 200"]
<tbody>[TR]
[TD]Company
[/TD]
[TD]Amount
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]500
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]200
[/TD]
[/TR]
[TR]
[TD]C
[/TD]
[TD]400
[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]200
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]400
[/TD]
[/TR]
[TR]
[/TR]
</tbody>[/TABLE]
I would like a formula that would first calculate the average over each category (i.e., A = 350, B = 300, and C = 400) and then take the average of the three amounts (i.e., 350). The key is I would like this to be done with a formula(I believe it would have to be some complex array formula) without creating supplemental columns or a PivotTable.
Is this at all possible? Or is writing a custom VBA formula the only option?
Thank you all for you help!
-Alex