#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Trendline Equations

Does anyone know how to extract the trendline formula from a chart
object so that the formula is viewable in a cell?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Trendline Equations


ActiveSheet.ChartObjects("Chart 1").Activate
Caption = ActiveChart.SeriesCollection(3).Trendlines(1). _
DataLabel.Caption
ThisWorkbook.Activate
Range("E122").Value = Caption

" wrote:

Does anyone know how to extract the trendline formula from a chart
object so that the formula is viewable in a cell?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Trendline Equations

Without getting into VBA you have to create the formula yourself. It is not
that terribly difficult using the slope and intercept formulas...
--
HTH...

Jim Thomlinson


"Joel" wrote:


ActiveSheet.ChartObjects("Chart 1").Activate
Caption = ActiveChart.SeriesCollection(3).Trendlines(1). _
DataLabel.Caption
ThisWorkbook.Activate
Range("E122").Value = Caption

" wrote:

Does anyone know how to extract the trendline formula from a chart
object so that the formula is viewable in a cell?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Trendline Equations

On Feb 15, 3:04*pm, Jim Thomlinson <James_Thomlin...@owfg-Re-Move-
This-.com wrote:
Without getting into VBA you have to create the formula yourself. It is not
that terribly difficult using the slope and intercept formulas...
--
HTH...

Jim Thomlinson



"Joel" wrote:

* * * * * * *ActiveSheet.ChartObjects("Chart 1").Activate
* * * * * * *Caption = ActiveChart.SeriesCollection(3).Trendlines(1). _
* * * * * * *DataLabel.Caption
* * * * * * *ThisWorkbook.Activate
* * * * * * *Range("E122").Value = Caption


" wrote:


Does anyone know how to extract the trendline formula from a chart
object so that the formula is viewable in a cell?- Hide quoted text -


- Show quoted text -


Thanks
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default Trendline Equations

You can also use LINEST to get the polynomial coefficients into cells.
Bernard Liengme shows how he
http://www.stfx.ca/people/bliengme/ExcelTips

David Braden wrote the first procedure I know of to extract trendline
coefficients for use in the worksheet. Tushar Mehta made some refinements to
the procedure here (see post 10):
http://groups.google.com/group/micro...6b43d9dc84ebd/

In fact, Tushar has written a detailed chapter on the use of Excel with
regression (including his trendline coefficient procedure):

http://tushar-mehta.com/publish_trai...nalysis/16.htm

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


wrote in message
...
Does anyone know how to extract the trendline formula from a chart
object so that the formula is viewable in a cell?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop moving trendline equations Arnie Charts and Charting in Excel 3 December 14th 07 12:17 AM
Trendline Equations Steve Morris Charts and Charting in Excel 1 January 11th 06 04:56 PM
Trendline Equations swissforestry Excel Discussion (Misc queries) 2 November 30th 05 04:12 AM
Trendline Equations rpicheme07 Charts and Charting in Excel 2 November 20th 05 01:22 PM
trendline equations Nick Charts and Charting in Excel 2 September 18th 05 04:11 PM


All times are GMT +1. The time now is 05:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"