TRY NEW VERSION

LOGNORM_INV

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

Returns the inverse of the lognormal cumulative distribution function of x, where ln(x) is normally distributed with the specified parameters.

Parameters:

Name Type Description
arg1 number

A probability associated with the lognormal distribution, a number between 0 and 1, inclusive.

arg2 number

The mean of ln(x).

arg3 number

The standard deviation of ln(x), a positive number.

Returns:

Type
number

Example

Copy code
builder.CreateFile("xlsx");
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.LOGNORM_INV(0.3, 2, 0.2));
builder.SaveFile("xlsx", "LOGNORM_INV.xlsx");
builder.CloseFile();

Resulting document