+ Reply to Thread
Results 1 to 7 of 7

Graph

  1. #1
    Registered User
    Join Date
    06-15-2011
    Location
    Tidewater, Virginia
    MS-Off Ver
    Excel 2000
    Posts
    7

    Graph

    I'm pretty new to Excel (using 2000), and I have a start on a graph, my first. I cannot get it to plot correctly, probably because I have the wrong X scaling.

    Actually this is a step toward my goal, which is to show data for just the hour and minute, and perhaps for a defined period, such as 8am to 8pm.

    As you can tell, columns C and D are the two components of B. So ideally the graph would be a bar graph showing the total of B broken down in to the C and D parts. I've seen graphs like this, but have no clue how to do this. I'm stuck on a simple graph, so that sounds like advanced stuff to me.

    Anticipating the result, though, the problem is having so many data points. 60 per hour, and even if it was limited to 8 hours, that's 480. Maybe a bar chart would look ok, but all those lines smushed together? Maybe an area graph instead?

    And eventually I want to add a horizontal line that shows the 95th percentile value. I've tinkered with calculating that, but not the foggiest idea of how to layer that in.

    So - a simple graph, but some interesting twists. I'd appreciate learning and help.

    Rick
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Simple graph, with a twist

    Hi Rick,

    Does the attached offer you any ideas?

    As you suggest charting each individual point, whilst perfectly feasible, might look messy for 8 hours worth of data. I've added a second chart which plots the 10 minute means, which might be another option - could also be Median or Mode if you prefer.

    I've assumed you've only got Excel 2003 and not 2007/2010 and hence have used SUMPRODUCT() formulae. If you had 2007 you could use the more useful AVERAGEIF() type formula.
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

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

    Re: Graph

    Your x axis values are date/time. Column charts only go down as far as individual days for date charts.
    If you format the Scale to be Category rather than Automatic or Time series you will see all the individual data points.
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    06-15-2011
    Location
    Tidewater, Virginia
    MS-Off Ver
    Excel 2000
    Posts
    7

    Re: Graph

    Quote Originally Posted by Andy Pope View Post
    Your x axis values are date/time. Column charts only go down as far as individual days for date charts.
    If you format the Scale to be Category rather than Automatic or Time series you will see all the individual data points.
    I'm grateful for your comments. Honestly, I really don't understand. I see that my suggested graph uses date/time for x axis. Column charts are day only? Yet I saw individual time periods, briefly, before it converted itself apparently to a singe day.

    So how would I format the scale to be Category?

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Simple graph, with a twist

    Hi,

    I subsequently realised I'd charted the 90th percentile not the 95th as you'd specified, but I guess you probably realise that and just need to change the 0.9 to 0.95 in the =PERCENTILE() formula.

    Regards

  6. #6
    Registered User
    Join Date
    06-15-2011
    Location
    Tidewater, Virginia
    MS-Off Ver
    Excel 2000
    Posts
    7

    Re: Simple graph, with a twist

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    I subsequently realised I'd charted the 90th percentile not the 95th as you'd specified, but I guess you probably realise that and just need to change the 0.9 to 0.95 in the =PERCENTILE() formula.

    Regards
    Yes, I noticed that, no problem. In my previous testing I had the value as a named cell variable. Easy to change it to anything the customer wants.

    Rick

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

    Re: Graph

    Right click chart and pick Chart Options.
    On the Axis tab set the Value axis to Category.

    I have altered the chart and there is screen shot of the Chart Options dialog on worksheet
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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