Hi guys, i am struggling with the following:
I have a VarMatrix (2d array). I want to find stdev of each column and write the result into VectorMatrix (1d array). Then I want to find min value in the VectorMatrix
Sorry, I am new to VBA. Appreciate your helpPHP Code:
For j = 5 To 16
VectorMatrix(j) = WorksheetFunction.StDev(WorksheetFunction.Transpose(WorksheetFunction.Index(VaRMatrix, 0, j + 1)))
Next j
K = WorksheetFunction.Min(WorksheetFunction.Index(VectorMatrix, 1, 0))
Bookmarks