Formula to find trend line value from slope value...

richardcarter

Board Regular
Joined
Dec 10, 2003
Messages
77
Ive seen many posts relating to equations and formulas to find trend line values from a set of data using LINEST, EXP and LN, but I haven't been able to find anything that will help me find a trend line value where the slope value is already known - so hoping someone can help.

In a nutshell, I have a straight trend line on a semi-log chart (y values are log, x values are linear). The y axis represents quantity and the x axis represents time (number of days). The trend line starts at a y value of 12, and an x value of 1 (i.e. day 1). The slope of the trend line is -0.05308. My question is: What formula would calculate the value of the trend line as at day 12?

Many thanks.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Every day the value changes by the slope, so to find the 12th day it's just

=StartValue + (Slope * DayNumber)

=12 + (-.05308 * 12)
 
Upvote 0
Many thanks for that... I now understand that the slope value I have has already accounted for the fact that it is a log trendline.. I was on the understanding that it hadn't, and was therefore scratching my head as to how to convert it to log basis - but you've cleared it up for me.. thanks again!


Every day the value changes by the slope, so to find the 12th day it's just

=StartValue + (Slope * DayNumber)

=12 + (-.05308 * 12)
 
Upvote 0

Forum statistics

Threads
1,215,943
Messages
6,127,814
Members
449,409
Latest member
katiecolorado

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