Microsoft KB Archive/214254

= XL2000: Blank Cells in Input Range of Regression Tool Return Error Message =

Article ID: 214254

Article Last Modified on 11/5/2003

-

APPLIES TO


 * Microsoft Excel 2000 Standard Edition

-



This article was previously published under Q214254





SYMPTOMS
When you use the Regression tool from the Analysis ToolPak in Microsoft Excel versions 5.0 or later, if there are blank cells in either the X range or the Y range, the Regression tool halts and you receive the following error message:

Regression - LINEST function returns error. Please check input ranges again.



CAUSE
This behavior occurs because the LINEST function is unable to correctly calculate results if you use blank input values.



WORKAROUND
To correctly calculate results from the Regression tool, follow these steps:
 * 1) Select the entire range used for the input values.
 * 2) Press F5.
 * 3) Click Special.
 * 4) In the Go To Special dialog box, click Blanks, and then click OK.
 * 5) Type 0 (zero), and then press CTRL+ENTER.



MORE INFORMATION
The add-in that is discussed in this article is provided as-is. Microsoft does not guarantee that it can be used in all situations. Although Microsoft Support Professionals can help with the installation and existing functionality of this add-in, they will not modify the add-in to provide new functionality.

