R
R Beck
Hi all -
I have the following function:
Function regression(x, power())
For i = Lbound(power) to Ubound(power)
regression = regression + x^i + power(i)
Next
End Function
and wish to use the following in Excel
=regression(A1, B1:B3)
But I can't seem to get it to work. What am I missing?
Thanks!
Ryan
I have the following function:
Function regression(x, power())
For i = Lbound(power) to Ubound(power)
regression = regression + x^i + power(i)
Next
End Function
and wish to use the following in Excel
=regression(A1, B1:B3)
But I can't seem to get it to work. What am I missing?
Thanks!
Ryan