To create a graph in Excel with two axes, you must use a Combo Chart and assign one of your data series to the Secondary Axis. This is achieved by selecting your data, inserting a clustered column chart, and then changing the chart type for the specific series you want to move to the right-hand side of the graph. This allows you to visualize two different scales—such as total revenue in millions and growth percentage in decimals—on a single visual plane without one data set appearing as a flat line.
What You'll Need
- Microsoft Excel (Desktop version for Windows or Mac).
- A dataset containing at least two different types of numerical data (e.g., Volume and Percentage).
- A shared X-axis (e.g., Months, Years, or Categories) that applies to both data series.
Step-by-Step
- Organize Your Data: Arrange your data in a clean table. Place your labels (the X-axis) in the leftmost column. Place your first data series (the primary Y-axis) in the second column and your second data series (the secondary Y-axis) in the third column. Ensure there are no blank rows or columns within the data range.
- Select the Data Range: Click and drag your mouse to highlight all the cells containing the data you want to graph, including the column headers. Including headers ensures that Excel automatically labels your legend.
- Insert a Basic Chart: Go to the Insert tab on the top ribbon. In the Charts group, click on the Insert Column or Bar Chart icon and select the first option, Clustered Column. At this stage, your chart will look incorrect if the two data series have vastly different scales; one will likely look like a flat line at the bottom of the graph.
- Access the Change Chart Type Menu: Right-click on any of the bars in the chart that represent the data series you want to move to the secondary axis. From the context menu that appears, select Change Series Chart Type....
- Configure the Combo Chart: A dialog box will open. In the left-hand pane, ensure Combo is selected at the bottom. You will now see a list of all your data series. For each series, you can choose a chart type from the dropdown menu. For example, keep your primary data as a Clustered Column and change your secondary data to a Line chart.
- Enable the Secondary Axis: In the same Combo dialog box, look for the Secondary Axis checkbox located to the right of each data series name. Check the box for the series you want to move to the right side of the graph. Click OK.
- Label Your Axes: Because you now have two different scales, it is critical to label them so the viewer knows which axis corresponds to which data. Click on the chart, go to the Chart Design tab, click Add Chart Element > Axis Titles, and select both Primary Vertical and Secondary Vertical. Click the text boxes that appear on the chart to type in your specific labels (e.g., "USD Millions" and "Percentage").
- Format for Clarity: To make the graph more readable, you can right-click the secondary axis (the numbers on the right) and select Format Axis.... Here, you can set the minimum and maximum bounds to prevent the line from touching the very top or bottom of the chart area, providing more visual breathing room.
Common Mistakes
One of the most frequent errors is failing to change the chart type for the secondary series. If you keep both series as columns, the columns for the secondary axis will overlap the columns for the primary axis, making the graph impossible to read. Always change the secondary axis to a Line or Area chart to create a clear visual distinction between the two data sets.
Another common mistake is neglecting to label the axes. When a graph has two Y-axes, the viewer cannot assume which side represents which value. Without explicit labels, a line trending upward might be misinterpreted as a growth in volume when it actually represents a growth in percentage. Always use the Add Chart Element menu to clarify the units of measurement.
Users also often forget to check their data types before graphing. If your percentage column is formatted as text rather than a number or percentage, Excel may not plot the data correctly, or it may treat the percentage as a whole number (e.g., 50 instead of 0.5), which will throw off the scaling of your secondary axis.
Tips
To enhance the professional look of your two-axis graph, match the color of the axis text to the color of the data series. For example, if your primary columns are blue and your secondary line is orange, 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 data is very volatile, consider using a Line with Markers for the secondary axis. This allows the viewer to see the exact data points while still observing the overall trend. You can adjust the marker size and shape in the Format Data Series pane to ensure they do not obscure the primary columns.
For those presenting to executives, try removing the gridlines from the chart area. This reduces visual clutter and puts the focus entirely on the relationship between the two different scales. You can do this by clicking the gridlines and pressing the Delete key, or by unchecking Gridlines in the Chart Elements (+) menu.
Troubleshooting
The secondary axis is not appearing: This usually happens if the Secondary Axis checkbox was not checked in the Change Chart Type menu. Return to Chart Design > Change Chart Type and verify that the box is checked for the specific series. If the box is checked but the axis is invisible, right-click the chart, go to Add Chart Element > Axes, and ensure Secondary Vertical is selected.
The data line is a flat line at the bottom: This occurs when the data is still being plotted against the primary axis, but the values are too small to be visible (e.g., plotting 0.05 on an axis that goes up to 1,000,000). Ensure you have successfully moved that specific series to the secondary axis. If it is already on the secondary axis, check your data for zeros or errors (#N/A) that might be pulling the scale down.
The chart looks cluttered with too many bars: If you have multiple series on the primary axis and one on the secondary, the columns may become too thin. Try changing the Gap Width. Right-click any column, select Format Data Series..., and reduce the Gap Width percentage to make the bars wider and more prominent.
The X-axis labels are missing or incorrect: This happens if Excel failed to recognize your first column as labels. Right-click the chart, choose Select Data..., and look at the Horizontal (Category) Axis Labels section on the right. Click Edit and manually highlight the range of cells containing your dates or categories.
Frequently Asked Questions
Can I have more than two Y-axes in one Excel chart?
No, Excel natively supports only one primary Y-axis (left) and one secondary Y-axis (right). If you have three or more different scales, you will need to create multiple charts or normalize your data to a single scale (e.g., converting all values to a percentage of a baseline).
Why does my line chart disappear when I add a second axis?
The line hasn't disappeared; it has likely shifted its scale. If the secondary axis is not yet active, the line is being plotted against the primary axis. Because the primary values are likely much larger, the line is sitting at the very bottom of the chart, often hidden by the X-axis line.
How do I change the scale of the secondary axis?
Right-click the numbers on the right-hand axis and select Format Axis.... In the Axis Options pane, you can manually enter the Minimum and Maximum bounds to zoom in on a specific range of data.
Can I use a secondary axis with a Pie Chart?
No. Secondary axes are only available for chart types that use a Cartesian coordinate system (X and Y axes), such as Column, Bar, Line, and Area charts. Pie charts, Doughnut charts, and Radar charts do not support secondary axes.
Does this work in Excel for Web?
Yes, but the interface is slightly different. You can still create Combo charts, but you may need to use the Chart tab in the ribbon to access the series settings and toggle the secondary axis option.