+ Reply to Thread
Results 1 to 7 of 7

Pie chart incorrect

  1. #1
    Registered User
    Join Date
    03-08-2009
    Location
    Maryland, USA
    MS-Off Ver
    Excel 2003
    Posts
    15

    Question Pie chart incorrect

    I created a chart/graph that was too complicated for my boss to read, so he asked me to make a simple pie chart. When I did, the percentages it calculated were incorrect and, as a result, the pieces of the pie are wrong, too. It is simple math. What's wrong here? Does anyone know of a fix?

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Pie chart incorrect

    I'd need to see how your data is laid out. Can you upload an example spreadsheet/pie chart?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,441

    Re: Pie chart incorrect

    perhaps you can tell us what data you fed the chart, what values it reported and why you think they are wrong.

    An example workbook would be best
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    03-08-2009
    Location
    Maryland, USA
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Pie chart incorrect

    I've attached a sample chart. If one does a simple percentage calculation, e.g. 303.45/1797, the result should be 16.88%. My chart indicates 14%. Same is true of the other chart on the worksheet.
    Attached Files Attached Files

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Pie chart incorrect

    % is of total
    i.e
    303.45
    1797.00 +
    =
    2100.45
    so
    303.45/2100.45 % = 14.4469
    thats why
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,441

    Re: Pie chart incorrect

    pie charts work out the % of the items as a total rather than item 1 as a percentage of item 2.

    so that's 303.45/(303.45+1797.0) = 14.4%

  7. #7
    Registered User
    Join Date
    03-08-2009
    Location
    Maryland, USA
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Pie chart incorrect

    Thank you folks. Now I understand. Where would I be without you all?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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