WorksheetFunction.LogNormDist method (Excel)
Returns the cumulative 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.
Important
This function has been replaced with one or more new functions that may provide improved accuracy and whose names better reflect their usage. This function is still available for compatibility with earlier versions of Excel. However, if backward compatibility is not required, you should consider using the new functions from now on, because they more accurately describe their functionality.
For more information about the new functions, see the LogNorm_Dist method.
Syntax
expression.LogNormDist (Arg1, Arg2, Arg3)
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). |
Return value
Double
Remarks
If any argument is nonnumeric, LogNormDist returns the #VALUE! error value.
If x ≤ 0 or if standard_dev ≤ 0, LogNormDist returns the #NUM! error value.
The equation for the lognormal cumulative distribution function is:
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.