#1   Report Post  
Posted to microsoft.public.excel.misc
Ken
 
Posts: n/a
Default Trend Line Constants

I have created and X Y Scatter chart and placed an Exponential Trend Line on
it with a good R2 result. I have added the equation to be shown on the chart.

How can I put the Constant values of this equation into separate cells
within the worksheet.

i.e. equation is Y = bE (cX)

I want to put the value of "b" and "c" into separate cells. Can anyone help?
--
Ken
--
Ken
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bill Martin
 
Posts: n/a
Default Trend Line Constants

Ken wrote:
I have created and X Y Scatter chart and placed an Exponential Trend Line on
it with a good R2 result. I have added the equation to be shown on the chart.

How can I put the Constant values of this equation into separate cells
within the worksheet.

i.e. equation is Y = bE (cX)

I want to put the value of "b" and "c" into separate cells. Can anyone help?

------------------

I don't believe you can capture the constants simply from the graph. However,
ask the Excel help system about the LOGEST( ) function which will provide them.

Bill
  #3   Report Post  
Posted to microsoft.public.excel.misc
B. R.Ramachandran
 
Posts: n/a
Default Trend Line Constants

Hi,

Assuming that your x-values are in A2:A21 and y-values are in B2:B21, use
the following formulas to calculate b and c.

For b, =EXP(INTERCEPT(LN(B2:B21),A2:A21))
For c, =SLOPE(LN(B2:B21),(A2:A21))

Regards,
B. R. Ramachandran


"Ken" wrote:

I have created and X Y Scatter chart and placed an Exponential Trend Line on
it with a good R2 result. I have added the equation to be shown on the chart.

How can I put the Constant values of this equation into separate cells
within the worksheet.

i.e. equation is Y = bE (cX)

I want to put the value of "b" and "c" into separate cells. Can anyone help?
--
Ken
--
Ken

  #4   Report Post  
Posted to microsoft.public.excel.misc
Jerry W. Lewis
 
Posts: n/a
Default Trend Line Constants

David Braden has posted code to extract coefficients from the chart
trendline equation

http://groups.google.com/group/micro...440d271303e0d6

You must format the equation to display full precision (scientific w/ 14
decimal places) or you will lose accuracy.

Jerry

Ken wrote:

I have created and X Y Scatter chart and placed an Exponential Trend Line on
it with a good R2 result. I have added the equation to be shown on the chart.

How can I put the Constant values of this equation into separate cells
within the worksheet.

i.e. equation is Y = bE (cX)

I want to put the value of "b" and "c" into separate cells. Can anyone help?


  #5   Report Post  
Posted to microsoft.public.excel.misc
Ken
 
Posts: n/a
Default Trend Line Constants

Many thanks B. R.Ramachandran, this worked fantastically!!!! KEN
--
Ken


"B. R.Ramachandran" wrote:

Hi,

Assuming that your x-values are in A2:A21 and y-values are in B2:B21, use
the following formulas to calculate b and c.

For b, =EXP(INTERCEPT(LN(B2:B21),A2:A21))
For c, =SLOPE(LN(B2:B21),(A2:A21))

Regards,
B. R. Ramachandran


"Ken" wrote:

I have created and X Y Scatter chart and placed an Exponential Trend Line on
it with a good R2 result. I have added the equation to be shown on the chart.

How can I put the Constant values of this equation into separate cells
within the worksheet.

i.e. equation is Y = bE (cX)

I want to put the value of "b" and "c" into separate cells. Can anyone help?
--
Ken
--
Ken



  #6   Report Post  
Posted to microsoft.public.excel.misc
Ken
 
Posts: n/a
Default Trend Line Constants

B.R. Ramachandran

Thanks for your help on this one. Also I need to get a Polynomial constants
for a 2 degree equation. Can you help? e.g. Z = aX(2) + bX + c.
I need a, b and c

--
Ken


"B. R.Ramachandran" wrote:

Hi,

Assuming that your x-values are in A2:A21 and y-values are in B2:B21, use
the following formulas to calculate b and c.

For b, =EXP(INTERCEPT(LN(B2:B21),A2:A21))
For c, =SLOPE(LN(B2:B21),(A2:A21))

Regards,
B. R. Ramachandran


"Ken" wrote:

I have created and X Y Scatter chart and placed an Exponential Trend Line on
it with a good R2 result. I have added the equation to be shown on the chart.

How can I put the Constant values of this equation into separate cells
within the worksheet.

i.e. equation is Y = bE (cX)

I want to put the value of "b" and "c" into separate cells. Can anyone help?
--
Ken
--
Ken

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
Chart confidence intervals around regression (or trend) line LeAnne Charts and Charting in Excel 2 December 1st 05 05:53 PM
Adding a Trend line jon kliegman Charts and Charting in Excel 1 November 24th 05 01:56 AM
How to put coefficients of trend line into spreadsheet? [email protected] Charts and Charting in Excel 5 October 9th 05 01:18 PM
Trend Line - break bob Excel Worksheet Functions 1 June 29th 05 09:24 PM
trend line does not appear JB Charts and Charting in Excel 1 January 26th 05 08:24 PM


All times are GMT +1. The time now is 04:37 PM.

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

About Us

"It's about Microsoft Excel"