To create a graph in Excel with two Y axes, put both data series in the same chart, then right-click the series that needs its own scale and choose Format Data Series > Secondary Axis (in Excel for the web, select the series and use the Chart Design > Change Chart Type option with the series set to a combo chart). This puts one series on the left axis and the other on the right, so values with very different units or magnitudes — say revenue in dollars next to units sold, or temperature next to rainfall — can be read on the same chart without one flattening out into an invisible line. Labels and menu wording can differ slightly by Excel version, platform and region, but the underlying steps are the same in Excel for Microsoft 365, Excel 2021, 2019 and 2016 on Windows and Mac.
What You'll Need
- Excel on Windows, Mac, or Excel for the web (a free Microsoft account works for the web version)
- A worksheet with at least two data columns plus a shared category column (dates, months, product names, rows of labels)
- Both columns formatted as numbers — no text, blanks, or trailing spaces in the numeric cells, or Excel may plot them as zero
- Column headers in the row above your data, which Excel uses to name each series in the legend
- A reason to split the axes: the two series must have genuinely different scales or units. If both series are in the same unit and range, one axis is clearer
Step-by-Step
- Lay out the data in columns. Put your categories in the first column (for example Jan, Feb, Mar), series one in the second column, and series two in the third. Keep one header per column and no merged cells or total rows mixed in with the data.
- Select the whole range, including headers. Click the first header cell, hold Shift, and click the last data cell, or drag across the block. A mis-sized selection is the most common cause of a chart that looks wrong from the start.
- Insert a basic chart. Go to the Insert tab, open the Charts group, and pick a chart you want as the base — Clustered Column, Line, or Combo. A column-plus-line combo is the usual choice when one series is a count and the other is a rate or price.
- Identify which series needs the second axis. Look at the chart: the series with the much larger numbers will dominate, and the smaller one will sit near the baseline. The dominated series is the one to move to the right-hand axis. Do not move the larger series unless you want the left axis to shrink to a small scale.
- Assign the secondary axis. On Windows, right-click the line or column of the series you want to move and choose Format Data Series. In the pane that opens, under Series Options, select Secondary Axis. On a Mac, the same command appears as Format Data Series > Series Options > Plot Series On: Secondary Axis. The right-hand axis appears as soon as you tick it.
- If the chart type makes the option unavailable (some chart types cannot mix axes), change the chart to a Combo chart: select the chart, go to Chart Design > Change Chart Type > Combo, then tick Secondary Axis in the row for the series you want on the right and choose its chart type (Line, Column, Area) from the dropdown in that same row.
- Label both axes. Click the chart, press the + button at its top-right corner (or use Chart Design > Add Chart Element) and enable Axis Titles. Type a title for each side that names the unit — "Revenue ($)" on the left, "Units sold" on the right. Without unit labels, a dual-axis chart invites misreading.
- Adjust each axis scale independently. Right-click an axis and choose Format Axis. Set Minimum, Maximum and Major Unit so each side uses a sensible round range. Note that each axis is edited separately — changing the left axis does not affect the right one.
- Colour-code the axes and series. Make each axis title and its tick labels match the colour of its series, so readers instantly see which line belongs to which side. You can set the font colour in Format Axis > Text Options or by selecting the axis and using Home > Font Color.
- Finish the visual details. Add a legend (default position is right or bottom), remove gridlines from one axis if the two sets of lines clash, and give the chart a title that states exactly what it compares. Then save the workbook.
Common Mistakes
- Adding a second axis when both series share a unit. Two axes on the same unit lets you tilt the visual comparison in any direction by choosing ranges. Use one axis unless the units or magnitudes really differ.
- Manipulating the scales to exaggerate a crossover. Because each side is set independently, you can make a line appear to overtake another when it does not. Pick round, defensible ranges and say what they are in the chart title or a note.
- Leaving the right axis unlabelled. Readers assume both axes share the left scale. Always add an axis title and unit on the secondary side.
- Plotting text-formatted numbers. If a column was pasted from elsewhere it may be stored as text, and Excel shows it as zero or drops it. Select the column, use Data > Text to Columns > Finish, or reformat the cells as Number.
- Selecting the wrong range. Extra blank rows, merged header cells or a stray totals row become plotted series.
- Using a stacked or pie chart as the base. These cannot carry a secondary axis; switch to a Combo chart first.
Tips
- A column-plus-line combo is the easiest dual-axis chart to read: bars on one side, a line on the other, no ambiguity about which series belongs where.
- Put the series with larger absolute values on the left axis as a habit, so the "primary" look of the chart stays consistent across reports.
- Format large numbers with a thousands separator or shortened form ($1.2M) on the axis, since two axes squeeze the plot area and labels get crowded.
- Keep series count low. Two series per chart with two axes is fine; four series across two axes becomes a guessing game.
- If you rebuild the chart often, select the data and press Alt+F1 (Windows) to insert a chart instantly, then apply the secondary axis from there.
- Duplicate sample workbooks exist for this in Excel's built-in chart templates under Insert > Recommended Charts, which sometimes offers a ready-made combo layout.
Troubleshooting
The secondary axis option is greyed out. The chart type does not support mixing axes. Change the chart to a Combo chart first, or switch the base chart to a 2-D line or column chart (3-D and pie charts cannot do it).
The second series is a flat line at the bottom. Its numbers are far smaller than the first series and it is still on the primary axis. Confirm the Secondary Axis box is ticked for that specific series, not merely that a secondary axis exists — Excel sometimes shows an axis from an earlier format change.
Numbers appear as zeros. The cells are stored as text. Convert them to Number format, or use Text to Columns on the column, then refresh the chart.
The chart shows the wrong categories or extra series. The selected range is off. Click the chart, go to Chart Design > Select Data, and fix or remove the series entries and the category range.
The datapoints line up badly. The category column has blanks, duplicated labels or inconsistent dates. Clean it so every row has a value and the labels are unique or properly ordered.
Axis numbers look odd or overlap. Set a round minimum, maximum and major unit on each axis, and reduce the number of decimal places.
Excel for the web lacks a button you expect. The web version has fewer formatting panes; open the file in the desktop app for full control. Changes save back to the same file if it lives in OneDrive or SharePoint.
Frequently Asked Questions
Can I put more than two axes on one Excel chart?
No. Excel supports one primary and one secondary value axis. To show a third series with a different scale, make a separate chart or rescale the data to a common unit.
Does a secondary axis work with column charts?
Yes, but only when the chart is a Combo chart so the two series can use different chart types. A plain clustered column chart applies the secondary axis to the whole chart, which usually looks wrong.
How do I get the right axis to show on the chart in the browser version?
Select the chart, open Chart Design > Change Chart Type, choose Combo, and tick Secondary Axis for the series. The browser version does not have every desktop formatting option, so for fine control open the file in the desktop app.
Will the axis settings stay if I add new rows of data?
The axis formatting stays, but new rows are not included until you extend the chart's range. Use Chart Design > Select Data or drag the range handles on the worksheet.
Does this work in Google Sheets too?
Google Sheets has its own equivalent: open Customize > Series, choose the series and set Axis > Right axis. The menu names differ from Excel, but the concept is identical.