Predict value along a linear trend
=FORECAST.LINEAR(x, known_ys, known_xs)
| Parameter | Description |
|---|---|
x |
The x value data point to use to calculate a prediction. |
known_ys |
The dependent array or range of data (y values). |
known_xs |
The independent array or range of data (x values). |
In the example shown above, the formula in cell D13 is:
=FORECAST.LINEAR(B13,sales,periods)