FORECAST function
a value along a linear trendThis function has been replaced with FORECAST.LINEAR as part of the new Forecasting, but it's still available for compatibility with earlier versions.
Statistical
Where can you use it?
Analytics, quality and research teams. Use this group to examine distributions, variability or relationships in measurements, sales or service durations.
Scenario in the workbook
Evaluate predictions on a fitted line using the legacy forecasting function. The model does not account for seasonality.
A worked example from the workbook
| Row | A | B |
|---|---|---|
| 6 | Input reading | Output reading |
| 7 | 1 | 2 |
| 8 | 2 | 4 |
| 9 | 3 | 6 |
Record 1
=FORECAST(A7,B7:B9,A7:A9)Expected result2
See the inputs and instructions for all 3 examplesCopyable formulas
English Excel · en-US
=FORECAST(A7,B7:B9,A7:A9)Turkish Excel · tr-TR
=TAHMİN(A7;B7:B9;A7:A9)Worked examples
Evaluate predictions on a fitted line using the legacy forecasting function. The model does not account for seasonality.
Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.
| Row | A | B |
|---|---|---|
| 6 | Input reading | Output reading |
| 7 | 1 | 2 |
| 8 | 2 | 4 |
| 9 | 3 | 6 |
| Case | Formula | Expected result |
|---|---|---|
| Record 1 | =FORECAST(A7,B7:B9,A7:A9) |
2 |
| Record 2 | =FORECAST(A8,B7:B9,A7:A9) |
4 |
| Record 3 | =FORECAST(A9+1,B7:B9,A7:A9) |
8 |