Trendline data points

datadummy

Active Member
Joined
Mar 16, 2017
Messages
313
Office Version
  1. 365
Platform
  1. Windows
I have a line graph with a trend line and I was wondering is there a somewhat easy way to determine the beginning and end points on the trend line?
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Locating points on a trend line

I have the following chart and am trying to determine what the end points are for the trend line. I think I was able to calculate the far left value by using the TREND function which returned 2.04, but am unable to determine what the far right value for the trend line is. Any ideas?

screenshot.png
 
Last edited by a moderator:
Upvote 0
Re: Locating points on a trend line

Use SLOPE(Yrange,Xrange) and INTERCEPT(Yrange,Xrange) to get the slope and intercept of the fitted line in the worksheet. Use MIN(Xrange) and MAX(Xrange) to get the minimum and maximum X values, then find the respective Y values using YatXmin=SLOPE*Xmin+INTERCEPT and YatXmax=SLOPE*Xmax+INTERCEPT.

Formulas:

F2: =SLOPE(C3:C14,B3:B14)
F3: =INTERCEPT(C3:C14,B3:B14)

E7: =MIN(B3:B14)
E8: =MAX(B3:B14)
F7: =E7*$F$2+$F$3
F8: =E8*$F$2+$F$3

ueoamcP.png
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,162
Members
453,021
Latest member
Justyna P

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