+ Reply to Thread
Results 1 to 12 of 12

Show Zero drop as gap in line chart

  1. #1
    Registered User
    Join Date
    04-02-2013
    Location
    India
    MS-Off Ver
    MS Office 2016
    Posts
    38

    Show Zero drop as gap in line chart

    HI,

    I am using Excel 2016 and need a solution of my problem.

    Problem :
    I want to show Zero drop as gap in line chart (same as showing in attached sample sheet). My Data is coming through formula in Row no 4 and where No data found it shows Zero value (highlighted with Yellow color) and than according to that data, chart -1 is generated but I don't want to show chart line as continues , i have to show the zero value as gap (Chart-2).

    Please suggest.

    Thanks
    Nitesh

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,461

    Re: Show Zero drop as gap in line chart

    In B5, use (dragged across)
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and chart that
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    04-02-2013
    Location
    India
    MS-Off Ver
    MS Office 2016
    Posts
    38

    Re: Show Zero drop as gap in line chart

    HI Thanks for the reply. I have pasted the formula and created a chart but in chart gap is not visible as per chart2 in my attached sample sheet.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,461

    Re: Show Zero drop as gap in line chart

    I can't look at it for a while. I'll follow up if no-one else steps in in the meantime.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,911

    Re: Show Zero drop as gap in line chart

    Povide a workbook showing what you've tried.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,461

    Re: Show Zero drop as gap in line chart

    I would have thought you could use a formula. For example, if the value depended on J2, use:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Sadly, that doesn't seem to work. It's as though a formula that returns a null value isn't treated the same as an empty cell.

  7. #7
    Registered User
    Join Date
    04-02-2013
    Location
    India
    MS-Off Ver
    MS Office 2016
    Posts
    38

    Re: Show Zero drop as gap in line chart

    Hi Ali,

    Sample sheet attached. I want chart1 to be same as Chart2 but in chart1 value populated through formula.

  8. #8
    Registered User
    Join Date
    04-02-2013
    Location
    India
    MS-Off Ver
    MS Office 2016
    Posts
    38

    Re: Show Zero drop as gap in line chart

    HI TMS,
    Formula is not a problem, my problem is that, I want chart1 to be same as Chart2 but in chart1 value populated through formula not manual.

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: Show Zero drop as gap in line chart

    Someone else might be able to correct me... but I >>think<< Excel cannnot do that, unless you subdivide the data into separate datasets.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: Show Zero drop as gap in line chart

    See file attached

  11. #11
    Registered User
    Join Date
    04-02-2013
    Location
    India
    MS-Off Ver
    MS Office 2016
    Posts
    38

    Re: Show Zero drop as gap in line chart

    It is working fine when we manually entered the value but not working when value populated through some formulas

  12. #12
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: Show Zero drop as gap in line chart

    If memory serves, 2016 should skip #N/A values (unless you have set it to interpolate); 365 has a specific option to treat #N/A as blank.
    Rory

+ 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. Replies: 5
    Last Post: 04-15-2021, 05:36 PM
  2. [SOLVED] How to create line chart with bar chart combo to show for deviation
    By method90 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-16-2019, 11:05 AM
  3. Replies: 0
    Last Post: 01-29-2014, 08:10 PM
  4. [SOLVED] Chart Lengend to show marker style on hidden line - Line chart
    By etaf in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 08-22-2013, 05:19 PM
  5. 2010 Line Chart Show Zero Value Line
    By erock24 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-27-2011, 08:54 PM
  6. Show line conditionally - Line Chart
    By idrisb59 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-20-2008, 12:45 PM
  7. Show dot on line chart
    By Bill_S in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-15-2006, 01:08 AM

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