Last Updated on November 3, 2023 by Jake Sheridan
In this tutorial, you will learn how to put two sets of data on one graph in Google Sheets.
If you have two related data sets in Google Sheets, you may want to chart them on the same graph. This can be useful to compare and contrast the data sets and also saves space in your spreadsheet
While it may not be immediately obvious how to make such a grap, it’s quick and easy in Google Sheets. Just follow the steps below.
Prepping The Data
The first step is to make sure your data is formatted correctly for charting
Step 1
Start with column headers for the X-axis and two data sets. These will be used for graph labels. In the image below, temperature is the X-axis, and the sales numbers for the two teams are the two data sets

Step 2
Now add your data underneath the headers. If X values are the same for the two datasets, this step is straightforward. If you have different X values for the two data sets, you will have to enter all values for the first data set, followed by the values for the second dataset, separately.. Ie, start with all X and Y values for the first data set directly under the header, then include all X and Y values for the second dataset underneath that

Inserting the Graph
Once you have your data entered as described above, it’s time to graph it
Here’s how:
Step 1
Select the entire range you just entered data in, including the headers, then open the Insert menu and choose Chart

Step 2
In the Chart Editor sidebar, under Chart Type, select the type of graph you want. For this example, we’ll use a smooth line chart to nicely demonstrate the difference between the two data sets

Step 3
Your chart displaying both data sets is ready

Summary
Example Spreadsheet: Make a copy of the example spreadsheet
In this tutorial, I covered how to put two sets of data on one graph in Google Sheets. Want more? Check out all the Google Sheets Tutorials.
More ways to make graphs & charts:
- Use Slicer
- Line Chart
- Combo Chart
- Area Chart
- Column Chart
- Bar Char
- Boxplot
- Bubble Chart
- Pareto Chart
- Quadrant Chart
- Scatter Plot With Lines
- Stacked Bar Chart
- Pie Chart
- Scatter Chart
- Histogram Chart
- Candlestick Chart
- Organisational Chart
- Progress Bars
- Dot Plot
- Gauge Chart
- Bell Curve
- Double Bar Graph
- Add Average Line To Chart
- Add A Second Y-Axis
- Add Axis Labels
- Plot Multiple Lines
- Create A Table
- Add Error Bars To Charts
- Add Labels To Scatterplot Points
- Add Equation To Graph
- Change Chart Colors
- Copy Graphs
- Label A Legend
- Label Legend
- Box And Whisker Plot
- Dot Plot
- Gantt Chart
- How To Make A Chart
- Line Graph With Multiple Lines
- Residual Plot
- Organizational Chart
- Add A Horizontal Line To A Chart
- Add Trendline To Chart
- Add Multiple Trendlines To Chart
- Chart With Multiple Ranges Of Data
- Line Of Best Fit
- Standard Deviation Bars
- Multiple Trendlines
- Add A Y Axis
- Data Labels
- Switch X And Y Axis
- Change Font
- Smooth Line Chart
- Stacked Area Chart
- 100% Stacked Area Chart
- Stepped Area Chart
- Stacked Stepped Area Chart
- 100% Stacked Stepped Area Chart
- Stacked Column Chart
- 100% Stacked Column Chart
- 100% Stacked Bar Chart
- Doughnut Chart
- 3D Pie Chart
- Scatter Chart
- Geo Chart
- Geo Chart With Markers
- Waterfall Chart
- Radar Chart
- Scorecard Chart
- Treemap Chart
- Timeline Chart
- Table Chart
- Rotate Data Tables
- Combine Two Graphs
- Add Series
- Change Series Name
- Plot Multiple Lines on a Chart
- How To Analyze Data