Adding a second axis to an Excel chart is a quick way to compare two datasets on the same graph, making trends, overlaps, or contrasts clearer. You can use this technique when your data spans different scales (e.g., measuring stock prices against temperature changes) or when you want to highlight two related metrics side by side. The process is straightforward in Excel’s built-in tools, and it works across desktop versions. You’ll need an existing chart in your worksheet, but no prior charting experience is required—Excel handles the rest.
What You'll Need
- A Microsoft Excel desktop application (Excel 2016 or later; mobile apps like Excel for iOS/Android don’t support this feature natively).
- A worksheet or workbook containing at least one chart (created via Insert > Chart or Data Visualization).
- Basic familiarity with Excel’s interface (e.g., knowing how to right-click chart elements, zoom into the chart area).
Step-by-Step
- Select or expand your existing chart: Click anywhere on the chart to highlight it. If the chart is small or partially obscured, use the Chart Tools tab (top ribbon) to zoom into the chart area (click the zoom slider icon in the Chart Design or Format tabs) to ensure you see all elements clearly. Labels can vary slightly by Excel version, but this method works for all modern desktop versions.
- Right-click the Y-axis (vertical axis): Locate the vertical axis (usually labeled "Y" or "Value" on the left side of the chart). Right-click its label or the axis line itself. In the dropdown menu, choose Select Axis.
- Choose "Secondary Axis": In the Chart Design tab’s Select Data group, click the Add Axis button (looks like a pair of axes) or right-click the selected Y-axis in the Chart Tools ribbon and pick Secondary Axis. Excel will prompt you to convert the existing axis to a secondary axis.
-
Assign data to the secondary axis:
Once the secondary axis is created, Excel may ask you to select a new series of data. If not, manually edit the axis settings:
- Click the secondary axis label (or the line itself) to highlight it.
- Go to the Format Axis tab (now visible in the ribbon).
- Under Axis Options, ensure the secondary axis is set as "Secondary Axis" (check the dropdown).
- In the Chart Tools tab’s Layout group, click Data Labels and then More Data Labels Options (if labels are missing).
- Alternatively, right-click the series you want to move to the secondary axis and select Edit Series.
- In the Series Charting dialog box, change the Chart Type to Scatter (with markers) or another option that supports multiple axes (e.g., Area).
- Click OK to apply. Excel will adjust the axis range and labels automatically.
-
Fine-tune the secondary axis:
Use the Format Axis tab to customize appearance:
- Move the secondary axis to a more logical location (e.g., right side) by clicking the axis label and dragging it in the Format Axis tab’s Position group.
- Adjust the axis title (e.g., "Secondary Metric") under Axis Options > Axis Title.
- Set a custom range if needed (e.g., 0–1000 vs. -50 to +50) by clicking the axis line and using the Scale options.
- Remove duplicate labels by editing the Legends and Data Labels in the Layout tab.
-
Verify the chart:
Check that both axes display correctly:
- Hover over data points to see if each series appears on its designated axis.
- Ensure no overlapping legend entries or labels are confusing.
- Adjust the chart area’s borders (Format > Chart Area) if the secondary axis is clipped.
Common Mistakes
- Forcing a series to the secondary axis without selecting it properly: If you right-click the Y-axis and choose Secondary Axis without ensuring the correct series is selected, Excel may assign the wrong data. Always verify the series you’re moving by checking its legend or data labels before editing.
- Ignoring axis ranges: If the secondary axis uses a different scale (e.g., 0–100 vs. -100 to +100), the data may appear distorted. Use the Format Axis tab to set explicit ranges or disable automatic scaling.
- Overlapping legends or labels: Some datasets may require manual legend editing. Right-click a legend entry and choose Edit Legend to split it or adjust its position.
- Using the wrong chart type: Scatter charts or area charts are ideal for secondary axes, but avoid bar/column charts, which can’t logically support two axes. If you need to compare categorical data, use a clustered column chart (each category has two bars) instead.
- Skipping the "Select Axis" step: Right-clicking the axis *after* adding a second data series may fail. Always right-click the axis first, then convert it to secondary.
Tips
- Use a scatter plot with markers: For numerical data with no natural order, a scatter plot (with secondary axis) lets you show relationships between two variables side by side. Excel’s default series charting options include this type.
- Labeling help: If both axes have labels, consider stacking them vertically (right-click chart area > Align Axis Labels > Vertical in older versions). This reduces clutter but may obscure data points.
- Hidden data warning: If a secondary axis appears empty, check if the data series is accidentally hidden in the legend. Right-click a legend entry > Edit Legend > Show/Hide.
- Excel mobile limitations: Mobile versions of Excel (iOS/Android) do not support secondary axes. For these devices, recreate the chart on desktop and copy it into the mobile app.
- Power Query workaround: If you frequently need multi-axis comparisons, use Power Query to merge datasets with different scales before charting. This avoids manual axis adjustments.
Troubleshooting
-
Secondary axis not appearing:
- Check if the chart is a line or scatter plot (not a bar/column chart).
- Right-click the Y-axis again and ensure you selected Select Axis before choosing Secondary Axis.
- Update Excel to the latest version (File > Account > Update Options).
- Restart Excel to clear temporary glitches.
- Data points not moving with the secondary axis: If values appear on both axes simultaneously, the series may still be tied to the primary axis. Use the Edit Series dialog (right-click series > Edit Series) to explicitly assign it to the secondary axis.
-
Chart looks skewed or distorted:
- Check the axis ranges in the Format Axis tab (e.g., ensure both axes don’t use the same scale).
- Use the Auto Adjust option to reset scales (right-click axis > Auto Adjust Scale).
- If using a bar chart, consider switching to a clustered column chart (each category has two bars) for better readability.
- Secondary axis appears behind the primary: Drag the axis label or line to the right side of the chart (Format > Chart Area > Position). If it’s still hidden, adjust the chart area’s borders (Format > Chart Area > Border).
- Excel crashes or freezes: Save your work (File > Save), close all tabs, and restart Excel. If the issue persists, check for updates (File > Account) or run Excel in Safe Mode (Right-click Excel icon > Run as Administrator).
Frequently Asked Questions
Can I add a secondary axis to a pie chart?
No, pie charts cannot logically support two axes because they represent proportions. For comparative data, use a bar/column chart or a 3D pie chart (if you need to emphasize two metrics).
Why is my secondary axis invisible or cut off?
The secondary axis may be clipped by the chart area. Zoom into the chart (Chart Tools > Zoom), or adjust the chart area’s borders (Format > Chart Area > Border). If the issue persists, drag the axis to a more visible location (right side of the chart).
How do I remove a secondary axis if I made a mistake?
Select the secondary axis, right-click it, and choose Delete Axis in the dropdown menu. Excel will revert the axis to primary mode and adjust associated data.
Can I use a secondary axis with a 3D chart?
No. 3D charts use depth to convey data but cannot logically support axis duplication. Stick to 2D charts for secondary axes.
Why does my chart show the same data on both axes?
The series may still be tied to the primary axis. Open the Edit Series dialog (right-click series > Edit Series), and ensure it’s assigned to the secondary axis. Alternatively, delete the series and recreate it with the correct chart type.
Is there a way to add a secondary axis in Excel Online?
No. Excel Online (web version) does not support secondary axes. You must use the desktop application or recreate the chart in Excel for mobile.