Counting average number of unique outputs

sultanijaz

New Member
Joined
Nov 11, 2015
Messages
2
Hi all,

Trying to figure out how to do this, even a long winded way if anyone has any ideas.
[TABLE="width: 194"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Company[/TD]
[TD]Spend Category[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]Gas[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]Electricity[/TD]
[/TR]
[TR]
[TD]DEF[/TD]
[TD]Water[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]Electricity[/TD]
[/TR]
</tbody>[/TABLE]

I have something like the table above and the end goal is to calculate the average number of spend categories per company. Some companies will have more than one of the same spend categories.

Any help would be appreciated.

Thanks
Sultan
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
AVERAGE of COUNTS is not a built in feature of Pivot Tables. You will have to go to PowerPivot/DAX formulas to feed a Pivot Table via data model.
You could also go old-school with an array-formula...
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top