by Allen Wyatt
(last updated August 8, 2020)
Richard's computer recently updated Windows 10 and now his Excel charts that have trendlines all have a little message in the top-left corner stating "trendline error." Richard doesn't know if this is related to the Windows update or not, but he needs to understand why the message appeared and how to remove it.
The appearance of this message wasn't caused by an update in Windows, but by an update in the Office 365 version of Excel. The first reports about this message were near the end of July, so it is a relatively recent issue. You can see it discussed in this Microsoft forum:
The participants indicated that the error occurs when the X values (those indicated along the horizontal axis) are either 0 or very close in value to each other. This results in a calculated "infinite slope" that cannot provide any meaningful trend that can be displayed.
It seems, though, that the message may also appear in places it shouldn't. For instance, take a look at this discussion on a different Microsoft forum:
In this case, the message was appearing on PivotCharts, even when the chart did not contain a trendline. In this instance, the appearance of the message is definitely an error, and was reported to Microsoft. This means that it should be corrected—at least for charts that contain no trendlines—in a future release of the program.
It remains to be seen whether the fix, when it comes, will affect those charts where the X values are close to the same. It is also unclear whether Microsoft will make it a configuration option to display or not display this message. In the meantime, the only solution would be to try removing the trendlines for those charts where a trendline makes little sense.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (7631) applies to Microsoft Excel Excel in Office 365.
Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!
You can spice up your bar chart by using a graphic, of your choosing, to construct the bars. This tip shows how easy it ...Discover More
When creating a line cart, the line can show values both positive and negative values. This tip explains how you can use ...Discover More
Want to change an existing bar chart to a different type of chart, such as a line chart or a column chart? It's easy to ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.