Add a trend or moving average line to a chart

In Excel for the web, you can view charts that have trendlines or moving average lines, but you won’t be able to add or change them.

If you have the Excel desktop application, you can use the Open in Excel button to open your workbook to add or change trendlines and moving average lines there. Here’s how:

Click Open in Excel and add a trend or moving average line to a chart.

Button to Edit in Excel

For news about the latest Excel for the web updates, visit the Microsoft Excel blog.

For the full suite of Office applications and services, try or buy it at

Expand your Office skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.