Removing a Trendline Error Message

Written by Allen Wyatt (last updated August 8, 2020)
This tip applies to Excel Excel in Microsoft 365


1

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:

https://techcommunity.microsoft.com/t5/excel/chart-displaying-quot-trendline-error-quot/m-p/1538964

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:

https://answers.microsoft.com/en-us/msoffice/forum/all/pivot-chart-trending-error/e1471b3e-ad2c-4776-837a-c42fa6410f9b

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 Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Determining an ANSI Value

You may need to determine the numeric value of a character in a macro. You can do that using the Asc function, described ...

Discover More

Using Track Changes

Track Changes is a valuable Word tool that allows you to automatically mark changes in your document. This is a great ...

Discover More

Converting to ASCII Text

When you work with imported or pasted data in an Excel worksheet, you may see some strange looking characters at times. ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Missing Bounds Options for a Chart

When your chart contains dates along one axis, you can set bounds on the way the chart is displayed. What causes, though, ...

Discover More

Adding Data Labels to Your Chart

Adding labels to a chart can make the information presented in the chart more understandable. Excel allows you to add ...

Discover More

Labeling X-Y Scatter Plots

Figuring out how to get the data points in an X-Y scatter plot labeled can be confusing; Excel certainly doesn't make it ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is five more than 3?

2021-04-28 15:55:25

Pat

Frustratingly enough I am experiencing this same error and have yet to find a way to troubleshoot. Thank you for posting the forum links, hopefully I'll turn up something.


This Site

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.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.