Excel FORECAST.LINEAR function

Estimates a future value with a straight line fitted to historical data. In Spanish Excel it is called PRONOSTICO.LINEAL.

Syntax

English Excel

=FORECAST.LINEAR(x, known_ys, known_xs)

Spanish Excel (Mexico)

=PRONOSTICO.LINEAL(x, conocido_y, conocido_x)

Spanish Excel (Spain, Latin America)

=PRONOSTICO.LINEAL(x; conocido_y; conocido_x)

ArgumentWhat it is
xThe new value you want the estimate for.
known_ysThe historical results (for example, sales).
known_xsThe historical values that explain them (for example, advertising or month).

Example

CORREL measures from -1 to 1 how closely two columns move together; near 1 is a strong relationship. FORECAST.LINEAR(x, known_ys, known_xs) draws the best-fitting line and estimates the y of a new x. TREND gives that line’s values for each row.

=FORECAST.LINEAR(G2,C2:C9,B2:B9)

Common mistake

FORECAST is the older name. The order matters: first the new x, then the ys and last the xs.

About Ads

This site uses Google AdSense to display ads. These ads help us keep WebHerramientas completely free. Ads are managed by Google and meet strict security and privacy standards.

Advertising
Loading ad...

Ads help us keep WebHerramientas free for everyone

Practice FORECAST.LINEAR

Type the formula in the sheet and check it instantly. Spanish or English function names both work. See all lessons

Correlation and forecasting

CORREL measures from -1 to 1 how closely two columns move together; near 1 is a strong relationship. FORECAST.LINEAR(x, known_ys, known_xs) draws the best-fitting line and estimates the y of a new x. TREND gives that line’s values for each row.

Example=FORECAST.LINEAR(G2,C2:C9,B2:B9)COEF.DE.CORREL = CORRELPRONOSTICO.LINEAL = FORECAST.LINEARPRONOSTICO = FORECASTTENDENCIA = TREND
Step 1/3

In G1, measure the correlation between advertising and sales.

G1
ABCDEFGH
1MonthAdvertisingSalesTrendCorrelation
2Jan20,000.0064,000.00Planned advertising60,000.00
3Feb25,000.0079,500.00Estimated sales
4Mar22,000.0070,100.00
5Apr30,000.0095,800.00
6May35,000.00108,400.00
7Jun28,000.0090,200.00
8Jul40,000.00126,000.00
9Aug45,000.00139,500.00
10

Tip: while typing, click a cell or drag across several to insert their reference. F4 anchors the reference with $.

Frequently asked questions

What is FORECAST.LINEAR called in Spanish?
In Spanish Excel it is PRONOSTICO.LINEAL. The formula =FORECAST.LINEAR(G2,C2:C9,B2:B9) is written =PRONOSTICO.LINEAL(G2;C2:C9;B2:B9) (or with commas in Mexico).
Why does FORECAST.LINEAR use semicolons in some Excel versions?
It depends on regional settings. Where the comma is the decimal mark (Spain, much of South America), Excel separates arguments with semicolons. English Excel and Mexican Spanish Excel use commas.
What is the most common FORECAST.LINEAR mistake?
FORECAST is the older name. The order matters: first the new x, then the ys and last the xs.