Maths question

Sigh

Active Member
Joined
Oct 24, 2007
Messages
379
I'm racking my brains over this one - If A x B = C, should the average of A x the average of B = the average of C? I think logically it should but I can't make it work exactly in my spreadsheet.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
I don't think that mathematically, that is true.
 
Upvote 0
Absolutely not, because of the multiplication, it is creating "weighted" averages.

You can prove this with a simple example:

A x B = C

1 x 100 =100
1 x 2 = 2
10 x 0 = 0

Average of A = 4
Average of B = 34
Average of C = 34

4 x 34 does not equal 34.
 
Upvote 0
No. They are not related in that way.
 
Upvote 0
I'm racking my brains over this one - If A x B = C, should the average of A x the average of B = the average of C? I think logically it should but I can't make it work exactly in my spreadsheet.
Not the avergae, but the reciprocal.

If: A * B = C
then
A = 1/B * C
and
B = 1/A * C

Thus, when C=1:
A = 1/B
and
B = 1/A
 
Upvote 0
I'm racking my brains over this one - If A x B = C, should the average of A x the average of B = the average of C? I think logically it should but I can't make it work exactly in my spreadsheet.
As Joe pointed out the average of C is a weighted average. The only way you can calculate the average using the values A and B (and not C) is to average each line and sum the results, like this:

assuming you have the values :
A1 x B1 = C1
A2 x B2 = C2
A3 x B3 = C3
and n = the population = 3

The average of C = (C1 + C2 + C3) / n , which can be calculated without referring to any 'C' values like this : ((A1xB1)/n) + ((A2xB2)/n) + ((A3xB3)/n). Using your notation it would be average of A1B1 + average of A2B2 + ... + average of AnBn.

This is a weighted average, which can be calculated very easily using a sumproduct formula in Excel. But you definitely cannot use the average of A x the average of B.

Andrew
 
Upvote 0

Forum statistics

Threads
1,216,052
Messages
6,128,509
Members
449,455
Latest member
jesski

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