PC Review


Reply
Thread Tools Rate Thread

Connect the dots?

 
 
=?Utf-8?B?RmVicmE=?=
Guest
Posts: n/a
 
      4th May 2004
Is there a way to connect the plot points in a line chart when the plot points are a calculated point? In the pregnancy weight gain chart that I am working on there is an upper and lower line chart for the acceptable limits of weight gain. On the spreadsheet I added a place to plot current weight from which the prepregnant weight is subtracted and that weight gain is plotted on the chart. Unfortunately, the lines do not all connect. The line climbs from the baseline up to the plotting point and then back down to the baseline for each plotting. The plottings look like a series of mountain peaks. I have attempted to "interpolate" this, as was done with the upper and lower limits of weight gain chart lines but it is not working. Thanks!
 
Reply With Quote
 
 
 
 
=?Utf-8?B?VGhvbWFzIEJyYWR5?=
Guest
Posts: n/a
 
      4th May 2004
Yes there is.

First go to Insert then Chart. Chart type will be line. Then on the Chart sub-type: select the figure that says "Line with markers displayed at each data value." Then click Next.

Next you would want to click on the series Tab and click on the Add button. You can name the range you'll being using the data for in the Name: input box. For the values you'll need to take out the ={1} then click on the button inside the box to get the data for the range. You can add more set just by clicking the add button and repeating the step of name and selecting the range

Just make sure the range of data is either is vertical or horizontal allignment.
 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      5th May 2004
Hi Febra -

The weight you are plotting is a differential, so you have a formula,
right? There must be gaps in the input data, so your formula must look
like this to avoid calculating when there is nothing to calculate from:

=IF(B2=0,"",B2-A2)

Problem is, "" is treated not as a blank, but as a text string. Excel
plots text strings as zero. But you're in luck (sort of), because Excel
interpolates over #N/A errors. So replace "" with NA(), like this:

=IF(B2=0,NA(),B2-A2)

This looks good in the chart, but ugly in the worksheet. But Debra
Dalgleish tells us how to hide these errors with conditional formatting:

http://contextures.com/xlCondFormat03.html#Errors

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

Febra wrote:

> Is there a way to connect the plot points in a line chart when the
> plot points are a calculated point? In the pregnancy weight gain
> chart that I am working on there is an upper and lower line chart for
> the acceptable limits of weight gain. On the spreadsheet I added a
> place to plot current weight from which the prepregnant weight is
> subtracted and that weight gain is plotted on the chart.
> Unfortunately, the lines do not all connect. The line climbs from
> the baseline up to the plotting point and then back down to the
> baseline for each plotting. The plottings look like a series of
> mountain peaks. I have attempted to "interpolate" this, as was done
> with the upper and lower limits of weight gain chart lines but it is
> not working. Thanks!


 
Reply With Quote
 
=?Utf-8?B?RmVicmE=?=
Guest
Posts: n/a
 
      5th May 2004
Thanks! I changed my IF(B2="",""",(B2-A2)) to the suggested
IF(B2=0,NA(),B2-A2) and it worked like a charm!!!! And Mr Peltier, I checked out your web site and loved the speedometer chart! Now I need to find some way of working that chart into our performance improvement reporting!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot connect the dots in chart kyle Microsoft Excel Misc 1 8th Feb 2010 07:57 AM
I typed a few dots and a line of dots appeared. How to delete it? SProvost Microsoft Word Document Management 1 22nd Jul 2008 03:19 PM
How to change text to connect the dots =?Utf-8?B?RmVkb3JhbXM=?= Microsoft Word Document Management 1 19th May 2007 05:21 PM
Line Chart - connect the dots =?Utf-8?B?RVByYXR0?= Microsoft Access 0 30th Aug 2005 07:07 PM
Re: scatter plot: connect the dots to show movement over time? Jon Peltier Microsoft Excel Charting 1 10th Apr 2004 04:27 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:58 AM.