How to Add Two Y Axes in Excel: Dual Axis Chart Guide
In this article
To create a chart with two y-axes in Excel, you need a chart type that supports secondary axes (like column, line, or combo charts) and at least two data series with different scales. Once your data is organized in adjacent columns, you can add a secondary y-axis by selecting the second data series, right-clicking, choosing Format Data Series, and enabling the Secondary Axis option.
What You'll Need
- Excel installed (Microsoft 365, Excel 2021, Excel 2019, or Excel for the web—though some steps differ slightly for the web version)
- A dataset with at least two numerical columns that you want to compare visually, especially when their value ranges differ significantly (e.g., sales in dollars and units sold, temperature and humidity)
- A clear understanding of which data series should appear on the primary (left) y-axis and which on the secondary (right) y-axis
Step-by-Step
- Organize your data: Arrange your data in adjacent columns with clear headers. For a dual-axis chart, you typically need three columns: one for the x-axis (e.g., dates, categories) and two for the y-values (e.g., Column A: Dates, Column B: Revenue, Column C: Units Sold). Ensure there are no blank cells in the data range.
- Create a base chart: Select the entire data range (e.g., A1:C10), go to the Insert tab, and choose a chart type. For dual y-axes, use a Column–Line Combo (Insert > Charts > Combo > Clustered Column – Line on Secondary Axis) or create a basic column/line chart first (Insert > Charts > Column or Line), then add the secondary axis manually.
- Verify the chart includes both series: After inserting the chart, confirm both data series appear. If not, right-click the chart > Select Data, ensure both series (e.g., Series 1 and Series 2) are listed under Legend entries (series), and add them if missing.
- Select the second data series: Click once on one of the plotted elements in the second series (e.g., a different-colored bar or line). If you're unsure which is which, hover to see its name in the tooltip. A selected series will display markers or borders around its data points.
- Open the Format Data Series pane: Right-click the selected series and choose Format Data Series (or double-click the series). In newer Excel versions, this opens a pane on the right; in older desktop versions, a dialog box appears.
- Enable the secondary axis: In the Format Data Series pane (or dialog), locate the Axis option (often under Series Options). Check the box labeled Secondary Axis. The second y-axis will now appear on the right side of the chart, and the series will scale to match its range.
- Format axes independently: Click on the primary y-axis (left) to select it, then right-click > Format Axis to adjust scale (minimum, maximum, major unit), number format, or labels. Repeat for the secondary y-axis (right) to ensure both scales are readable and meaningful. Avoid overly compressed or stretched scales that distort comparison.
- Add axis titles: Click the chart, go to Chart Elements (the + icon next to the chart), check Axis Titles. Click each title box and type descriptive names (e.g., "Revenue ($)", "Units Sold"). This clarifies which axis corresponds to which data.
Common Mistakes
- Using incompatible chart types: Area charts, pie charts, and doughnut charts do not support secondary axes. Stick to column, line, bar, or combo charts.
- Assigning too many series to the secondary axis: Excel only supports one secondary y-axis per chart. If you have three or more series, only one can use the secondary axis; the rest must share the primary axis.
- Ignoring scale misalignment: If both axes use automatic scaling, their zero points may not align, making trends appear misleading. Manually set the minimum value to 0 for both if appropriate.
- Confusing axis titles with series names: Series names appear in the legend, but axis titles describe the vertical scale. Always add and label both to prevent misinterpretation.
- Accidentally selecting the wrong series: In dense charts, it’s easy to click a data point from the wrong series. Zoom in (View > Zoom) or temporarily change one series’ color to avoid errors.
Tips
- Use a combo chart (Insert > Charts > Combo) to mix bar and line types—this often improves readability when comparing different units.
- Color-code consistently: pair the primary series with a left-axis color (e.g., blue bars) and secondary with a right-axis color (e.g., red line), matching your axis labels.
- Limit the number of data points on the x-axis to avoid clutter; group data by week/month if daily values overwhelm the chart.
- Export high-resolution charts for reports: Right-click the chart > Save as Picture, choose PNG or EMF format.
- For Excel for the web, create the chart in the desktop version first, then save and reopen in the browser—secondary axis options are limited online.
- Use conditional formatting or data labels on one series only to avoid visual noise; secondary axes are for trend comparison, not exact value lookup.
Troubleshooting
If the secondary y-axis doesn’t appear or behave as expected, follow these checks:
- Restart Excel: Sometimes temporary glitches prevent UI updates. Close and reopen Excel, then repeat the steps.
- Confirm series assignment: Right-click the chart > Select Data. In the dialog, ensure the second series is listed and not set to plot on the primary axis. If missing, click Add and re-enter the series values (Series values should reference the correct column range).
- Check for merged cells: Excel charts can misread data if the source table has merged cells. Unmerge cells in your data range and recreate the chart.
- Verify chart type supports secondary axes: If you used a stacked column or 3-D chart, switch to a 2-D clustered column or line chart. Right-click the chart > Change Chart Type > Combo or Column.
- Reset axis scaling: Right-click the secondary axis > Format Axis > Axis Options. Set both Minimum and Maximum to Fixed, not Auto. This helps if the axis disappears due to extreme values (e.g., #DIV/0! errors in data).
- Try a new chart: Copy your data to a blank worksheet, insert a fresh column/line chart, and reassign series. This eliminates hidden formatting issues in the original chart object.
Frequently Asked Questions
Does Excel Online support dual y-axes?
Excel for the web (free version in browsers) has limited chart formatting. You can create a combo chart with a secondary axis by saving the file in Excel Desktop first, but editing axis options online is restricted. For reliable dual-axis control, use the desktop app.
Can I add a third y-axis?
No, Excel only supports one primary and one secondary y-axis per chart. To compare a third variable, combine two series into a calculated metric (e.g., ratio), use a secondary x-axis (for some chart types), or create two charts side-by-side.
Why does the secondary axis show a different scale range?
This is intentional—the secondary axis auto-scales to fit its data series, optimizing readability. If you want aligned zero points, manually set both axis minimums to 0 in Format Axis > Axis Options.
How do I change which series uses the secondary axis?
Select the series you want moved to the secondary axis, right-click > Format Data Series > check Secondary Axis. The previous series will automatically shift to the primary axis. You can also uncheck Secondary Axis to revert it.
My chart shows two y-axes but the lines overlap oddly—what’s wrong?
Overlapping often happens when one series is a bar and the other is a line, but their scales cause misalignment. Try changing the line to a line with markers (right-click series > Format Data Series > Line Style) or adjust the plot order in Select Data to ensure the line draws on top of bars.
Can I use dual y-axes with pivot charts?
Yes, but with limitations. After creating a pivot chart, right-click a chart series > Format Data Series > Secondary Axis. However, pivot charts reset formatting when refreshed. To preserve axes, convert the pivot table to values first (Copy > Paste Special > Values) and build a static chart.