Returns the standard normal cumulative distribution (has a mean of zero and a standard deviation of one).
Name | Type | Description |
arg1 | number | The value for which the distribution will be returned. |
builder.CreateFile("xlsx"); const oWorksheet = Api.GetActiveSheet(); var valueArr = [0.34, 7, 3]; // Place the numbers in cells for (var i = 0; i < valueArr.length; i++) { oWorksheet.GetRange("A" + (i + 1)).SetValue(valueArr[i]); } //method params var probability = oWorksheet.GetRange("A1").GetValue(); var mean = oWorksheet.GetRange("A2").GetValue(); var standardDeviation = oWorksheet.GetRange("A3").GetValue(); var oFunction = Api.GetWorksheetFunction(); var inv = oFunction.NORM_INV(probability, mean, standardDeviation); oWorksheet.GetRange("C1").SetValue(inv); builder.SaveFile("xlsx", "NORM_INV.xlsx"); builder.CloseFile();