ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Using numerical information from trendline equation (https://www.excelbanter.com/excel-discussion-misc-queries/135663-using-numerical-information-trendline-equation.html)

BryanDamon

Using numerical information from trendline equation
 
I would like to be able to grab the coefficients from an excel graph
trendline equation. Is this possible, the number seems to be available to
copy and paste but I would like to be able to use it in a cell in the
worksheet. If possible I would like to be able to have cells linked to the
equations coefficients, Rsquared value, regression type, and if polynomial
equation order.
Thanks,
Bryan H

Jerry W. Lewis

Using numerical information from trendline equation
 
Tushar Mehta has enhanced VBA code by David Braden to extract
coefficients from the chart trendline.
http://groups.google.com/group/micro...da30f29434786d
You must format the displayed equation to display enough figures for the
coefficients to be useable (I recommend scientific notation with 14 decimal
places).

Alternately, you can use LINEST to fit polynomials
http://people.stfx.ca/bliengme/ExcelTips/Polynomial.htm

Jerry

"BryanDamon" wrote:

I would like to be able to grab the coefficients from an excel graph
trendline equation. Is this possible, the number seems to be available to
copy and paste but I would like to be able to use it in a cell in the
worksheet. If possible I would like to be able to have cells linked to the
equations coefficients, Rsquared value, regression type, and if polynomial
equation order.
Thanks,
Bryan H


BryanDamon

Using numerical information from trendline equation
 
AWESOME!
Exactly what I needed, thanks Jerry!

"Jerry W. Lewis" wrote:

Tushar Mehta has enhanced VBA code by David Braden to extract
coefficients from the chart trendline.
http://groups.google.com/group/micro...da30f29434786d
You must format the displayed equation to display enough figures for the
coefficients to be useable (I recommend scientific notation with 14 decimal
places).

Alternately, you can use LINEST to fit polynomials
http://people.stfx.ca/bliengme/ExcelTips/Polynomial.htm

Jerry

"BryanDamon" wrote:

I would like to be able to grab the coefficients from an excel graph
trendline equation. Is this possible, the number seems to be available to
copy and paste but I would like to be able to use it in a cell in the
worksheet. If possible I would like to be able to have cells linked to the
equations coefficients, Rsquared value, regression type, and if polynomial
equation order.
Thanks,
Bryan H



All times are GMT +1. The time now is 01:39 AM.

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