+ Reply to Thread
Results 1 to 5 of 5

Show gaps does not work on charts

  1. #1
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Show gaps does not work on charts

    Here it is in its simplest form. I have values as #N/A and they should not plot , but they do even though I have display blank values as gaps. I've also tried the null string and get the same result. Excel 2013.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

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

    Re: Show gaps does not work on charts

    #N/A only suppresses the data marker if the point is not the first or last data value. It does not create a gap.

    Only way to create the gap is to have an empty cell.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Show gaps does not work on charts

    #N/A! used to mean, "Don't plot this point - it does not exist." Apparently that's an "improvement" made after Excel 2007. I'm following instructions on this site: http://peltiertech.com/conditional-f...-excel-charts/ and #N/A! is supposed to show the gap.

    I have confirmed that a totally blank cell (not a cell containing the null string) will produce the gap as desired. However, since no formula can produce an empty cell - the best you can do is the null string, then this task cannot be accomplished by formulas alone as it was in the past. It now must be done in VBA.

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

    Re: Show gaps does not work on charts

    You have never been able to break a line using a formula. The cell has to be empty and the setting for Hidden & Empty cells has to be gap.
    =NA() only suppresses data marker.

    =NA() works at the both ends of a line series but not in between valid data values.

  5. #5
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Show gaps does not work on charts

    Apparently so . I noticed that you chimed in on another post which I was working on where the person wanted red or green lines depending on where it was in relationship to another line. Your approach has merit. Basically, you have to create a set of new series based on the algebraic solution of where the lines intersect. This sounds like it would be an interesting issue to dig into deeper. It seems like a function worth developing. If I have spare time, I might do that.

    Thanks for the advice.

+ 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. [SOLVED] Charting Date Gaps as Gaps
    By reactant in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 07-10-2012, 12:42 PM
  2. [SOLVED] Need to show rows w/ certain data on 2nd sheet with no gaps
    By Billbo in forum Excel General
    Replies: 4
    Last Post: 05-10-2012, 02:44 AM
  3. [SOLVED] Show 3 cells across a row on shhet 2 w/ no gaps IF an X is in column C
    By Billbo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-09-2012, 03:52 PM
  4. Removing Gaps in Charts
    By o4008 in forum Excel General
    Replies: 3
    Last Post: 02-18-2011, 11:09 AM
  5. Creating Time Gaps in Excel Charts?
    By benintern in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-16-2009, 04:50 AM
  6. How to avoid gaps in combined (columns/lines) charts?
    By salutaurs in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-29-2008, 11:03 PM
  7. I want to show gaps in my line chart
    By rshackleford310 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-09-2007, 02:19 AM
  8. [SOLVED] Transpose Column With Gaps to Row With No Gaps?
    By SteveC in forum Excel General
    Replies: 5
    Last Post: 06-17-2005, 08:05 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