Results 1 to 9 of 9

Thread: Resolved {still not happy though}- Pie Chart causing great anger

  1. #1

    Thread Starter
    Frenzied Member Spajeoly's Avatar
    Join Date
    Mar 2003
    Location
    Utah
    Posts
    1,068

    Resolved {still not happy though}- Pie Chart causing great anger

    So it's funny that with all the advanced knowledge I have with Excel, something as simple as a pie chart is causing me problems. Thus proving I am still a moron and can be dominated by Excel.

    Now I have the following data laid out like so:

    Single Family 2 Party
    63 122 53

    Now, when I select these and try to make a pie chart out of them, it gives me a chart with Family & 2 party only... Single is listed there, but it doesn't have a part in the pie.

    Why don't single people get pie? I liked pie even when I was single.

    Any ideas?
    Last edited by Spajeoly; Aug 26th, 2008 at 12:07 PM.

  2. #2

    Thread Starter
    Frenzied Member Spajeoly's Avatar
    Join Date
    Mar 2003
    Location
    Utah
    Posts
    1,068

    Re: Pie Chart causing great anger

    Ok, so I figured out that Excel simply is not recognizing numbers. Period, no matter how I format the cells, I cannot Auto Sum, I cannot add manually with any formulas.

    If I delete the cells, (Right click > Delete) it seems to correct it, but wow... What is this?

  3. #3
    Lively Member
    Join Date
    Jun 2008
    Location
    Chicago and Grand Rapids
    Posts
    95

    Re: Pie Chart causing great anger

    if you just enter that data in a new workbook and select it and make a pie chart does it work?

    i just did that and it worked fine...

    EDIT: nevermind. i didnt see your last post. good luck with that
    vw = Volkswagen
    gti = GTI
    R32 = R32
    vr6 = VR6 engine
    lets go racing

  4. #4

    Thread Starter
    Frenzied Member Spajeoly's Avatar
    Join Date
    Mar 2003
    Location
    Utah
    Posts
    1,068

    Re: Pie Chart causing great anger

    Heh, yeah...

    These numbers were pasted as text from a PDF file, but Excel makes them so I cannot even convert them to numbers.

    God I hate Excel sometimes.

  5. #5

    Thread Starter
    Frenzied Member Spajeoly's Avatar
    Join Date
    Mar 2003
    Location
    Utah
    Posts
    1,068

    Re: Pie Chart causing great anger

    Got it!

    I was parsing out the numbers with Left() as so:

    Code:
    =LEFT(C8,SEARCH(" ",C8,1)-1)
    Which would pull them, but Excel would format them as text, not seeing a value and holding on to that text format as a "I WILL BE FOUND DEAD AND COLD BEFORE I LET YOU USE THESE AS NUMBERS" psychopathic maniac.

    I changed the code to:
    Code:
    =VALUE(LEFT(C8,SEARCH(" ",C8,1)-1))
    It fixed everything.
    :/

  6. #6

    Thread Starter
    Frenzied Member Spajeoly's Avatar
    Join Date
    Mar 2003
    Location
    Utah
    Posts
    1,068

    Re: Resolved {still not happy though}- Pie Chart causing great anger

    Because it made me very angry...

    I might change the title when I am done being mad, but I doubt it...

  7. #7

    Thread Starter
    Frenzied Member Spajeoly's Avatar
    Join Date
    Mar 2003
    Location
    Utah
    Posts
    1,068

    Re: Resolved {still not happy though}- Pie Chart causing great anger

    I don't care if it was coded that way. The fact was, it was pulling an integer with no spaces or anything. So to not let me change the cell format to number is kind of a joke. If you ask me.

    See, what you're doing here is being too serious in what is supposed to be a somewhat funny situation.

  8. #8

    Thread Starter
    Frenzied Member Spajeoly's Avatar
    Join Date
    Mar 2003
    Location
    Utah
    Posts
    1,068

    Re: Resolved {still not happy though}- Pie Chart causing great anger

    Yep, I appreciate the help.

    More often than not my posts for help resolve themselves out as I just need to type it out and think about it that way.

  9. #9
    Frenzied Member zaza's Avatar
    Join Date
    Apr 2001
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,486

    Re: Resolved {still not happy though}- Pie Chart causing great anger

    Another example:

    vb Code:
    1. x = Right("abc49",2)
    2. y = 7*x
    3. msgbox(y)


    Would you expect to return 343? Or would you expect to have to define x as an integer and then use CInt to convert it from a string?

    It's a bit less obvious when it's in an Excel formula rather than code, but the principle is the same. I guess maybe it could have thrown an error when trying to format the cell as number when the formula outputs text...?



    You'll remember it next time.
    I use VB 6, VB.Net 2003 and Office 2010



    Code:
    Excel Graphing | Excel Timer | Excel Tips and Tricks | Add controls in Office | Data tables in Excel | Gaussian random number distribution (VB6/VBA,VB.Net) | Coordinates, Vectors and 3D volumes

Posting Permissions

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



Click Here to Expand Forum to Full Width