

Trend Function Examples Example 1 - Extension of a Simple Straight Line Type your function into the first cell of the range, and press CTRL-SHIFT-Enter.See the Excel Array Formulas page for further details.

To input an array formula, you need to first highlight the range of cells for the function result. Therefore, the function must be entered as an Array Formula (see the examples below). If more than one new y-value is to be calculated by the Excel Trend function, the new values will be returned as an array. If is FALSE the constant b is set to 0 and the straight line equation becomes y = mx. If is TRUE (or if this argument is omitted) the constant b is treated normally Īn optional logical argument that specifes whether the constant 'b', in the straight-line equation y = mx + b, should be forced to be equal to zero. If the argument is omitted, it is set to be equal to the. Īn optional argument, providing one or more arrays of numeric values representing a set of new x-values, for which you want to calculate the corresponding new y-values.Įach array of should correspond to an array of. If omitted, the set of takes on the value. This is an optional argument which, if provided, should have the same length as the set of known_y's. Where the function arguments are as follows: known_y's
