<p>The <b>TREND</b> 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.</p>
<p><b><em>known_y’s</em></b> is the set of y-values you already know in the <em>y = mx + b</em> equation.</p>
<p><b><em>known_x’s</em></b>is the optional set of x-values you might know in the <em>y = mx + b</em> equation.</p>
<p><b><em>new_x’s</em></b> is the optional set of x-values you want y-values to be returned to.</p>
<p><b><em>const</em></b> is an optional argument. It is a TRUE or FALSE value where TRUE or lack of the argument forces <em>b</em> to be calculated normally and FALSE sets <em>b</em> to 0 in the <em>y = mx + b</em> equation and m-values correspond with the <em>y = mx</em> equation.
</p>
<p>To apply the <b>TREND</b> function,</p>
<ol>
<li>select the cell where you wish to display the result,</li>