Login to your new FMVA dashboard today.

How to Add a Secondary Axis in Excel

A step-by-step guide

How to Add a Secondary Axis in Excel?

The article below provides a step-by-step guide on how to add a secondary axis to charts in Microsoft Excel. A secondary vertical axis gives us more versatility with regards to data visualization and also provides us with the ability to plot multiple data series on the same chart.

A secondary axis allows us to represent and visualize multiple data series without the need to use additional charts. The feature is especially useful when we want to compare data series that are measured in different units or with different scales of comparison. For example, it is impossible to compare aggregate GDP with the unemployment rate using the same scale. We can either standardize the data, i.e., use an index for the data, or use a secondary axis.

 

Examples of Chart with a Secondary Axis

The chart below is made from US quarterly GDP data. The left-hand side vertical axis measures the GDP in levels, whereas the right-hand side vertical axis measures the growth in GDP. The next section will provide a step-by-step guide on how to recreate the exact chart.

 

Secondary Axis in Excel

 

Adding a Secondary Axis in Excel – Step-by-Step Guide

 

1. Download the sample US quarterly GDP data here.

 

Secondary Axis in Excel - Sample US Quarterly GDP Data Part 1

….

Secondary Axis in Excel - Sample US Quarterly GDP Data Part 2

 

2. Open the file in Excel, and get the quarterly GDP growth by dividing the first difference of quarterly GDP with the previous quarter’s GDP.

 

GDP Comparison Table

 

3. Select the GDP column (second column) and create a line chart. Use the quarterly observation date column (first column) as the horizontal axis, i.e., the axis label for the GDP. Change the format of the axis labels to show year only. It can be done by changing the number format in the right-hand side formatting pane to yyyy.

 

Create Chart

 

4. Add the GDP growth column (fourth column) to the chart by right-clicking on the chart and clicking on select data and then adding a new data series. Use the quarterly observation date column (first column) as the horizontal axis, i.e., as the axis labels for the GDP growth. The chart should look like the one below:

 

New Data Series

 

5. Right-click on the chart and choose “Change Chart Type.” The following menu should appear:

 

Change Chart Type

 

6. From the menu, select Combo and set both the chart types to “line” and set the GDP growth data series to the secondary axis.

 

Set the GDP Growth Data Series

 

7. The chart should look like the one below:

 

Sample Chart

 

8. The last step is to make cosmetic changes that make the chart easier to work with. The changes that can be made include adding axis labels, a legend, and a chart title.

 

Chart with Title, Legend, and Labels

 

Additional Resources

CFI is the official provider of the Financial Modeling and Valuation Analyst (FMVA)™ certification program, designed to transform anyone into a world-class financial analyst.

To keep learning and developing your knowledge of financial analysis, we highly recommend the additional resources below:

  • Level of Measurement
  • Parameter
  • Ordinal Data
  • Full List of Excel Courses

Free Excel Tutorial

To master the art of Excel, check out CFI’s FREE Excel Crash Course, which teaches you how to become an Excel power user.  Learn the most important formulas, functions, and shortcuts to become confident in your financial analysis.

 

Launch CFI’s Free Excel Course now to take your career to the next level and move up the ladder!