+ Reply to Thread
Results 1 to 7 of 7

Excel 2007 : Data Table in Chart has Incorrect Labels & Will Not Allow Zero's to be Charted as "Gaps"

  1. #1
    Registered User
    Join Date
    06-07-2012
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2007
    Posts
    10

    Data Table in Chart has Incorrect Labels & Will Not Allow Zero's to be Charted as "Gaps"

    When I created a chart from a table and chose the option to add a data table to the chart, the resulting data table has the column headings reversed (not the data, just the headings). The chart data table shows the data in the correct order, but the Dec11 data has the heading of Aug11, the Nov11 data has the heading of Sep11, etc.

    Also, I only want the graph to reflect data where there is a month label; at a minimum, not show the zero's. But when I select "Gaps" in the Select Data box, it still shows the line graph starting at zero rather than starting at the first value.

    The data and resulting graph are attached.

    Thanks for any help!
    Attached Images Attached Images

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

    Re: Data Table in Chart has Incorrect Labels & Will Not Allow Zero's to be Charted as "Gap

    Format the axis as text rather than dates.
    Either clean the cells of zero or use NA(). Gaps will not create gaps for zero or cells that contain formula.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    06-07-2012
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Data Table in Chart has Incorrect Labels & Will Not Allow Zero's to be Charted as "Gap

    Thanks, formatting the axis worked. Now for the gaps...my table is automatically populating from other cells. Do you think I could use an IF statement that says basically, if the other cell is not 0 or empty, give me NA (or whatever it is that will make it be blank), and if the other cell is not 0 or empty, give me the value that's in the other cell? If so, how do I tell it to keep the cell BLANK (empty, null, etc.).

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

    Re: Data Table in Chart has Incorrect Labels & Will Not Allow Zero's to be Charted as "Gap

    =IF(<cellwithvalue>="",NA(),<cellwithvalue>)

    But I as said this will not create gaps. It will supress any data markers for the point and remove end/start of line.

  5. #5
    Registered User
    Join Date
    06-07-2012
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2007
    Posts
    10
    i really appreciate your help. can you suggest how i can make the chart plot only values greater than zero then?

  6. #6
    Registered User
    Join Date
    06-07-2012
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2007
    Posts
    10
    actually i think this solves my problems! is there a way to tell a chart to start graphing when the first column is populated?

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

    Re: Data Table in Chart has Incorrect Labels & Will Not Allow Zero's to be Charted as "Gap

    search forum for Dynamic named ranges.

+ 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