Putting trendline equation in cell?

patterns in static

New Member
Joined
Dec 14, 2004
Messages
10
Hey all,

Is there a way to export the equation of your trendline into a cell, so you can use it to extrapolate for values not in your dataset?

Any help would be appreciated!

PiS
 

Some videos you may like

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

shades

Well-known Member
Joined
Mar 20, 2002
Messages
1,550
You can use the forecast function to calculate points on a trendline: Assume your data is in cells A2:C22, and Cell D2 would hold this formula:

=FORECAST(B2,$C$2:$C$25,$B$2:$B$25), then copy down. Then you can copy down, and these values would display a line that is identical to the trendline.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,577
Messages
5,596,996
Members
414,116
Latest member
sfullnet

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
Top