+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Scatter plot with data gaps

  1. #1
    Registered User
    Join Date
    04-07-2011
    Location
    Houston, tx
    MS-Off Ver
    Excel 2003
    Posts
    2

    Scatter plot with data gaps

    I'm trying to scatter plot some data that's based on a formula, and it's got gaps in it. I can set these gaps to zero, but when I do, it puts the 0,0 point on the plot. This is a BIG problem since I'm trying to do a regression on the curve plotted and the 0,0 point is blowing the curve.

    I've tried making the formula output the "" empty character, and the formula works and gives me empty cells, but the plot then goes completely nuts and plots the EMPTY data points as zero on the x-axis.

    I've also tried the "hidden and empty cells" options, and all three choices (gaps, zero, or connect with line) seem to have NO effect on the plot.

    Any ideas?

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Scatter plot with data gaps

    Hello,

    Here is a link to an article from Andy Pope: http://www.andypope.info/charts/brokenlines.htm

    You need to use N/A in your data instead of zero, then create a helper series that overlays the line to create the impression of a gap.

    cheers,

  3. #3
    Registered User
    Join Date
    04-07-2011
    Location
    Houston, tx
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Scatter plot with data gaps

    Thanks! That did the trick. My data gaps were in both x and y, so I had to set the X value to 0 and the Y value to #N/A. Worked like a champ!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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