WorksheetFunction.NormDist method (Excel)

Returns the normal distribution for the specified mean and standard deviation. This function has a very wide range of applications in statistics, including hypothesis testing.

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

Syntax

expression.NormDist (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 for which you want the distribution.
Arg2 Required Double Mean - the arithmetic mean of the distribution.
Arg3 Required Double Standard_dev - the standard deviation of the distribution.
Arg4 Required Boolean Cumulative - a logical value that determines the form of the function. If cumulative is True, NormDist returns the cumulative distribution function; if False, it returns the probability mass function.

Return value

Double

Remarks

If mean or standard_dev is nonnumeric, NormDist returns the #VALUE! error value.

If standard_dev ≤ 0, NormDist returns the #NUM! error value.

If mean = 0, standard_dev = 1, and cumulative = TRUE, NormDist returns the standard normal distribution, NormSDist.

The equation for the normal density function (cumulative = FALSE) is:

Formula

When cumulative = TRUE, the formula is the integral from negative infinity to x of the given formula.

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.