Yes, you can overlay two data series with different units on a single Excel chart by adding a secondary axis, which allows the smaller values to remain readable alongside the larger ones.
What You'll Need
- A computer with Microsoft Excel installed (Windows or macOS).
- A dataset containing at least one column for labels and two columns for numerical values representing the two different data series.
- A basic understanding of which data series has the larger numbers (this determines which one gets the primary axis).
Step-by-Step
- Open your dataset in Excel. Ensure your data is properly formatted. The first column should contain your categories (e.g., Months, Product Names), and the subsequent columns should contain the numerical data for your two series. For this guide, imagine you have "Sales Revenue" (in thousands) and "Profit Margin" (in percentages) for the same months.
- Select your data. Highlight the entire block of data you want to chart. This includes the labels in the first column and both data series columns. Do not include any headers unless you want them to appear as part of the data points.
- Insert a Combo Chart. Navigate to the "Insert" tab at the top of the ribbon. In the "Charts" section, look for the "Insert Column or Bar Chart" icon. Click the dropdown arrow to reveal the chart types. Select "Combo" from the bottom of the list. This is the specific option that allows you to use different chart types for different series, which is a prerequisite for using different axes.
- Configure the Series. A small dialog box will appear asking how you want to visualize your data. By default, Excel might suggest a Clustered Column chart for both series. Click on the dropdown arrow next to your second data series name (e.g., "Profit Margin"). Change the chart type from "Clustered Column" to "Line with Markers." This visual distinction helps differentiate the two metrics.
- Enable the Secondary Axis. Look for the checkbox labeled "Secondary Axis" in the same dialog box. Check this box for the series you want to move to the right side of the graph (usually the one with the smaller numbers, like the percentage). Click "OK" to apply these settings.
- Format the Secondary Axis (Optional but Recommended). The chart will now display two vertical axes: a left one for the primary data (e.g., Revenue) and a right one for the secondary data (e.g., Percentage). Right-click on the numbers on the right-hand axis and select "Format Axis." In the pane that appears on the right side of the window, you can change the number format. For percentages, select "Number" and choose "Percentage" from the category list. You can also adjust the minimum and maximum bounds here if the scale looks squashed or too wide.
- Format the Data Series. To make the graph easier to read, right-click on the line representing the secondary data series. Select "Format Data Series." In the formatting options, you can change the line color, thickness, and marker style. This ensures the line stands out clearly against the bars of the primary axis.
- Adjust the Legend. By default, Excel places the legend at the top of the chart. Ensure the legend clearly identifies which color or line corresponds to which axis. If the chart is crowded, you can move the legend to the right side of the chart next to the secondary axis for better space management.
Common Mistakes
A frequent error is failing to change the chart type to "Combo" before enabling the secondary axis. If you simply insert a standard chart and try to add the axis later, Excel often refuses the request because it cannot mathematically reconcile two different scales on a standard chart type like a simple line or column chart without specifying the combination.
Another mistake is assigning the secondary axis to the wrong data series. If you put the larger numbers on the secondary axis, the smaller numbers will become microscopic on the right side of the screen, making them impossible to read. Always analyze your data range first: the series with the larger numeric values should remain on the primary (left) axis.
Tips
Using a line chart for the secondary data series is almost always the best choice when adding a second axis. The line clearly shows the trend over time or categories, while the bars on the primary axis show the magnitude of the primary metric. Mixing two bar charts on different axes can look cluttered and confusing.
Consider removing the gridlines for the secondary axis if the chart looks too busy. Gridlines on the left and right can sometimes create a visual headache known as "gridline fatigue." You can turn them off by right-clicking on them and selecting "Delete." Alternatively, you can change them to dashed lines for a lighter visual weight.
Troubleshooting
Excel does not offer the Secondary Axis option.
If the checkbox for "Secondary Axis" is grayed out or missing in the Combo Chart dialog box, it is likely because your data is formatted as text rather than numbers. Go back to your source data and ensure all numeric cells are formatted as "Number" rather than "General" or "Text." You can also try selecting "Standard" from the chart type dropdown instead of "Custom Combination," as some legacy chart types do not support dual axes.
The secondary axis is not matching my data.
Check the "Format Axis" pane again. Sometimes Excel calculates the scale automatically, and the numbers displayed are not exactly what you expect. Manually set the "Maximum" value to a round number that encompasses your data. For example, if your data goes up to 85%, set the maximum to 100%.
My graph looks distorted or the bars are very thin.
This usually happens when the primary data range is vastly larger than the secondary data range. If you have millions of dollars on the left and percentages on the right, Excel might compress the bars to fit the height of the window. In this case, you may need to remove the gridlines and simplify the visual elements, or consider summarizing the primary data into larger buckets (e.g., yearly data instead of monthly) to balance the scales.
Frequently Asked Questions
Can I use a secondary axis for a bar chart?
No, a standard bar chart cannot have a secondary axis because the bars represent a fixed width. The purpose of a secondary axis is to allow a line or area chart (which has no fixed width) to share the same horizontal space as a bar chart.
Why does Excel sometimes create a secondary axis automatically?
Excel is designed to be helpful. If you insert a chart with two series where one has values in the thousands and the other in the single digits, Excel will automatically detect the scale difference and create a secondary axis to prevent the smaller numbers from being invisible.
Can I add a third axis to an Excel chart?
No, Excel’s standard charting tools do not support a third vertical axis. You would need to use a third-party visualization tool or create a custom chart using VBA (Visual Basic for Applications) to achieve this.
Does adding a secondary axis change the data?
No, adding a secondary axis is purely a visual formatting change. It does not alter the underlying numbers or their calculations. It simply changes how they are represented on the graph’s coordinate system.
How do I remove the secondary axis?
Right-click on the axis you want to remove (either the left or right vertical line) and select "Format Axis." In the formatting pane, look for the checkbox labeled "Vertical (Value) Axis in Reverse Order” and uncheck it. Alternatively, you can simply delete the axis line itself by clicking on it and pressing the Delete key on your keyboard.