NORMSDIST

function NORMSDIST(arg1: number = null): number

Description

Returns the standard normal cumulative distribution (has a mean of zero and a standard deviation of one).

Parameters

arg1numberdefault: null

The value for which the distribution will be returned.

Returns

number

Try It


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);

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).