To create a line graph with two different Y axes in Excel, you must convert one of your data series into a "Secondary Axis." This is achieved by right-clicking a data line in an existing chart, selecting Format Data Series, and choosing Secondary Axis. This allows you to plot two sets of data with vastly different scales—such as monthly revenue in thousands of dollars and conversion rates as percentages—on the same visual plane without one line appearing completely flat.

What You'll Need

  • Microsoft Excel (Desktop version for Windows or macOS).
  • A dataset containing at least one common X-axis (e.g., dates or categories) and two separate columns of numerical data with different scales.
  • The data organized in a clean table format with headers.

Step-by-Step

  1. Prepare Your Data: Organize your data in columns. Place your X-axis labels (like months or years) in the leftmost column. Place your first set of values (the primary scale) in the second column and your second set of values (the secondary scale) in the third column. Ensure there are no empty rows or columns within the data range.
  2. Insert the Initial Chart: Highlight all the data, including the headers. Go to the Insert tab on the top ribbon. In the Charts group, click on the Insert Line or Area Chart icon and select the Line with Markers or simple Line chart. At this stage, Excel will plot both series on a single Y-axis. If one data set has much larger numbers than the other, the smaller data set will likely look like a flat line at the bottom of the chart.
  3. Select the Secondary Series: Locate the line that represents the data with the smaller scale (the one that looks flat). Right-click directly on that line. If the line is too flat to click easily, go to the Chart Format tab, and in the top-left dropdown menu (Current Selection), select the specific series name you wish to move.
  4. Enable the Secondary Axis: After right-clicking the line, select Format Data Series... from the context menu. A pane will appear on the right side of the screen. Under the Series Options tab (represented by a small bar chart icon), select the radio button for Secondary Axis. You will immediately see a second vertical axis appear on the right side of the chart area.
  5. Change Chart Type (Optional but Recommended): Sometimes a "Combo Chart" is more readable. To do this, right-click any line and select Change Series Chart Type.... In the window that opens, ensure you are on the Combo category. Here, you can explicitly assign which series is a Line and which is a Column, and check the Secondary Axis box for the desired series. This is particularly useful if you want one data set as bars and the other as a line.
  6. Label Your Axes: Because you now have two different scales, the chart can be confusing without labels. Click the chart, go to the Chart Design tab, click Add Chart Element, then select Axis Titles. Add a Primary Vertical title (for the left axis) and a Secondary Vertical title (for the right axis). Clearly state the units (e.g., "Revenue in USD" vs "Growth %").
  7. Format the Scales: To make the graph cleaner, you can manually set the minimum and maximum bounds. Right-click the left Y-axis and select Format Axis.... Under Axis Options, adjust the Minimum and Maximum bounds. Repeat this process for the right Y-axis to ensure the lines are positioned in a way that makes the correlation easy to see.

Common Mistakes

One of the most frequent errors is failing to label the axes. When a viewer sees two different vertical scales, they may instinctively look at the left axis for both lines, leading to a complete misinterpretation of the data. Always explicitly label the left and right axes.

Another common mistake is using a secondary axis when the scales are actually similar. If your data ranges are 10-20 and 15-25, a secondary axis is unnecessary and can actually mislead the viewer into thinking there is a larger discrepancy than exists. Only use this feature when the orders of magnitude are significantly different (e.g., 0.1 vs 1,000).

Users often forget to check for "Zero-Baseline" consistency. If one axis starts at 0 and the other starts at 100, the visual intersection of the lines may imply a relationship or a "crossing point" that does not actually exist in the raw data. Always be mindful of where your axes begin.

Tips

Use Contrasting Colors: To help the viewer distinguish which line belongs to which axis, match the color of the axis text to the color of the line. For example, if the revenue line is blue, change the left Y-axis font to blue. If the percentage line is orange, change the right Y-axis font to orange.

Simplify Gridlines: By default, Excel may draw gridlines based on the primary axis, which can make the secondary axis look "off-grid." You can remove the default horizontal gridlines via Add Chart Element > Gridlines and instead use a clean background to avoid visual clutter.

Avoid Overcrowding: Limit yourself to two Y-axes. While some advanced users try to hack a third axis into Excel, it is not natively supported and usually results in a chart that is impossible to read. If you have three or more variables with different scales, consider creating a series of small multiples (separate charts) instead.

Troubleshooting

I can't click the line to format it: If one data series is so small that it is hugging the X-axis, it can be nearly impossible to right-click. To fix this, click anywhere on the chart to activate the Chart Format tab. Look at the far left of the ribbon for the Current Selection dropdown. Select the name of the "hidden" series from the list, then click Format Selection immediately below the dropdown. This will open the Format Data Series pane without needing to click the line.

The lines are overlapping and messy: This usually happens because the axis bounds are set to "Auto." Right-click the axis, go to Format Axis, and manually change the Maximum value. By increasing the maximum of the primary axis, you effectively "push" that line down, creating more visual space between the two series.

The secondary axis didn't appear: Ensure you are using a Line, Column, or Area chart. Some specialized chart types (like Pie or Treemap) do not support secondary axes. If you started with a different chart type, convert it to a Line chart first, apply the secondary axis, and then change the series type using the Combo menu.

Frequently Asked Questions

Can I have more than two Y axes in Excel?

No, Excel natively supports only one primary Y-axis (left) and one secondary Y-axis (right). To display more variables with different scales, you should use separate charts or normalize your data to a percentage of the maximum.

Why does my line look flat even after adding a secondary axis?

This usually happens if the secondary axis is still scaling to a range that is too wide. Right-click the secondary axis, select Format Axis, and adjust the Minimum and Maximum bounds to more tightly fit your data range.

How do I remove the secondary axis once I've added it?

Right-click the data series associated with the secondary axis, select Format Data Series, and change the selection from Secondary Axis back to Primary Axis.

Does this work in Excel for Web?

Yes, though the menus may look slightly different. You can still access the Format pane by double-clicking the data series or using the Chart tab in the ribbon to modify series options.

What is the best chart type for two different scales?

The Combo Chart (specifically a Clustered Column for the primary data and a Line for the secondary data) is generally considered the gold standard for readability, as it visually separates the two types of data measurements.