Adding a Y-axis to an Excel chart makes it clearer how data values relate to each other by providing a labeled scale. It’s especially useful for comparing categories with different magnitudes. Here’s how to do it quickly in Excel, with real-world examples and fixes for common pitfalls.
What You'll Need
- A compatible Excel file (Excel 2013 or newer; newer versions handle axis customization more smoothly)
- Your chart already created in the same worksheet (or you’re adding it to an existing chart)
- A basic understanding of how Excel charts work (series, data ranges)
Step-by-Step
-
Start with an existing chart—you can’t add axes to a blank chart. Select the chart in your worksheet (click the chart area). If no chart exists yet, create one by:
- Go to Insert on the ribbon
- Choose a basic chart type (e.g., column, line, scatter) and click it
- Excel will place the chart in your worksheet near your data
-
To add a secondary Y-axis:
- Right-click inside the chart area
- Select Chart Elements (ribbon tab) > Axis Titles > Secondary Axis
- Excel will add a duplicate Y-axis to the right side of your chart
- Drag the secondary axis to a better position if needed (click and hold the axis handle)
-
If you only want to modify an existing Y-axis (e.g., change its label or format):
- Right-click the axis you want to edit > Axis Options...
- In the Axis Options dialog box, choose:
- Primary or Secondary axis (depending on what you need)
- Uncheck Show axis across sheets if you only need the axis on one sheet
- Set Axis position (e.g., next to data, behind data, etc.) under Position
-
To add a custom axis label or tick marks:
- Right-click the axis > Axis Options...
- Under Format Axis, click Axis Options
- In the Format Axis pane:
- Type a new label under Axis title
- Adjust Tick marks settings (e.g., major/minor ticks, tick mark labels)
- Change the Min and Max values if needed
Common Mistakes
- Using the wrong chart type: Secondary Y-axis only works with scatter charts, line charts, area charts, or bubble charts. A simple bar/column chart will ignore your request and show only the primary axis. Fix: Choose a chart type that supports multiple axes, or use a scatter chart with two series (one per axis).
- Skipping the "Select Chart" step: If you click the axis itself instead of the chart area, Excel won’t respond. Make sure you’re editing the chart, not just the axis. Fix: Click anywhere inside the chart area before right-clicking.
- Mixing up primary/secondary axes: If you accidentally delete the primary axis when editing, Excel may show warnings. Always check the chart type supports what you’re doing. Fix: Use the Axis Options dialog to ensure you’re editing the correct axis.
- Not saving the file: Excel auto-saves changes, but manual saves are good practice. If you close without saving, lost edits are gone. Fix: Save as File > Save As before troubleshooting.
Tips
- Use a scatter chart for dual-axis data: If your data ranges have wildly different scales (e.g., sales vs. temperature), a scatter chart with two Y-axes lets you compare them side by side. Format one series to use the primary axis and the other to use the secondary axis.
- Hide empty axes: If you only need one axis but accidentally added a secondary one, right-click the axis > Format Axis > Show tab > uncheck Show axis.
- Check for axis labels: Small text labels on axes can be hard to read. Use the Format Axis pane to increase font size or bold labels.
- Use Excel’s "Chart Elements" for quick formatting: Right-click the chart > Chart Elements > Axis Titles > Secondary Axis to add a duplicate axis. This works for most chart types, though some may ignore it.
- Test with sample data: Create a small dataset (e.g., 3–5 data points) to practice. This helps you see how axes behave before working with real data.
Troubleshooting
If you’re stuck, follow this order:
-
Verify the chart type: Not all chart types support multiple axes. For example:
- Column/Bar charts: Only use primary axis
- Pie charts: Always show only a single axis
- Scatter charts: Up to 2 Y-axes (if data ranges differ)
- Check for hidden data ranges: If the axis doesn’t update when you modify your data, ensure the data range isn’t hidden or protected. Right-click the axis > Format Axis > Show tab > check Show data labels if needed.
-
Restart Excel if the chart acts sluggish:
- Close all open Excel files
- Restart Excel
- Reopen your file and try again
- Update Excel: Older Excel versions (pre-2013) may have limited axis customization. Go to File > Office Account > Update Options > Update Now to check for updates.
-
Recreate the chart if axes are corrupted:
- Select your data
- Go to Insert > Scatter (with straight lines) (this is the only chart type that reliably supports secondary axes)
- Drag series to the primary/secondary axes as needed
Frequently Asked Questions
How do I know if my chart supports a secondary Y-axis?
Only scatter charts, line charts with trends, 3D area charts, and bubble charts can show multiple Y-axes. If you’re using a bar chart, it won’t work. Test by right-clicking the chart > Chart Elements > Axis Titles > Secondary Axis—if nothing happens, your chart type doesn’t support it.
What if Excel says "This chart type doesn’t support secondary axes"?
This is a warning for unsupported chart types. Use a scatter chart instead. To force a scatter chart: select your data > go to Insert > Scatter (with straight lines) > click to place it on your worksheet.
Can I add a Y-axis to an embedded chart (e.g., PowerPoint)?
No, Excel charts embedded in PowerPoint only support basic formatting. To add axes, create a standalone Excel chart and embed the chart image instead.
Why does my axis label disappear when I zoom into the chart?
This happens because Excel hides text for clarity. To fix it:
- Right-click the axis > Format Axis
- Under the Show tab, check Show data labels if missing
- In the Format Axis pane, increase font size under Font
How do I change the axis tick marks to custom values?
Right-click the axis > Axis Options... > Format Axis > Axis Options tab > check Major tick marks or Minor tick marks > type your custom values in the Range field.
Can I have a Y-axis that starts at a different value (e.g., 5) than the data?
Yes. When editing the axis, go to Format Axis > Axis Options tab > set Min to your desired starting value. For example, if your data starts at 1 but you want the axis to begin at 5, set Min to 5.
For advanced customization (e.g., gradient fills, custom colors), use the Format Axis pane under the Fill & Line tab.