Adding a second y-axis (also known as a secondary axis) in Excel allows you to plot two different data series with vastly different scales on the same chart. For example, if you are tracking total revenue in millions of dollars and the number of new customers in the hundreds, a standard chart would make the customer line look like a flat line at the bottom. A secondary axis creates a second vertical scale on the right side of the chart, ensuring both data sets are visible and meaningful.
What You'll Need
- Microsoft Excel installed on your PC or Mac.
- A dataset containing at least two different categories of numerical data that you wish to compare.
- An existing bar or column chart created from that data.
Step-by-Step
- Create your initial chart: Select your data range, go to the Insert tab, and select a Clustered Column or Bar Chart. At this stage, both data series will share the same primary y-axis on the left.
- Select the data series to move: Right-click on one of the bars that represents the data series you want to move to the secondary axis. (Note: If the bars are too small to click because of the scale difference, you can go to Chart Format in the top ribbon, click the dropdown menu in the top-left corner, and select the specific series name from the list).
- Open the Format Data Series pane: From the right-click menu, select Format Data Series.... This will open a formatting pane on the right side of your screen.
- Assign the secondary axis: In the Format Data Series pane, under the Series Options tab (represented by a small bar chart icon), locate the "Plot Series On" section. Select the radio button for Secondary Axis.
- Change the chart type for clarity: Because you now have two sets of bars overlapping each other, the chart may look cluttered. To fix this, right-click the series on the secondary axis again and select Change Series Chart Type....
- Create a Combo Chart: In the Change Chart Type window, ensure you are on the Combo category. Here, you can keep the primary series as a Clustered Column and change the secondary series to a Line or Area chart. Ensure the "Secondary Axis" checkbox is checked for the series you just moved.
- Click OK: Your chart will now display the primary scale on the left and the secondary scale on the right.
Common Mistakes
- Overlapping Bars: Many users move a series to the secondary axis but leave it as a bar chart. This causes the two sets of bars to sit directly on top of each other, hiding the data behind. Always change the secondary series to a line chart for better visibility.
- Confusing the Axes: Forgetting to label the axes can lead to viewers misinterpreting the data. When you have two scales, it is critical to explicitly name both.
- Using Too Many Series: Attempting to add a third or fourth axis is not natively supported in standard Excel charts. Adding too many lines to a secondary axis makes the chart unreadable.
Tips
- Add Axis Titles: To avoid confusion, go to the Chart Design tab, click Add Chart Element > Axis Titles > Primary Vertical and Secondary Vertical. Type in the units (e.g., "USD" vs "Quantity").
- Coordinate the Colors: Match the color of your axis text or title to the color of the data series it represents. For example, if your revenue bars are blue and your customer line is orange, make the right-hand axis text orange.
- Adjust Scale Bounds: If there is too much white space, right-click the axis, select Format Axis, and manually set the Minimum and Maximum bounds.
Troubleshooting
If the secondary axis does not appear or the data does not move:
- Check Data Types: Ensure your data is formatted as "Number" or "Currency." If Excel perceives your numbers as "Text," it cannot plot them on a numerical axis.
- Verify Series Selection: If you cannot click the bar, use the Format tab in the ribbon. In the "Current Selection" group, use the dropdown to select the exact series you intend to move.
- Reset Chart Type: If the chart looks distorted, go back to Change Series Chart Type and ensure the "Combo" option is correctly configured with the correct series assigned to the secondary axis.
Frequently Asked Questions
Can I have three different y-axes in one Excel chart?
No, Excel natively supports only two y-axes (primary and secondary). If you need a third scale, you must create separate charts or use a complex workaround involving hidden charts and shapes.
Why are my bars overlapping after I add the secondary axis?
This happens because both series are set to "Clustered Column." Since they are now on different axes, Excel treats them as separate layers. Change the secondary series to a Line chart to resolve this.
Does this work on Excel for Web?
Yes, though the menu layout may differ slightly. You can generally access these settings by right-clicking the data series or using the Chart pane on the right side of the screen.
How do I remove the secondary axis?
Right-click the data series associated with the secondary axis, select Format Data Series, and under Series Options, select Primary Axis.
Can I use a secondary axis with a Pie chart?
No. Secondary axes are only available for chart types that use a coordinate system, such as Column, Bar, Line, and Scatter charts.