TREND Function

The TREND function is one of the statistical functions. It is used to calculate a linear trend line and returns values along it using the method of least squares.

The TREND function syntax is:

TREND(known_y’s, [known_x’s], [new_x’s], [const])

where

known_y’s is the set of y-values you already know in the y = mx + b equation.

known_x’s is the optional set of x-values you might know in the y = mx + b equation.

new_x’s is the optional set of x-values you want y-values to be returned to.

const is an optional argument. It is a TRUE or FALSE value where TRUE or lack of the argument forces b to be calculated normally and FALSE sets b to 0 in the y = mx + b equation and m-values correspond with the y = mx equation.

To apply the TREND function,

  1. select the cell where you wish to display the result,
  2. click the Insert function Insert function icon icon situated at the top toolbar,
    or right-click within a selected cell and select the Insert Function option from the menu,
    or click the Function icon icon situated at the formula bar,
  3. select the Statistical function group from the list,
  4. click the TREND function,
  5. enter the required argument,
  6. press the Enter button.

The result will be displayed in the selected cell.

TREND Function