Hello, I have a problem with the LINEST function and even when I try given examples it doesn't work.
X..............Y
100........-0,5
400........-0,7
700........-0,3
1000........0,1
1100........0,2
1200........0,2
There are my X and Y's. What I want is to get the constants for an third degree equation in four cells. I can do a graph and then a trendline to get the equation: y = -3,07848796E-09x3 + 6,81164335E-06x2 - 3,38519903E-03x - 2,28863584E-01
When I change the values in X and Y the equation changes and since there ain't possible to link the equation in the chart to a cell I cant use the trendline.
I've looked around and found out about the LINEST function. The strange part is that it won't work for me.
The formulas I typed:
=INDEX(LINEST(B2:B7;A2:A7^{1;2;3});1)
=INDEX(LINEST(B2:B7;A2:A7^{1;2;3});1;2)
=INDEX(LINEST(B2:B7;A2:A7^{1;2;3});1;3)
=INDEX(LINEST(B2:B7;A2:A7^{1;2;3});1;4)
The only result I get is #VALUE!.
If someone could help me I would be really grateful. You can either post here or send me an PM or an e-mail with, for example an Excel file were you show me how to do.
English or Swedish is ok in PM or mail.
Regards!
Niklas
X..............Y
100........-0,5
400........-0,7
700........-0,3
1000........0,1
1100........0,2
1200........0,2
There are my X and Y's. What I want is to get the constants for an third degree equation in four cells. I can do a graph and then a trendline to get the equation: y = -3,07848796E-09x3 + 6,81164335E-06x2 - 3,38519903E-03x - 2,28863584E-01
When I change the values in X and Y the equation changes and since there ain't possible to link the equation in the chart to a cell I cant use the trendline.
I've looked around and found out about the LINEST function. The strange part is that it won't work for me.
The formulas I typed:
=INDEX(LINEST(B2:B7;A2:A7^{1;2;3});1)
=INDEX(LINEST(B2:B7;A2:A7^{1;2;3});1;2)
=INDEX(LINEST(B2:B7;A2:A7^{1;2;3});1;3)
=INDEX(LINEST(B2:B7;A2:A7^{1;2;3});1;4)
The only result I get is #VALUE!.
If someone could help me I would be really grateful. You can either post here or send me an PM or an e-mail with, for example an Excel file were you show me how to do.
English or Swedish is ok in PM or mail.
Regards!
Niklas