Syntax
| Parameter | Description |
|---|---|
| x | Parameter of the FORECAST.LINEAR function. |
| known_y | Parameter of the FORECAST.LINEAR function. |
| known_x | Parameter of the FORECAST.LINEAR function. |
Examples
Q5 revenue projection
=FORECAST.LINEAR(5, C2:C5, B2:B5)
Demand at a price point
=FORECAST.LINEAR(25, D2:D30, E2:E30)
Headcount planning
=FORECAST.LINEAR(150, B2:B20, C2:C20)
Common Errors
Known_y and known_x have different lengths.
Zero variance in x-values (all the same), making regression undefined.
Tips
FORECAST.LINEAR and FORECAST are identical. The .LINEAR suffix exists because newer versions also offer FORECAST.ETS for exponential smoothing.
If your data has seasonal patterns (e.g., retail sales spike in December every year), FORECAST.ETS handles this; FORECAST.LINEAR cannot.
Projecting far beyond your data range is risky. A trend that holds for months 1-12 may not continue to month 36. Use caution with distant forecasts.
Try FORECAST.LINEAR in Viztab
Import your data and use FORECAST.LINEAR with 370+ other formulas. No signup required.
Open Viztab