Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

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

· 7 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To add a secondary axis in Excel, right-click a data series in your chart, select Format Data Series, and then choose Secondary Axis under the Series Options. This feature allows you to plot two different data series on the same chart even when they use entirely different scales or units of measurement, such as comparing total revenue in dollars against a percentage growth rate.

When you have two sets of data with vastly different magnitudes—for example, one series ranging from 0 to 10 and another ranging from 1,000 to 10,000—plotting them on a single vertical axis makes the smaller values appear as a flat line at the bottom of the chart. By introducing a secondary axis, you create a second vertical scale on the right side of the chart area. This ensures that both data trends are visible and interpretable, allowing for a direct visual correlation between the two metrics without sacrificing the detail of the smaller values.

What You'll Need

  • A computer with Microsoft Excel installed (Windows or macOS).
  • A dataset containing at least two different series of numerical data.
  • An existing chart (such as a Column or Line chart) created from that data.

Step-by-Step

  1. Create Your Initial Chart: Select the range of data you wish to visualize, including the headers. Go to the Insert tab on the ribbon and select a chart type. For most secondary axis scenarios, a Clustered Column chart is the starting point. Note that labels and menu paths may differ slightly depending on your version of Excel or your operating system.
  2. Identify the Target Series: Look at your chart and identify the data series that is "disappearing" or looks flat because its values are significantly smaller than the other series. This is the series you will move to the secondary axis.
  3. Open the Format Menu: Right-click directly on the data bar or line of the series you want to move. From the context menu that appears, select Format Data Series. This will open a task pane on the right side of your Excel window.
  4. Assign the Secondary Axis: In the Format Data Series pane, ensure you are on the Series Options tab (represented by a small bar chart icon). Under the Plot Series On section, click the radio button for Secondary Axis. You will immediately see a new vertical axis appear on the right side of the chart.
  5. Change the Chart Type for Clarity: Now that both axes exist, you likely have two sets of columns overlapping each other, which makes the chart difficult to read. To fix this, right-click the series again and select Change Series Chart Type.
  6. Configure the Combo Chart: The Change Chart Type dialog will open to the Combo category. Here, you will see a list of all your data series. For the series assigned to the Primary Axis, keep it as a Clustered Column. For the series assigned to the Secondary Axis, change the dropdown menu to Line or Area. This creates a "Combo Chart," where bars represent one metric and a line represents the other.
  7. Label Your Axes: Because you now have two different scales, it is critical to label them so the viewer knows which side corresponds to which data. Go to the Chart Design tab, click Add Chart Element, select Axis Titles, and choose both Primary Vertical and Secondary Vertical. Click into the text boxes that appear on the chart to type the appropriate units (e.g., "USD" on the left and "%" on the right).

Common Mistakes

One of the most frequent errors is forgetting to change the chart type after assigning the secondary axis. If both series remain as columns, the secondary series often completely hides the primary series, or they overlap in a way that obscures the data points. Always transition one of the series to a line chart to ensure visual separation.

Another common mistake is failing to label the axes. When a chart has two Y-axes, it is inherently more complex. Without clear labels, a stakeholder might look at the right-hand axis and assume the values apply to the bars on the left, leading to a complete misinterpretation of the data. Always explicitly name your axes.

Users also frequently attempt to add a secondary axis to a Pie chart or a Scatter plot without understanding the limitations. Secondary axes are designed for charts that share a common X-axis (like dates or categories). Attempting to force a secondary axis onto a chart type that doesn't support it will result in the option being greyed out or missing from the Format menu.

Tips

To make your chart more professional, coordinate the colors of your data series with the colors of the axis text. For example, if your primary bars are blue and your secondary line is orange, you can change the font color of the left axis to blue and the right axis to orange. This creates an intuitive visual link for the reader.

If your secondary axis scale feels "off" (for example, it starts at 20 instead of 0), you can manually adjust the bounds. Right-click the secondary axis numbers, select Format Axis, and under Axis Options, manually set the Minimum and Maximum bounds. This prevents Excel from automatically scaling the axis in a way that might exaggerate small fluctuations in the data.

Consider using a "Marker" on your secondary line chart. By going to Format Data Series > Fill & Line > Marker, you can add dots to the line. This makes the specific data points easier to pinpoint against the secondary axis scale, especially in charts with many data entries.

Troubleshooting

The "Secondary Axis" option is missing or greyed out: This usually happens if you have selected the entire chart area or the plot area instead of a specific data series. Ensure you are clicking directly on one of the bars or the line of the data you want to move. If you are using a chart type that doesn't support dual axes (like a 3D Pie chart), the option will not be available. Switch to a 2D Column or Line chart first.

The data series disappeared after switching to the secondary axis: This often occurs when the new scale is so different that the data points are plotted outside the visible area of the chart. Check the values of your secondary axis. If the axis shows 0 to 100 but your data is 1,000,000, you may need to check your source data for errors or manually adjust the axis bounds in the Format Axis menu.

The legend is confusing or incorrect: When you change chart types to a Combo chart, Excel sometimes reorders the legend. To fix this, right-click the chart, choose Select Data, and use the up/down arrows in the Legend Entries section to reorder how the series appear in the legend.

The chart looks cluttered with too many lines: If you have more than two series, avoid putting everything on the secondary axis. A general rule of thumb is to have one primary metric (the main focus) and one or two supporting metrics on the secondary axis. If you have four or five different scales, a single chart is no longer the right tool; consider creating a series of small multiples (separate charts) instead.

Frequently Asked Questions

Can I have more than two Y-axes in one Excel chart?

No, Excel officially supports only one primary vertical axis and one secondary vertical axis. If you need a third scale, you must either normalize your data (convert it to percentages of a total) or create separate charts.

Does this work on Excel for Web?

Yes, the functionality exists in Excel for the Web, though the interface for the Format pane may look slightly different. You can still right-click a series to access the axis options.

Why does my line chart look jagged when I move it to the secondary axis?

This is usually due to the axis scaling. Excel tries to fit the data to the window. If you have a few extreme outliers, the rest of the line will look flat or jagged. Adjust the axis minimum and maximum bounds to smooth out the visualization.

Can I use a secondary X-axis (horizontal) as well?

Yes, this is possible primarily in Scatter plots (XY charts). In the Format Axis menu, you can assign a series to a secondary horizontal axis, which will appear at the top of the chart.

How do I remove the secondary axis once I've added it?

Right-click the data series that is currently on the secondary axis, select Format Data Series, and under Series Options, switch the selection back to Primary Axis.