How to Combine Graphs with Different X Axis in Excel

 

How to Create Graphs in Excel

This is a sample dataset:

  Steps

  • Select B4:C11.

  • The Quick Analysis option will be displayed at the right bottom corner.
  • Click it.

How to Create Graphs in Excel

  • Select the Charts tab and click Scatter.

How to Create Graphs in Excel

  • The chart based on the dataset is created.

  • Click the Axis Titles to see the X and Y axis. X is the horizontal axis and Y the vertical axis.

How to Create Graphs in Excel

  • To change the chart title, click it.

Combine Graphs with Different X Axis in Excel

Read More: How to Add Secondary Axis in Excel


Combine Graphs with Different X Axis in Excel

This is the dataset:

Combine Graphs with Different X Axis in Excel

The dataset contains age, years of service, and salaries. There are two X horizontal axis. One is Age and the other Years of Service. Salary is the Y axis.

There are two graphs:

  • Age VS Salary
  • Years of Service VS Salary

Y is fixed but X is different.

1. Plot First Graph with X Axis in the Excel Worksheet

To plot the Age VS Salary graph:

Steps

  • Go to the Insert tab.
  • In Charts, click Scatter.

Combine Graphs with Different X Axis in Excel

  • Click Scatter.

Combine Graphs with Different X Axis in Excel

  • An empty graph will be displayed.
  • Right-click the graph.

Combine Graphs with Different X Axis in Excel

  • Click Select Data.

Combine Graphs with Different X Axis in Excel

  • Click Add.

Combine Graphs with Different X Axis in Excel

  • Give your graph a title. Here, “Age VS Salary”.
  • Select the series of your X values.

Combine Graphs with Different X Axis in Excel

  • Select the series of your Y values.
  • Click OK.

Combine Graphs with Different X Axis in Excel

 


2. Combine Two Graphs with Different X Axis

Steps

  • Right-click the graph.

Combine Graphs with Different X Axis in Excel

  • Click Select Data.

Combine Graphs with Different X Axis in Excel

  • Click Add.

Combine Graphs with Different X Axis in Excel

  • Select the series of your X values.

Combine Graphs with Different X Axis in Excel

  • Select the series of your Y values.
  • Click OK.

Combine Graphs with Different X Axis in Excel

Excel labeled the two graphs with different colors.

Read More: How to Hide Secondary Axis in Excel Without Losing Data


How to Add a Second or Different Vertical Axis in the Excel Scatter Plot

This is the dataset:

How to Add Second or Different Vertical Axis in Excel Scatter Plot

There are a series of X values. There are also two series of Y values. There are two graphs here:

  • X VS Y^2
  • X VS Y^3

The horizontal axis X is the same. But, we have two different Y axis.

Steps

  • Go to the Insert tab.
  • In Charts, click Scatter.

How to Add Second or Different Vertical Axis in Excel Scatter Plot

  • Click Scatter.

  • An empty graph will be displayed.
  • Right-click the graph.

  • Click Select Data.

  • Click Add.

How to Add Second or Different Vertical Axis in Excel Scatter Plot

  • Give your graph a title. Here, “X VS Y^2”.
  • Select the series of your X values. How to Add Second or Different Vertical Axis in Excel Scatter Plot
  • Select the series of your Y values.
  • Click OK to create the first graph.

How to Add Second or Different Vertical Axis in Excel Scatter Plot

  • To add the second vertical axis, right-click the graph.

  • Click Select Data.

  • Click Add.

  • Select the series of your X values.

How to Add Second or Different Vertical Axis in Excel Scatter Plot

  • Select the series of your Y values.
  • Click OK.

How to Add Second or Different Vertical Axis in Excel Scatter Plot

The second vertical axis was added

Read More: How to Add Secondary X Axis in Excel


 

Download Practice Workbook


 

<< Go Back To Secondary Axis in ExcelExcel ChartsLearn Excel

Get FREE Advanced Excel Exercises with Solutions!
A.N.M. Mohaimen Shanto
A.N.M. Mohaimen Shanto

A.N.M. Mohaimen Shanto, a B.Sc. in Computer Science and Engineering from Daffodil International University, boasts two years of experience as a Project Manager at Exceldemy. He authored 90+ articles and led teams as a Team Leader, meticulously reviewing over a thousand articles. Currently, he focuses on enhancing article quality. His passion lies in Excel VBA, Data Science, and SEO, where he enjoys simplifying complex ideas to facilitate learning and growth. His journey mirrors Exceldemy's dedication to excellence and... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo