XL2000: Blank Cells in Input Range of Regression Tool Return Error Message (214254)
The information in this article applies to:
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:
- Select the entire range used for the input values.
- Press F5.
- Click Special.
- In the Go To Special dialog box, click Blanks, and then click OK.
- Type 0 (zero), and then press CTRL+ENTER.
MORE INFORMATIONThe 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.REFERENCESFor more information about regression analysis, click Microsoft Excel Help on the Help menu, type regression analysis tool in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Major | Last Reviewed: | 11/5/2003 |
---|
Keywords: | kbprb KB214254 |
---|
|