11.08.2013 Views

Excel's Formula - sisman

Excel's Formula - sisman

Excel's Formula - sisman

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

470<br />

Part V: Miscellaneous <strong>Formula</strong> Techniques<br />

The following formula, in cell G3, calculates the value for c:<br />

=EXP(G2)<br />

Column C shows the predicted y values for each value of x, using the calculated values for b and<br />

c. For example, the formula in cell C2 is as follows:<br />

=$G$3*EXP($F$2*A2)<br />

Column D uses the GROWTH function in an array formula to generate predicted y values. The<br />

array formula, entered in D2:D11, appears like this:<br />

{=GROWTH(B2:B11,A2:A11)}<br />

Polynomial trendline<br />

When you request a polynomial trendline, you also need to specify the order of the polynomial<br />

(ranging from 2 through 6). The equation for a polynomial trendline depends on the order. The<br />

following equation, for example, is for a third-order polynomial trendline:<br />

y = (c3 * x^3) + (c2 * x^2) + (c1 * x^1) + b<br />

Notice that there are three c coefficients (one for each order).<br />

Figure 17-30 shows a chart with a third-order polynomial trendline added. A four-element array<br />

formula entered in F2:I2 calculates the values for each of three c coefficients and the b coefficient.<br />

The formula is<br />

{=LINEST(B2:B11,A2:A11^{1,2,3})}

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!