FormulaCamp
Completed
← Google Sheets functions
Google Sheets function

FORECAST.LINEAR in Google Sheets

FORECAST.LINEAR with worked examples you can test in the live grid. The argument details are in the Excel guide.

In Google Sheets

The arguments and common errors are covered in the FORECAST.LINEAR Excel guide; check the function help in Google Sheets for its own argument list.

Worked examples in Google Sheets

Forecast the next point

AB
1xy
213
325
437
549

Formula: D2: =FORECAST.LINEAR(5,B2:B5,A2:A5)

Result: 11

Extending y=2x+1 to x=5 gives eleven.

Interpolate a midpoint

AB
1xy
213
325
437
549

Formula: D2: =FORECAST.LINEAR(2.5,B2:B5,A2:A5)

Result: 6

The fitted line gives six halfway between x=2 and x=3.

Forecast a flat series

AB
1xy
215
325
435

Formula: D2: =FORECAST.LINEAR(8,B2:B4,A2:A4)

Result: 5

A horizontal fitted line predicts five at any x.

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in D2: =FORECAST.LINEAR(7,B2:B7,A2:A7)

Example spreadsheet for FORECAST.LINEAR
ABCD
1MonthRevenueResult
21120194.133333333
32135
43150
54148
65170
76185
Result in D2: 194.133333333

Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.