WorksheetFunction.NormSDist Method
Returns the standard normal cumulative distribution function. The distribution has a mean of 0 (zero) and a standard deviation of one. Use this function in place of a table of standard normal curve areas.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function NormSDist ( _
Arg1 As Double _
) As Double
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As Double
Dim returnValue As Double
returnValue = instance.NormSDist(Arg1)
double NormSDist(
double Arg1
)
Parameters
Arg1
Type: System.DoubleZ - the value for which you want the distribution.
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 Norm_S_Dist(Double, Boolean) method.
If z is nonnumeric, NormSDist returns the #VALUE! error value.
The equation for the standard normal density function is:
Figure 1: Equation for the standard normal density function