+ Reply to Thread
Results 1 to 3 of 3

Summarize Values By Average is Wrong?

  1. #1
    Registered User
    Join Date
    05-19-2018
    Location
    Calgary, Canada
    MS-Off Ver
    MS Excel 365
    Posts
    1

    Summarize Values By Average is Wrong?

    1) See attached file zAverage is Off_1.jpg

    In the two far left coloumns I have Expenses Per Country. I am using "Summarize Values By Sum" to get the total Expenses for each country. For example, in Germany the total expense is $498.78. And in Hungary it is $221.50.

    In the two far right columns I have Average Daily Expenses Per Country. I am using "Summarize Values By Average". My intention is to get the average expense per day in each country. For example, in Germany there are 5 days (27-Sept, 30-Sept, 1-Oct, 7-Oct, and 8-Oct). Excel provides the average as $24.94. This is wrong. The average should be $498.78/5 days = $99.76.

    The same occurs with Hungary which has 6 days (Sept 24, 25, 27, 28, 29, 30). The average expense per day for Hungary should be $221.50/6 days = $36.92 (not $6.92, which is value that Excel provides).

    Is there a step I am missing to get the intented result?

    2) See attached file zAverage is Off_2.jpg for Pivot Table Fields
    Attached Images Attached Images

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Summarize Values By Average is Wrong?

    Taking an average of averages is mathematically wrong, you need to go back to the basic data and calc the overall average from that
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Summarize Values By Average is Wrong?

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Quang PT

+ 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. Wrong Average and standard deviation values in chart group of 3.
    By doters in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 04-13-2018, 11:31 AM
  2. [SOLVED] Create Pivot Table with group dates; summarize values by average; h:mm
    By 3345james in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-24-2015, 10:59 AM
  3. summarize values between 2 years
    By silviario in forum Excel General
    Replies: 1
    Last Post: 04-15-2011, 10:47 AM
  4. Replies: 4
    Last Post: 11-19-2010, 10:49 AM
  5. Summarize daily data into weekly average
    By agentred in forum Excel General
    Replies: 5
    Last Post: 01-19-2009, 06:48 AM
  6. How do I summarize values?
    By BKolb in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-21-2008, 11:32 AM
  7. What is wrong with this =AVERAGE(IF formula?
    By fbarbie in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-16-2005, 11:06 AM

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