WorksheetFunction.Expon_Dist Method

Returns the exponential distribution. Use EXPON_DIST to model the time between events, such as how long an automated bank teller takes to deliver cash. For example, you can use EXPON_DIST to determine the probability that the process takes at most 1 minute.

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

Syntax

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

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

Parameters

  • Arg3
    Type: System.Boolean

    Cumulative - a logical value that indicates which form of the exponential function to provide. If cumulative is true, Expon_Dist returns the cumulative distribution function; if false, it returns the probability density function.

Return Value

Type: System.Double

Remarks

If x or lambda is nonnumeric, Expon_Dist returns the #VALUE! error value.

If x < 0, Expon_Dist returns the #NUM! error value.

If lambda ≤ 0, Expon_Dist returns the #NUM! error value.

The equation for the probability density function is:

Figure 1: Equation for the probability density function

Equation for the probability density function

The equation for the cumulative distribution function is:

Figure 2: Equation for the cumulative distribution function

Equation for the cumulative distribution function

See Also

Reference

WorksheetFunction Interface

WorksheetFunction Members

Microsoft.Office.Interop.Excel Namespace