Excel TREND function

Returns the trend line’s values for one or more xs. In Spanish Excel it is called TENDENCIA.

Syntax

English Excel

=TREND(known_ys, [known_xs], [new_xs], [const])

Spanish Excel (Mexico)

=TENDENCIA(conocido_y, [conocido_x], [nueva_matriz_x], [constante])

Spanish Excel (Spain, Latin America)

=TENDENCIA(conocido_y; [conocido_x]; [nueva_matriz_x]; [constante])

ArgumentWhat it is
known_ysThe historical results.
known_xsoptionalThe values that explain them.
new_xsoptionalThe xs you want line values for.
constoptionalFALSE forces the line through 0.

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.

=TREND($C$2:$C$9,$B$2:$B$9,B2)

Common mistake

With a range as new_xs it returns every value at once (it spills in Excel 365).

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 TREND

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 TREND called in Spanish?
In Spanish Excel it is TENDENCIA. The formula =TREND($C$2:$C$9,$B$2:$B$9,B2) is written =TENDENCIA($C$2:$C$9;$B$2:$B$9;B2) (or with commas in Mexico).
Why does TREND 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 TREND mistake?
With a range as new_xs it returns every value at once (it spills in Excel 365).