FORECAST
Calculates a future Y value for a given X value based on existing values.
Syntax
=FORECAST(X, KnownYs, KnownXs)
Arguments
Name | Description |
---|---|
X | Number for which a value should be predicted. Passing non numeric values results in #VALUE! error. |
KnownYs | A cell range which defines the dependent y numbers. No number values are ignored. |
KnownXs | A cell range which defines the dependent x numbers. No number values are ignored. |
Return
A number representing the predicted Y value for given X value.
Examples
Formula | Result | Comment |
---|---|---|
| 10.607253' | with cell values A2: 6, A3: 7, A4: 9, A5: 15, A6: 21 and B2: 20, B3: 28, B4: 31, B5: 38, B6: 40 |
| #NA! | no y values |