How to calculate Polynomial Trendline Values 5th and 6th degree

D_Spark

Board Regular
Joined
Feb 4, 2007
Messages
232
The trendline that produces a best fit for my data is a six factor polynomial. Excel displays the full equation on the chart. I wanted to work out a way to obtain my trendline values? I needed these trendline values to know exactly where my actual datapoints fall relative to my trendline.

I have based my calculations on the following formula

=(INDEX(LINEST($J$3:$J$62,$A$3:$A$62^{1,2,3}),1)*A3^3)+(INDEX(LINEST($J$3:$J$62,$A$3:$A$62^{1,2,3}),1,2)*A3^2)+(INDEX(LINEST($J$3:$J$62,$A$3:$A$62^{1,2,3}),1,3)*A3^1)+INDEX(LINEST($J$3:$J$62,$A$3:$A$62^{1,2,3}),1,4)

Can some please advise of the correct formula syntax for my requirements for six factor polynomial and also what would the formula look like for a five factor polynomial:




Thanks
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Forum statistics

Threads
1,215,692
Messages
6,126,227
Members
449,303
Latest member
grantrob

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top