WorksheetFunction.LogNormDist Method

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.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function LogNormDist ( _
    Arg1 As Double, _
    Arg2 As Double, _
    Arg3 As Double _
) As Double
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As Double
Dim Arg2 As Double
Dim Arg3 As Double
Dim returnValue As Double

returnValue = instance.LogNormDist(Arg1, _
    Arg2, Arg3)
double LogNormDist(
    double Arg1,
    double Arg2,
    double Arg3
)

Parameters

  • Arg1
    Type: System.Double

    X - the value at which to evaluate the function.

  • Arg3
    Type: System.Double

    Standard_dev - the standard deviation of ln(x).

Return Value

Type: System.Double

Remarks

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 function, see the LogNorm_Dist(Double, Double, Double, Boolean) method.

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:

Figure 1: Equation for the lognormal cumulative distribution

Equation for the lognormal cumulative distribution

See Also

Reference

WorksheetFunction Interface

WorksheetFunction Members

Microsoft.Office.Interop.Excel Namespace