+ Reply to Thread
Results 1 to 6 of 6

Wrong Average and standard deviation values in chart group of 3.

  1. #1
    Registered User
    Join Date
    05-18-2017
    Location
    Sweden
    MS-Off Ver
    2013/2016
    Posts
    22

    Wrong Average and standard deviation values in chart group of 3.

    Hello again, I have figured out some of my graphs problems and it seems to me
    that the excel file graph im linking here now visualizes the average lines wrong/inverted from the value i seeks to show in the graphs.

    The png picture shows my "desired results" of the avg lines.
    In the attached excel file below the picture u can see my excel graph example which has the wrong avg lines.

    Calculating the avg myself gives the lines in the png which seem to show the correct avg on the graph,
    however in my excel file it seems that the avg lines are inverted somehow?
    For example the red graphs avg line in the excel file goes downwards when it should be more upwards.
    It displays the value wrong atleast or the visualization is very off and i can figure out how to fix it.

    I want percentages for normalization in the actual graphs so I can not just use the actual values only.
    I would appreaciate quick help with this one.
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Wrong Average and standard deviation values in chart group of 3.

    The chart in the attachment seems to be based on the percentages of the five categories. Since percentages should add to 100% the expected average would be 20%, which is what the following formula (pasted into cell L6 and dragged over and down to N20) yields:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    05-18-2017
    Location
    Sweden
    MS-Off Ver
    2013/2016
    Posts
    22

    Re: Wrong Average and standard deviation values in chart group of 3.

    Yes hello, I understand that the raw average calculation of the percentages always gives 20% which gives me a useless average line to me.

    The problem is that I would really like to have the average and stdav lines like shown in my example picture, however this method only works when not normalizing the data to percentages,

    My problem is that I want to have the values in the actual graph columns as normalized percentages, but ALSO have the average+stdav lines visible like if the data was not percentages,
    Is it possible to somehow combine the percentage graph with raw values average and stdav lines onto that graph correctly?
    I hope someone understands what i mean and maybe there is a better method to doing this..

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Wrong Average and standard deviation values in chart group of 3.

    If I now understand perhaps the graph in the attached file is shows the results that you want.
    The graph ties the averages and standard deviations to a secondary vertical axis scaled from 1 to 20.
    Averages and standard deviations are taken from the previously calculated values in column D.
    Let us know if you have any questions.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-18-2017
    Location
    Sweden
    MS-Off Ver
    2013/2016
    Posts
    22

    Re: Wrong Average and standard deviation values in chart group of 3.

    Yes thank you, now the graphs average lines and size differences looks much better and more correct even with percentages, im just wondering if the standard deviation lines in the file you sent are also correct now as their values are different from my calculations before?

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Wrong Average and standard deviation values in chart group of 3.

    I didn't change the calculations in column D. However I would note that the calculation for standard deviation is using STDEV function, which is for finding the standard deviation of a sample. Since the values in column C represent total counts of categories in column B, and since you are using the 2013 version of Excel, you might try using the function STDEV.P instead.
    Let us know if you have any questions.

+ 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. Standard deviation - New average
    By passco in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-24-2017, 03:06 AM
  2. [SOLVED] adding mean and standard deviation values to chart while having % values
    By doters in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-19-2017, 05:09 PM
  3. visualise mean and standard deviation values in chart/graph
    By doters in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 07-17-2017, 05:08 AM
  4. Replies: 3
    Last Post: 07-15-2017, 12:29 PM
  5. SQL calculate Average and Standard Deviation and Group BY
    By anrichards22 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-09-2015, 05:49 AM
  6. Replies: 2
    Last Post: 08-23-2007, 03:07 AM

Tags for this Thread

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