TRY NEW VERSION

NORM_INV

NORM_INV(arg1, arg2, arg3) → { number }

Returns the inverse of the normal cumulative distribution for the specified mean and standard deviation.

Parameters:

Name Type Description
arg1 number

A probability corresponding to the normal distribution, a number between 0 and 1 inclusive.

arg2 number

The arithmetic mean of the distribution.

arg3 number

The standard deviation of the distribution, a positive number.

Returns:

Type
number

Example

Copy code
builder.CreateFile("xlsx");

const oWorksheet = Api.GetActiveSheet();

oWorksheet.GetRange("A1").SetValue(0.6);

//method params
var value = oWorksheet.GetRange("A1").GetValue();

var oFunction = Api.GetWorksheetFunction();
var ans = oFunction.NORMSDIST(value);

oWorksheet.GetRange("C1").SetValue(ans);

builder.SaveFile("xlsx", "NORMSDIST.xlsx");
builder.CloseFile();

Resulting document