+ Reply to Thread
Results 1 to 6 of 6

Start my chart at 12PM rather than 12AM

  1. #1
    Registered User
    Join Date
    04-28-2014
    Location
    Charlotte
    MS-Off Ver
    Excel 2013
    Posts
    6

    Start my chart at 12PM rather than 12AM

    Under my pivot chart, It shows hours 0 to 23 hundred (for time). Can I start the graph to go from 12 to 11


    Not - 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
    I want - 12 13 14 15 16 17 18 19 20 21 22 23 0 1 2 3 4 5 6 7 8 9 10 11

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Start my chart at 12PM rather than 12AM

    I was wondering if there were an elegant solution to your problem, but I can't think of one. Since no one has responded, I'll give you my thoughts.

    I assume you want this to start on noon of day 1 and then end at 11 am of day 2. In order for Excel to 'sort' this properly, you should make sure you have a day combined with your time in your data source table. If you then have the 'Row Label' as the date/time data, then group it by Day and by Hour, it should give you the ordering you want. I encountered two 'gotchas' that may make this problematic:
    1) the table and the chart now have the day and the hour shown, with the hours being subsets of each day
    2) Excel formats the hours by adding AM and PM, so you lose the military time format you had. I could not find a way to format the row data, even when I change the Number Format.
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

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

    Re: Start my chart at 12PM rather than 12AM

    Your solution should work Pauley.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  4. #4
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Start my chart at 12PM rather than 12AM

    Hi Andy,
    they said it was a pivot chart, and that is where Excel seems to use its own formatting rules. If a standard chart meets carrolct's needs, then your solution should work. I just had a feeling a pivot chart was needed for some reason (e.g. multiple records from 1:00 to 1:59 that need to be grouped to 1:00). carrolct could create a pseudo-pivot chart to 'compress' the data by hour, and then use a standard chart.

    Sure wish I knew why I could not change the row label format in the pivot table. I looked around the net, and it seems to focus on changing the value data's format. Maybe I'll post a question, but it is not a critical issue for me right now. I'm sure Excel is just looking after my best interest...

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

    Re: Start my chart at 12PM rather than 12AM

    You can do it in a pivot table/chart. I set the number format of the row items.

    It would help if the OP could post example file.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Start my chart at 12PM rather than 12AM

    Hi Andy,
    Not wanting to hijack this thread I opened a new one here:
    http://www.excelforum.com/excel-char...ble-chart.html

    It seems that once the pivot table is 'grouped' to account for potential tasks occurring on the same hour, the ability to format the rows is removed (or at least I could not find a way).

    Pauley

+ 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. Only one bold gridline at 12AM
    By xitvp in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-15-2008, 10:24 AM
  2. Replies: 0
    Last Post: 05-16-2006, 08:35 AM
  3. [SOLVED] Excel Formula?--> if A1=11am, then D5=A1; if A1=12pm, then D10=A1
    By BrightEyes_PR in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-20-2006, 08:20 PM
  4. Excel Formula?--> if A1=11am, then D5=A1; if A1=12pm, then D10=A1
    By BrightEyes_PR in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 02-20-2006, 08:15 PM

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