Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Trendline when data points are missing

I have data where for some of the series there is data in each "category" and
in other series there is some missing data. Here's the example:

Fund Type Fund Company One Year Return
Target 2050 Principle 12.2
Target 2050 TRP 11.3
Target 2045 Principle 11.1
Target 2040 Principle 10.8
Target 2040 TRP 9.4

When I chart this I get a line for all of the "Principle" data because it
has a data point for all three "Fund Types". I only get data points and no
line for "TRP" because it has no data point for the "Target 2045" "Fund
Type".

I would like to add a trend line that simply "connects the dots", but none
of the available trendlines will do that. I also can't put a formula in the
cells because the source data is a pivot table. Any solutions for this?
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 461
Default Trendline when data points are missing

What is your category axis (X values)? If it's not numerical, you do not
want a trendline.

Why can't you use a line with markers style to connect the points?

Your data should be in this arrangement to make a proper chart:

| Principle | TRP
Target 2050 | 12.2 | 11.3
Target 2045 | 11.1 |
Target 2040 | 10.8 | 9.4


- Jon
-------
Jon Peltier
Peltier Technical Services, Inc.
http://peltiertech.com/


On 5/11/2010 1:16 PM, Chris Moran wrote:
I have data where for some of the series there is data in each "category" and
in other series there is some missing data. Here's the example:

Fund Type Fund Company One Year Return
Target 2050 Principle 12.2
Target 2050 TRP 11.3
Target 2045 Principle 11.1
Target 2040 Principle 10.8
Target 2040 TRP 9.4

When I chart this I get a line for all of the "Principle" data because it
has a data point for all three "Fund Types". I only get data points and no
line for "TRP" because it has no data point for the "Target 2045" "Fund
Type".

I would like to add a trend line that simply "connects the dots", but none
of the available trendlines will do that. I also can't put a formula in the
cells because the source data is a pivot table. Any solutions for this?

  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 833
Default Trendline when data points are missing

EXCEL 2007

You don't say what type of chart you have constructed nor do you give the
format of your underlying data.

However, if I break down your data as follows:-

Cells E1 to E4
Fund Type
Target 2040
Target 2045
Target 2050

Cells F1 to F4
Fund Company
TRP
TRP
TRP

Cells G1 to G4
Rate
9.40
blank
11.30

Highlight the above cells / Insert / Charts / Line with Markers / OK

I see the start and end point on the Chart.

Right click one of the data points / Add Trendline . . . / Format Trendline
window pops up and defaults to Linear / hit Close / the 2 points are now
joined in the way that you want.

If my comments have helped please hit Yes.




"Chris Moran" wrote:

I have data where for some of the series there is data in each "category" and
in other series there is some missing data. Here's the example:

Fund Type Fund Company One Year Return
Target 2050 Principle 12.2
Target 2050 TRP 11.3
Target 2045 Principle 11.1
Target 2040 Principle 10.8
Target 2040 TRP 9.4

When I chart this I get a line for all of the "Principle" data because it
has a data point for all three "Fund Types". I only get data points and no
line for "TRP" because it has no data point for the "Target 2045" "Fund
Type".

I would like to add a trend line that simply "connects the dots", but none
of the available trendlines will do that. I also can't put a formula in the
cells because the source data is a pivot table. Any solutions for this?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Display data points that are less than the chart trendline Mally Charts and Charting in Excel 2 February 16th 09 01:19 PM
Missing Lines Between Data Points al Excel Discussion (Misc queries) 2 August 15th 08 05:56 PM
How do I chart missing data points in a scatter graph? mickey Charts and Charting in Excel 2 October 11th 06 11:43 PM
Trendline excluding last 2 data points of series Mary Ann Charts and Charting in Excel 2 June 15th 05 01:17 PM
interpolate missing data between points Rocket Rod Excel Worksheet Functions 2 February 27th 05 07:24 PM


All times are GMT +1. The time now is 02:05 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"