6.2 C
London
Thursday, December 19, 2024
HomeSoftware TutorialsGoogle SheetsHow to Add Multiple Trendlines to Chart in Google Sheets

How to Add Multiple Trendlines to Chart in Google Sheets

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

The following step-by-step example shows how to create a chart in Google Sheets with multiple trendlines.

Step 1: Enter the Data

First, let’s enter some values that show the total sales of two different products during various years:

Step 2: Create the Chart

To create a chart to visualize the sales of each product by year, highlight the values in the range A1:C11. Then click the Insert tab and then click Chart:

By default, Google Sheets will insert a line chart:

To turn this into a scatterplot, click the Setup tab within the Chart editor panel and choose Scatter chart as Chart type:

The chart will automatically be turned into a scatterplot:

The blue dots show the sales of product A each year and the red dots show the sales of product B each year.

Step 3: Add Multiple Trendlines

In the Chart editor panel that appears on the right side of the screen, use the following steps to add a trendline to the blue dots:

  • Click the Customize tab.
  • Then click the Series dropdown.
  • Then choose Product A Sales from the dropdown list.
  • Then check the box next to Trendline.

Repeat this process, except choose Product B Sales from the dropdown:

The trendlines for Product A Sales and Product B Sales will both be added to the chart:

Google Sheets multiple trendlines

Note that within the Customize tab you can also modify the color, line thickness and opacity of each trendline.

Also note that Google Sheets uses a linear trendline by default, but within the Customize tab you can also choose to use exponential, polynomial, or other trendlines.

Additional Resources

The following tutorials explain how to perform other common tasks in Google Sheets:

How to Create a Box Plot in Google Sheets
How to Create a Bubble Chart in Google Sheets
How to Create a Pie Chart in Google Sheets
How to Create a Pareto Chart in Google Sheets

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories