Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XL2000: The TDIST Function Returns #NUM! if the X Argument Is Negative


View products that this article applies to.

This article was previously published under Q214371

↑ Back to the top


Symptoms

In Microsoft Excel 2000, if you type a formula that uses the TDIST function, the formula may return a #NUM! error. This behavior may occur even when you use a value greater than or equal to 1 for the degrees_freedom argument, and a value of 1 or 2 for the tails argument.

↑ Back to the top


Cause

This behavior occurs if the X argument is negative (less than zero) in the following syntax

TDIST(x,degrees_freedom,tails)
where x is the numeric value at which to evaluate the distribution.

↑ Back to the top


Resolution

To resolve this behavior, use a value that is greater than or equal to zero for the X argument in the TDIST function.

↑ Back to the top


More information

In Microsoft Excel, the TDIST function allows you to calculate the Student t-distribution. The t-distribution is used in the hypothesis testing of small sample data sets. You can use the TDIST function in place of a table of critical values for the t-distribution.

↑ Back to the top


References

For more information about the TDIST function, click Microsoft Excel Help on the Help menu, type tdist worksheet function in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

NOTE: The Help file does not mention any restrictions for the X argument. However, the following additional information does apply:
If x is less than 0, the TDIST function returns a #NUM! error.

↑ Back to the top


Keywords: KB214371, kbprb

↑ Back to the top

Article Info
Article ID : 214371
Revision : 5
Created on : 11/5/2003
Published on : 11/5/2003
Exists online : False
Views : 238