EXCEL FORECAST.LINEAR FUNCTION

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( xknown_y’sknown_x’s )

Parameters :

  • The function parameters are as follows:

x –

  • A numeric x-value for which a new y-value is to be forecasted.

known y’s –

  • A collection of known y-values.

known x’s –

  • A collection of known x-values.

Step By Step Guide of FORECAST.LINEAR Function

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.

  • #N/A – Occurs if the lengths of the specified known x and supplied known y arrays disagree.
  • #DIV/0! – This happens if the variance of the given known x’s is equal to zero.
  • #VALUE! – This error occurs if the given future value of x is not a number.

Related Functions

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP Function

Explore Now

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

DATE Function

DATE Function

Explore Now

IF Function

IF Function

Explore Now

OR Function

OR Function

Explore Now

AND Function

AND Function

Explore Now

RANK Function

RANK Function

Explore Now

SUMIF Function

SUMIF Function

Explore Now

XIRR Function

XIRR Function

Explore Now

WORKDAYS Function

WORKDAYS Function

Explore Now