How to create an excel formula for the above equation?
Eg. N = 10, P = 9.4
Try the following user defined function:
Public Function Zigma(N As Long, p As Double) As Double
Dim i As Long
Zigma = N
For i = 1 To N - 1
Zigma = Zigma - (i / N) ^ p
Next i
End Function
This allows you to avoid array formulas.
Here it is as an excel formula:
=A1-SUMPRODUCT((ROW(A1:INDEX(A:A, A1-1))/A1)^A2)