Complex weighted average calculation

jtklepp

New Member
Joined
Dec 5, 2008
Messages
22
I have a spreadsheet with the following data (sample):
Sample%20sheet.jpg


What I am trying to do is the following: I want to calculate the average Conversion rate for each Unit per Month for the ABC Core Product

Customers will only have one Core Product, either ABC or something else. If the customer does not have ABC, the data should not be included in counting the average.

For the relevant data, the average conversion rate needs to be weighted based on the number of Users per Unit. So as an example, in the data shown ACME in October has 612 Users for Unit LAX, while Company has 96, so ACME's conversion for October counts more than 6 times as much to figure out the overall average for October for LAX.

I have tried with multiple pivot tables to eventually get to what I need, but it is time consuming and there are thousands of lines of data, with 100s of Customers and 100s of Unit id's, so this is not very practical. Any help in the right direction would be much appreciated.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
In line with the pivot table approach, I would be to add a new field (ConversionWT) that multiplies the user count * the conversion rate. Then I'd add a calculated pivot field WgtAvg = ConversionWT/Users that you can toss into the values section of the pivot table.
 
Upvote 0
Indeed, that does work well, and is more elegant than the solution I came up with. Thank you very much!
 
Upvote 0

Forum statistics

Threads
1,216,731
Messages
6,132,389
Members
449,725
Latest member
Enero1

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