The information in this article applies to:
SUMMARYThis article contains information about how to determine values for a set of unknown x-values when you are given a set of known x-values and known y-values. MORE INFORMATION
In order to determine new x-values for a given set of data, you must solve
for the following linear equation
where y is the dependent y-value, m is the slope coefficient corresponding to each x-value, and b is a constant representing the y-intercept of the line. You can solve this equation using the INDEX and LINEST functions. The LINEST function is used to calculate the slope and the y-intercept values for the line, which are returned as a two-element array. The INDEX function allows you to retrieve these two values from the array and to use them to calculate the following formula:
-or-
The following example illustrates how to determine a set of unknown x's
using the formula shown above. Assume that you have the following table of
known x- and y-values:
To solve for the unknown x-values in cells A7:A10, follow these steps:
NOTE: You may need to format the cells so they do not show decimal values.
REFERENCESExcel 97For more information about the INDEX function, click Contents And Index on the Help menu, click the Index tab in Microsoft Excel Help, type the following textindex and then double-click the selected text to go to the "INDEX worksheet function" topic. If you are unable to find the information you need, ask the Office Assistant. For more information about the LINEST function, click Contents And Index on the Help menu, click the Index tab in Microsoft Excel Help, type the following text linest and then double-click the selected text to go to the "LINEST worksheet function" topic. If you are unable to find the information you need, ask the Office Assistant. Excel 5.0For more information about the INDEX function, click the Search button in Microsoft Excel Help and type the following text:index function For more information about the LINEST function, click the Search button in Microsoft Excel Help and type the following text: linest function Additional query words: y's TREND LOGEST GROWTH least squares line XL98 XL97 XL7 XL5 XL4
Keywords : kbualink97 xlformula |
Last Reviewed: July 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |