O'Reilly logo

Microsoft® Excel® 2010 Formulas & Functions Inside Out by Helmut Reinke Egbert Jeschke Sara Unverhau, Eckehard Pfeifer, Bodo Fienitz, and Jens Bock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required