TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

NORMSINV

NORMSINV(arg1) → { number }

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

Parameters:

Name Type Description
arg1 number

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

Returns:

Type
number

Example

Copy code
builder.CreateFile("xlsx");

const oWorksheet = Api.GetActiveSheet();

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

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

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

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

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

Resulting document