
The "new_x" values are in cells A24:C24, where B24 and C24 are the formulas as shown. The trend line displays the approximated values obtained using some. The "known_y" values are in green in E3:E22 Trendline reliability A trendline is most reliable when its R-squared value is at or near 1. In Excel Learn how to add trendline formulas and equations in Excel in this video.

The "known_x" values are in green in A3:C22 If you change the values in E3:E22, the trend() function will update Cell E24 for your new input at Cell A24.Įdit = In the Category list, click Number, and then change the Decimal places setting to 30 or less. Select the series, and right click to show the context menu, then click Format Data Series. Note: It’s not able to add trendline for pie charts in Excel. 1 Answer Sorted by: 2 Say we have data in columns A and B like: To do a linear trend we need a slope and intercept. Right-click the trendline equation or the R-squared text, and then click Format Trendline Label. Add trendline with right clicking the data series (color bricks) and specifying the Add Trendline from the context menu.

The trend() formula is in Cell E24 where the cell references are shown in red.Ĭell A24 contains the new X, and is the cell to change to update the formula in E24Ĭell B24 contains the X^2 formula (A24*A24) for the new XĬell C24 contains the X^3 formula (A24*A24*A24) for the new X Method 1: Microsoft Office Excel 2007 Open the worksheet that contains the chart. I know I can copy and paste it but the cell equation. Column C is X^3 (two cells to the left cubed). I can display a trendline equation in a graph but wish to link this equation to a particular cell.

Column B is X^2 (the cell to the left squared). Try trend(known_y's, known_x's, new_x's, const).Ĭolumn A below is X.
