polynomial formula for a line graph...

M

mark

Hi.

I haven't looked at this feature in a couple of years.

Excel can give you the formula for a charted function...
what I mean is, given a few data points, it can create a
best fit curve, and display the function that it used to
do that...

Would someone remind me where, please?

Thanks.
 
A

Andy Pope

Hi,

Right click the data series and pick Add Trendline.
From the dialog you can choose the type of trend line and whether to
display the formula.

Cheers
Andy
 
M

mark

thanks.
-----Original Message-----
Hi,

Right click the data series and pick Add Trendline.
From the dialog you can choose the type of trend line
and whether to display the formula.
 
M

mark

Andy,

I followed your steps, and got a beautifully fitting 6th
order equation...

Do you know if it is possible, and if so, how, to obtain
those coefficients directly in cells, as opposed to just
on the graph?

Thanks,
Mark
 
J

Jerry W. Lewis

Alternately, David Braden has posted VBA code to extract the
coefficients directly from the chart into cells

http://groups.google.com/[email protected]

The advantage of using the chart coefficients (either manually or via
Braden's code) is that LINEST (prior to Excel 2003) uses a numerically
inferior algorithm that can give inaccurate results with some data sets.

Jerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top