Excel Trendline Equation in Cell

It’s common to want to see the overall pattern of your data when making a chart out of it. Newer versions of Excel have made it quite simple to create a trend line. There is only one true challenge regarding trendlines: deciding which form of the trendline is ideal for your data. This article will expedite the process of creating an Excel trendline equation in cell.

Excel Trendline

A trendline is a linear or bent arc in a graph that depicts the main pattern or flow of the information. Commonly used to represent data flow over a period or relationship between two parameters.

A trendline resembles a line chart; however, it does not link the datasets like a line graph. Statistical mistakes and small outliers are ignored while drawing a best-fit line, which depicts the overall trend across all data. It may be used to foresee trends in particular instances.

Excel Trendline Types

In Excel, there are six ways to generate a trendline. It’s possible to present an equation and R-squared value for trends in a chart using Microsoft Excel:

  • The trendline equation calculates the optimum line to suit the datasets.
  • The trendline’s validity is measured by R2 – the closer it is to 1, the finer.
Excel Trendline Types


Using a linear trend line is useful when the data sets in a graph seem like straight lines. In most cases, a linear trendline depicts an upward or downward movement that is constant across time.


You can see how datasets climb or decrease at a rising pace; thus, the line is generally more bent on one direction. Science makes frequent use of this trendline form to depict the rise or fall of human populations or wildlife species.

Please bear in mind that an exponential trendline can’t be constructed for input that includes zeros or negative figures.


In most cases, the logarithmic best-fit arc is applied to depict data that climbs or drops rapidly before stabilizing at some point. Negative values may also be included in this.


Large amounts of data with fluctuating readings with more than one highs and lows are best served by the polynomial curvilinear trendline.

An exponent’s degree is used to categorize polynomials. Additionally, the number of curves in the polynomial trendline may be used to gauge its strength. Quadratic polynomial trendlines have one curve, cubic polynomial trendlines have one or two curves, and quartic polynomial trendlines have up to three bends.

If you want to add a polynomial trendline to a chart in Excel, you may do so by entering the degree value in the Order field in the Format Trendline panel, which is two by convention.


The exponential arc and the power pattern line are similar, but the power trend has a better symmetrical contour. Readings that rise at a set pace are often plotted using this technique. Excel charts with zero or negative numbers cannot have a power trendline applied to them.

Moving average

Using a moving average trendline might help you vividly observe patterns when your datasets contain a lot of volatility. A moving average of two periods is calculated by Excel and used as a starting point for a line in your graph. In general, a smoother line may be achieved by increasing the Period value.

Process of Including a Trendline in an Excel Spreadsheet

A trend line may be easily added to Excel 2019, Excel 2016, and Excel 2013 using a simple three-step procedure:

  1. Choose it by clicking anywhere on the graph.
  2. Tap the Chart Elements key (the cross button) on the right corner of the graph, and afterward perform any of the following:
  1. Select the Trendline checkbox to input the standard linear trendline:
standard linear
  • Pick a proposed trendline by clicking the arrow beside it:
  • Select More Options by clicking the arrow beside Trendline. Selecting this item will bring up the Format Trendline window, where you may select the trend line style of your choice from the Trendline Options menu. Linear trendlines are the standard, and the trendline equation may also be shown in the graph as an alternative.
Linear trendlines

The Add Trendline option may be accessed by right-clicking the set of data in the Excel graph and selecting the trendline.

How to Forecast & use Trendlines in Microsoft Excel


Knowing how to utilize the many beneficial components of Microsoft Excel is quite essential and may be of use to anyone in any career, regardless of their background. You may sort and organize data pretty quickly and simply using a variety of commands and keyboard shortcuts, and it is even feasible to construct a trend based on the results of your data. Hopefully, this post on Excel Trendline equation in cell will assist you in learning more about trendlines and how to use them in your projects.

Leave a Comment

Share via
Copy link
Powered by Social Snap