Skip to content

TREND

Fits a straight line to known data and returns the y values on that line for new x values.

Syntax

=TREND(, , , )

Statistical

All versions of Excel

A full guide with worked examples for TREND is still being written.

Arguments

known_ys
The known y values.
known_xsoptional
The known x values, the same size as known_ys. Omitted, 1, 2, 3 and so on.
new_xsoptional
The x values to predict for. Omitted, known_xs.
constoptional
TRUE or omitted fits an intercept; FALSE forces the line through zero.

Try it

Type some values, then a formula that uses TREND, and press Enter. The sheet calculates as Excel would.

A1
A
B
C
D
E
F
1
2
3
4
5
6
7
8
9
10
All functions