Johnny C
Well-known Member
- Joined
- Nov 7, 2006
- Messages
- 1,069
- Office Version
- 365
- Platform
- Windows
Hi
I'm trying to do a 6th order polynomial interpolation and it's giving me an error.
This is the formula for the first parameter:
I tried replacing the offsets with D2:AL2 and D1:AL1 and it didn't work. All X and Y values are +ve, and plotting the data with a 6th order trend gives no problems, the equation shows nothing amiss.
Evaluate gives
$D:$AL is a 35x1 array so that should be ok.
Next step in eval gives
which then goes to
Substituting the OFFSETS with D2:AL2 and D1:AL1 yields the same result.
What's going wrong? Does the data need to be in columns rather than rows?
TIA
I'm trying to do a 6th order polynomial interpolation and it's giving me an error.
This is the formula for the first parameter:
Code:
=INDEX(LINEST(OFFSET($C2,0,1,1,'Liquidations actuals'!$DS$2-1),OFFSET($C$1,0,1,1,'Liquidations actuals'!$DS$2-1)^{1,2,3,4,5,6},1),1)
Evaluate gives
Code:
=INDEX($D$2:$AL$2,{2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36}^{1,2,3,4,5,6},1),1)
Next step in eval gives
Code:
=INDEX($D$2:$AL$2,{2,9,64.625,7776,117649,#N/A,#N/A,...#NA},1,1)
Code:
=INDEX(#VALUE!,1)
What's going wrong? Does the data need to be in columns rather than rows?
TIA