XL4: Regression Tool Returns #DIV/0 and #NUM! Error Values

Last reviewed: February 2, 1998
Article ID: Q99702

The information in this article applies to:
  • Microsoft Excel for Windows, versions 4.0, 4.0a
  • Microsoft Excel for the Macintosh, version 4.0

SYMPTOMS

In Microsoft Excel 4.x, the Regression analysis tool (included with the Analysis ToolPak add-in macro) returns a #DIV/0! error value for all t- statistics and P-values, and a #NUM! error value for all Lower 95-percent and Upper 95-percent values in the summary output range if the following condition exists:

   the total number of y values = the number of X ranges + 1

WORKAROUND

To work around this problem, add or remove a row of data from the range, and recalculate the regression.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Excel version 5.0.

MORE INFORMATION

The Regression tool returns a summary output range of regression statistics about the x and y data. If the matrix of data is square, that is, the number of y values is equal to the number of x ranges plus one, errors are returned to the t-statistics, P-values, and upper- and lower-percentage values.

REFERENCES

"User's Guide 2," version 4.0, Pages 41-45


Additional query words: 4.00 4.00a XL4
Keywords : kbtool
Version : WINDOWS:4.0; MACINTOSH:4.0
Platform : MACINTOSH WINDOWS
Issue type : kbprb
Solution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 2, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.