
Slope line in XY charts – When to use them & tips Here is our final XY chart with slope line. This will help in reading the data better. Bonus step: You can add a text box to the chart and type in “more this week” in it and place it above the line.Add a chart title, space out the grid lines and format the slope line. To do this, right click on the orange dots (slope series) and select “Change series chart type”.


Now add this slope series to the scatter plot. The second image appears when we click on the pull-down arrow next to "Scatter". In that case, copy-and-paste the trendline coefficients.įinally, the XY Scatter chart type is indeed one of the Insert Charts options in the toolbar, at least in Excel 2010, which you indicate you are using. However, occassionally, LINEST returns bogus coefficients But usually, the estimated y-values are the same. Then A1 is the coefficient for x^6, B1 is the coefficient for x^5, etc.Ĭaveat: Sometimes, LINEST returns different coefficients than you see in the trendline label, even when formatted to display 15 signficant digits. The following formula (press ctrl+shift+Enter instead of just Enter): But for an order-6 polynomial trendline, you might select 7 cells in a row (e.g. It appears that you removed your example Excel file, so I cannot give you an example tailored to your problem. That ensures that you have the best representation that Excel permits regardless of the magnitude of the number.Īlternatively, you might try using LINEST. If you copy-and-paste coefficients from the trendline label, I suggest that you choose the Scientific format with 14 decimal places. But they do document it in ( click here). I would agree that Microsoft could document this better.

To do this, right-click the formula box on the chart Ĭlick Format Trendline Label change Category to Number and increase the number of decimal places. You need more digits for the formula to be useable (in my case, the accuracy was enough, except that it went into scientific number format so the 5 digits just showed the E01.1 and that was about it). The chart MUST be "X Y Scatter" type - it isn't in the insert chart options, you have to insert a chart, click Change Chart Type, then change to X Y Scatter.ģ. It's Microsoft's fault their formula works, but only if you do certain things.Ģ.
