July 10, 2025

Dsimpson6thomsoncooper

Consider It Solved

How to Add a Trendline in Google Sheets

How to Add a Trendline in Google Sheets

The Google Sheets logo.

Initially, insert a chart to your Google sheet. You can then edit the chart—in the Chart Editor, pick the “Personalize” tab in the sidebar, decide on “Sequence,” look at the “Trendline” box, and customise your trendline’s settings.

If you want a easy visible to help your viewers see the direction of the knowledge in your chart, think about a trendline. You can increase diverse types of trendlines in Google Sheets and personalize their visual appearance.

About Trendlines in Google Sheets

You can add a trendline to a bar graph, column chart, line graph, or scatter chart. You can pick a particular series for the trendline or apply just one to all the collection in the chart.

Associated: How to Make a Bar Graph in Google Sheets

There are six styles of trendlines you can use relying on how you want to show the line:

  • Linear: Use this for info that typically follows a straight line.
  • Exponential: Use this for details that improves and decreases in proportion to its worth.
  • Polynomial: Use this for data that fluctuates.
  • Logarithmic: Use this for details that will increase and decreases quickly and then amounts out.
  • Energy Collection: Use this for facts that raises and decreases in proportion to its benefit at the identical rate.
  • Relocating Ordinary: Use this to help even out unstable details.

Incorporate a Trendline in Google Sheets

As soon as you have the chart you want to use and are ready to incorporate the trendline, double-click the chart or simply click the a few dots on the major right and select “Edit Chart” to open up the Chart Editor sidebar.

Edit Chart in the chart menu

Go to the Customize tab in the sidebar and increase the Collection area.

Series section on the Customize tab of the Chart Editor

At the best of the portion, use the fall-down box to pick out the collection you want to use for the trendline. You can pick out “Apply to All Series” or choose a specific a single in your chart.

If you want to customize a trendline for each sequence, simply choose a single at a time and abide by the methods down below for just about every.

Select a chart Series

Scroll to the base of the Sequence section and check out the box for Trendline.

Trendline box checked

You are going to see the trendline surface on your chart. From there, use the Sort fall-down box instantly beneath to find the sort of trendline you want to use.

Trendline type selection

If you pick Polynomial, you can pick the degree. If you pick Going Regular, you can decide the Typical Variety and Period of time.

Polynomial and Moving Average trendline types

At the time you have your trendline set up, you can personalize its visual appearance.

Personalize a Trendline in Your Chart

With the Chart Editor sidebar open up and the Sequence section expanded on the Personalize tab, you will see options to customize the trendline.

Related: How to Switch Chart Axes in Google Sheets

You can find a Line Color applying the palette fall-down box. This is helpful if you want the trendline to stand out.

Line color palette for a trendline

Subsequent, you can alter the Line Opacity using the drop-down box. Select from zero to 100% to make the line much more or fewer daring.

Opacity options for a trendline

You can then decide on the Line Thickness applying the drop-down box. Pick out a person, two, four, or 8 pixels for the width of the line.

Line Thickness options for a trendline

Finally, you can insert a label for your trendline to the chart legend if you like. Choose the sort in the Label drop-down box. If you pick out “Custom,” enter the text for the label in the subsequent box.

Custom label for a trendline

You can also decide on “Use Equation” to exhibit the trendline type’s equation as the label and optionally screen the R squared for how intently the trendline matches the chart info.

Show R squared box checked for a trendline

When you end including and customizing your trendline, use the “X” on the major appropriate of the Chart Editor sidebar to close it.

If you want an included visual to enable your viewers seize the way of your information, a trendline in Google Sheets is the way to go.

For far more, verify out how to preserve or publish a chart or master how to make a table making use of a chart in Google Sheets.