+ Reply to Thread
Results 1 to 7 of 7

Average is not Average

  1. #1
    Forum Contributor
    Join Date
    09-27-2004
    Posts
    133

    Question Average is not Average

    Please see attached spreadsheet.

    I have two columns of values.

    Column #1 contains an outlier so it is marked with an asterisk. Therefore it should not be used in the calculations.

    The average of Column #1 is 138.22.
    The average of Column #2 is 138.97.

    If I average both columns in one formula I get 138.63.
    If I calculate the average of the averages I get 138.59.

    Why is there a difference?
    Attached Files Attached Files
    Last edited by scantor145; 07-30-2018 at 11:33 AM.

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Average is not Average

    Doing average over average is never a right solution and it is just a bad practice.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Contributor
    Join Date
    09-27-2004
    Posts
    133

    Re: Average is not Average

    That may be true, but it doesn't explain the issue.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Average is not Average

    Perhaps I am misunderstanding, but it is a fairly well known property of averages that the average of a set of numbers is not the same as the average of two subsets of the set of numbers. You should be able to see this from the definition of average as applied to both scenarios.

    Average of the whole set =[sum(a_values)+sum(b_values)]/[count(a_values)+count(b_values)]
    average of the two averages =[sum(a_values)/count(a_values)+sum(b_values)/count(b_values)]/2

    I expect that there are specific situations where the two averages will be the same [such as when count(a_values)=count(b_values)], but, in general, the two averages are not expected to be the same.

    Which method of calculating the overall average depends on exactly what you are doing. When in doubt, they usually say that the first approach is more correct, but you need to know enough about what you are doing to make that final determination.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Average is not Average

    This is correct:

    =AVERAGE(C4:C9,F4:F9)

    It's the sum of all values in the ranges excluding the one with the asterisk divided by 11 - do the calculation manually and you will see.

    The other calculation is:

    =AVERAGE(C10,F10)

    This is the sum of C10 and F10 divided by 2. This is not correct, as it weights the two sums equally.

    C4:C9 has only five valid numbers - its average is the sum divided by FIVE.

    F4:F9 has six valid numbers - its average is the sum divided by SIX.

    This means that the average of all valid numbers in the two renages is their sum divided by ELEVEN.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: Average is not Average

    Average of a set and average of averages is not the same thing, the only time they are equal is by fluke/chance (generally seen in small sample sets/examples.) or when each subset are evenly divisible by the total elements of the set (because 100/4 = 50/2).

    So for example a data set like: 100, 100, 50, 100 would have the same average for the whole set as the average of the average of A and B & C and D.

    IE: 100 + 100 = 200 /2 = 100
    50 + 100 = 150 /2 = 75
    100 + 75 = 175 /2 = 87.5
    or
    100 + 100 + 50 + 100 = 350 /4 = (350/2)/(4/2) = 175/2 = 87.5

    But the set: 100, 100, 50, 100, 100 will not have the same average of averages when the grouping is 2/3.

    IE: A and B then C, D and E
    100 +100 = 200 /2 = 100
    50 + 100 + 100 = 250 /3 = 83.3333
    100 + 83.3333 = 183.3333/2 = 91.6666666666667
    but
    100 + 100 + 50 + 100 + 100 = 450 /5 = 90

    90 <> 91.6666666666667
    Ways to get help: Post clear questions, explain your overall goal, supply as much background as possible, respond to questions asked of you by those trying to help and post sample(s) files.

    "I am here to help, not do it for people" -Me

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Average is not Average

    Thanks for the rep!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 04-17-2018, 09:45 PM
  2. SumProduct N/A Error, Quarterly Average, Running Average, From and to Userform
    By Sorjas in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-18-2015, 07:40 PM
  3. [SOLVED] need formula to average cells but if one cell has N/A then dont average and input N/A
    By CityInspector in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2013, 04:16 PM
  4. [SOLVED] Find Average, Return Column Header of Number Closest To Average
    By djmyers in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 07-07-2013, 04:19 PM
  5. Replies: 14
    Last Post: 06-14-2013, 09:00 PM
  6. The rank of average ranks excluding empty cells but including their average.
    By Terminal45 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-21-2012, 03:44 AM
  7. Replies: 5
    Last Post: 06-19-2012, 04:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1