Forecast in Excel. Linear function predicts a future point on a linear trend line fitted to a collection of x- and y-values given.
Syntax :
=FORECAST.LINEAR( x, known_y’s, known_x’s )
Parameters :
x –
known y’s –
known x’s –
Example :
In the following worksheet, the Excel Forecast.
A linear function is used to predict an additional point along the best-fit straight line using a set of known x- and y-values (stored in cells F2:F7 and G2:G7).
The function to compute the predicted y-value at x=7, as indicated in cell F7 of the spreadsheet, is:
=FORECAST.LINEAR( 7, G2:G7, F2:F7 )
This yields the result 32.666667.
Ask Your Query