ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   How do I write a trendline constant into a cell? (https://www.excelbanter.com/charts-charting-excel/268-how-do-i-write-trendline-constant-into-cell.html)

Hanbotkot

How do I write a trendline constant into a cell?
 
Trendline equation constants.

A trendline has been drawn on a chart and an acceptable equation has been
obtained. The constants in this equation must be used in other formulas.

How are these constants written into cells that can be used in formulas?

This is needed when the data producing a trendline, can change and thus have
an effect through the page.

Jon Peltier

You can get this using the worksheet array function LINEST (see the help files), or
by parsing the formula using Dave Braden's code, posted he

http://groups-beta.google.com/group/...440d271303e0d6

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______


Hanbotkot wrote:

Trendline equation constants.

A trendline has been drawn on a chart and an acceptable equation has been
obtained. The constants in this equation must be used in other formulas.

How are these constants written into cells that can be used in formulas?

This is needed when the data producing a trendline, can change and thus have
an effect through the page.



Michael R Middleton

Hanbotkot -

If it's a simple linear fit, you can use the INTERCEPT and SLOPE worksheet
functions.

- Mike

www.mikemiddleton.com

++++++++++++++++++++++++

"Hanbotkot" wrote in message
...
Trendline equation constants.

A trendline has been drawn on a chart and an acceptable equation has been
obtained. The constants in this equation must be used in other formulas.

How are these constants written into cells that can be used in formulas?

This is needed when the data producing a trendline, can change and thus
have
an effect through the page.





All times are GMT +1. The time now is 12:31 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com