WorksheetFunction.LogNorm_Dist method (Excel)

Returns the lognormal distribution of x, where ln(x) is normally distributed with parameters mean and standard_dev. Use this function to analyze data that has been logarithmically transformed.

Syntax

expression.LogNorm_Dist (Arg1, Arg2, Arg3, Arg4)

expression A variable that represents a WorksheetFunction object.

Parameters

Name Required/Optional Data type Description
Arg1 Required Double X - The value at which to evaluate the function.
Arg2 Required Double Mean - The mean of ln(x).
Arg3 Required Double Standard_dev - The standard deviation of ln(x).
Arg4 Optional Variant Cumulative - A logical value that determines the form of the function. If cumulative is True, LogNorm_Dist returns the cumulative distribution function; if False, it returns the probability density function.

Return value

Double

Remarks

If any argument is nonnumeric, LogNorm_Dist returns the #VALUE! error value.

If x ≤ 0 or if standard_dev ≤ 0, LogNorm_Dist returns the #NUM! error value.

The equation for the lognormal cumulative distribution function is:

Equation for the lognormal cumulative distribution function

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.