How to get two Trendlines to start and stop at two different intervals on a chart

ibddude

New Member
Joined
Aug 20, 2011
Messages
17
All;

I researched and trialed different options on this for awhile, I am not a charting expert but what I'm trying to do is chart two separate trendlines for two separate time intervals but only show (and have the trendline effected by the data of that interval. Below is the data and where I at least have the first trendline correctly shown but the second one which is later in time (x-Axis) projects the trendline back to 0. Any ideas on how I get the second trenline to start at 2017-Q1 would be very appreciated! P.S. The $118K is an anomaly so while I want to show it on the X axis for the time interval, I don't want to include it into the Model A trendline.

Thanks
Mike

[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 69"]
<colgroup><col></colgroup><tbody>[TR]
[TD]Year[/TD]
[/TR]
[TR]
[TD]2013-Q1[/TD]
[/TR]
[TR]
[TD]2013-Q2[/TD]
[/TR]
[TR]
[TD]2013-Q3[/TD]
[/TR]
[TR]
[TD]2013-Q4[/TD]
[/TR]
[TR]
[TD]2014-Q1[/TD]
[/TR]
[TR]
[TD]2014-Q2[/TD]
[/TR]
[TR]
[TD]2014-Q3[/TD]
[/TR]
[TR]
[TD]2014-Q4[/TD]
[/TR]
[TR]
[TD]2015-Q1[/TD]
[/TR]
[TR]
[TD]2015-Q2[/TD]
[/TR]
[TR]
[TD]2015-Q3[/TD]
[/TR]
[TR]
[TD]2015-Q4[/TD]
[/TR]
[TR]
[TD]2016-Q1[/TD]
[/TR]
[TR]
[TD]2016-Q2[/TD]
[/TR]
[TR]
[TD]2016-Q3[/TD]
[/TR]
[TR]
[TD]2016-Q4[/TD]
[/TR]
[TR]
[TD]2017-Q1[/TD]
[/TR]
[TR]
[TD]2017-Q2[/TD]
[/TR]
[TR]
[TD]2017-Q3[/TD]
[/TR]
[TR]
[TD]2017-Q4[/TD]
[/TR]
[TR]
[TD]2018-Q1[/TD]
[/TR]
[TR]
[TD]2018-Q2[/TD]
[/TR]
[TR]
[TD]2018-Q3[/TD]
[/TR]
[TR]
[TD]2018-Q4[/TD]
[/TR]
[TR]
[TD]2019-Q1[/TD]
[/TR]
[TR]
[TD]2019-Q2[/TD]
[/TR]
[TR]
[TD]2019-Q3[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 109"]
<colgroup><col></colgroup><tbody>[TR]
[TD]Quarterly Billing[/TD]
[/TR]
[TR]
[TD="align: right"]$118,447[/TD]
[/TR]
[TR]
[TD="align: right"]$409,385[/TD]
[/TR]
[TR]
[TD="align: right"]$422,761[/TD]
[/TR]
[TR]
[TD="align: right"]$440,817[/TD]
[/TR]
[TR]
[TD="align: right"]$488,149[/TD]
[/TR]
[TR]
[TD="align: right"]$557,512[/TD]
[/TR]
[TR]
[TD="align: right"]$558,138[/TD]
[/TR]
[TR]
[TD="align: right"]$664,555[/TD]
[/TR]
[TR]
[TD="align: right"]$752,812[/TD]
[/TR]
[TR]
[TD="align: right"]$761,219[/TD]
[/TR]
[TR]
[TD="align: right"]$600,405[/TD]
[/TR]
[TR]
[TD="align: right"]$732,650[/TD]
[/TR]
[TR]
[TD="align: right"]$751,872[/TD]
[/TR]
[TR]
[TD="align: right"]$838,705[/TD]
[/TR]
[TR]
[TD="align: right"]$806,192[/TD]
[/TR]
[TR]
[TD="align: right"]$820,687[/TD]
[/TR]
[TR]
[TD="align: right"]$614,904[/TD]
[/TR]
[TR]
[TD="align: right"]$712,844[/TD]
[/TR]
[TR]
[TD="align: right"]$708,267[/TD]
[/TR]
[TR]
[TD="align: right"]$697,713[/TD]
[/TR]
[TR]
[TD="align: right"]$665,093[/TD]
[/TR]
[TR]
[TD="align: right"]$617,945[/TD]
[/TR]
[TR]
[TD="align: right"]$616,063[/TD]
[/TR]
[TR]
[TD="align: right"]$696,549[/TD]
[/TR]
[TR]
[TD="align: right"]$678,059[/TD]
[/TR]
[TR]
[TD="align: right"]$614,899[/TD]
[/TR]
[TR]
[TD="align: right"]$627,303[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 71"]
<colgroup><col></colgroup><tbody>[TR]
[TD]Model A[/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]409,385[/TD]
[/TR]
[TR]
[TD="align: right"]422,761[/TD]
[/TR]
[TR]
[TD="align: right"]440,817[/TD]
[/TR]
[TR]
[TD="align: right"]488,149[/TD]
[/TR]
[TR]
[TD="align: right"]557,512[/TD]
[/TR]
[TR]
[TD="align: right"]558,138[/TD]
[/TR]
[TR]
[TD="align: right"]664,555[/TD]
[/TR]
[TR]
[TD="align: right"]752,812[/TD]
[/TR]
[TR]
[TD="align: right"]761,219[/TD]
[/TR]
[TR]
[TD="align: right"]600,405[/TD]
[/TR]
[TR]
[TD="align: right"]732,650[/TD]
[/TR]
[TR]
[TD="align: right"]751,872[/TD]
[/TR]
[TR]
[TD="align: right"]838,705[/TD]
[/TR]
[TR]
[TD="align: right"]806,192[/TD]
[/TR]
[TR]
[TD="align: right"]820,687[/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 71"]
<colgroup><col></colgroup><tbody>[TR]
[TD]Model B[/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]614,904[/TD]
[/TR]
[TR]
[TD="align: right"]712,844[/TD]
[/TR]
[TR]
[TD="align: right"]708,267[/TD]
[/TR]
[TR]
[TD="align: right"]697,713[/TD]
[/TR]
[TR]
[TD="align: right"]665,093[/TD]
[/TR]
[TR]
[TD="align: right"]617,945[/TD]
[/TR]
[TR]
[TD="align: right"]616,063[/TD]
[/TR]
[TR]
[TD="align: right"]696,549[/TD]
[/TR]
[TR]
[TD="align: right"]678,059[/TD]
[/TR]
[TR]
[TD="align: right"]614,899[/TD]
[/TR]
[TR]
[TD="align: right"]627,303[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Option 1
Put =NA() formula in the 2013-Q1 through 2016-Q4 cells for Model B (D2:D17)

Option 2
Perhaps the second trendline could be simulated by calculating its origin and slope then plotting that line on the graph. The line could be redrawn by event trigger whenever a new point was added.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top