TREND()

Syntax. TREND(known_y’s;known_x’s;new_x’s;const)

Definition. This function returns values along a linear trend. TREND() fits a straight line (using the method of least squares) to the known_y’s and known_x’s arrays. The function returns the y-values along that line for the specified array of new_x’s.

Arguments

  • known_y’s (required). The y-values you already know from the relationship y = mx + b:

    • If the known_y’s array consists of a single column, then each column in the known_x’s array is interpreted as a separate variable.

    • If the known_y’s array consists of a single row, then each row in the known_x’s array is interpreted as a separate variable.

  • known_x’s (optional). The x-values you already know from the relationship y = mx + b:

    • The known_x’s ...

Get Microsoft® Excel® 2010 Formulas & Functions Inside Out now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.