Rediger

Del via


WorksheetFunction.ExponDist method (Excel)

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

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 Expon_Dist method.

Syntax

expression.ExponDist (Arg1, Arg2, Arg3)

expression A variable that represents a WorksheetFunction object.

Parameters

Name Required/Optional Data type Description
Arg1 Required Double X - the value of the function.
Arg2 Required Double Lambda - the parameter value.
Arg3 Required Boolean Cumulative - a logical value that indicates which form of the exponential function to provide. If cumulative is True, ExponDist returns the cumulative distribution function; if False, it returns the probability density function.

Return value

Double

Remarks

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

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

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

The equation for the probability density function is   Screenshot of the probability density equation.

The equation for the cumulative distribution function is   Screenshot of the 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.