Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Double Y Axis: How to Create a Secondary Axis

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To create a double Y axis in Excel, you must change the chart type for one of your data series to a "Secondary Axis." This is achieved by right-clicking a data series in your chart, selecting Format Data Series, and choosing Secondary Axis under the Series Options. This allows you to plot two different scales (such as revenue in millions and growth percentage) on the same graph without one line appearing flat due to a scale mismatch.

This technique is essential when you have two sets of data that share the same X-axis (usually time or categories) but have vastly different numerical values. Without a secondary axis, the data with smaller values often looks like a flat line at the bottom of the chart, making it impossible to analyze trends.

What You'll Need

  • Microsoft Excel (Desktop version for Windows or Mac).
  • A dataset containing at least two columns of numerical data and one column for the X-axis (labels).
  • An existing chart (Column, Line, or Area) created from that data.

Step-by-Step

  1. Prepare Your Data: Ensure your data is organized in columns. For example, Column A should be your dates or categories, Column B should be your first metric (e.g., Total Sales), and Column C should be your second metric (e.g., Conversion Rate).
  2. Insert a Basic Chart: Highlight your entire data range, including headers. Go to the Insert tab on the top ribbon and select a chart type. A Clustered Column or Line Chart is typically the best starting point.
  3. Identify the Flat Line: Once the chart is created, you will likely notice that the data series with the smaller values is barely visible or looks like a flat line at the bottom of the graph.
  4. Select the Data Series: Right-click directly on the data series (the bar or the line) that you want to move to the secondary axis. If the line is too flat to click easily, go to the Format tab, click the dropdown menu in the Current Selection group (top left), and select the specific series name from the list.
  5. Open Format Options: Right-click the selected series and choose Format Data Series... from the context menu. A pane will appear on the right side of the screen.
  6. Assign the Secondary Axis: In the Format Data Series pane, click the Series Options icon (which looks like a small bar chart). Under the "Plot Series On" section, select the radio button for Secondary Axis. You will immediately see a second vertical axis appear on the right side of the chart.
  7. Change the Chart Type (Optional but Recommended): Having two sets of bars often looks cluttered and confusing. To fix this, right-click the secondary series again and select Change Series Chart Type.... In the "Combo" section that appears, ensure the first series is set to Clustered Column and the second series is set to Line. Make sure the "Secondary Axis" checkbox is checked for the line chart. Click OK.
  8. Label Your Axes: Because there are now two different scales, you must label them to avoid confusion. Go to the Chart Design tab, click Add Chart Element > Axis Titles, and select both Primary Vertical and Secondary Vertical. Click the text boxes on the chart to type in the specific units for each axis.

Common Mistakes

  • Forgetting Axis Labels: The most common error is leaving the second axis unlabeled. This leads the viewer to assume both data sets use the same scale, which can lead to incorrect data interpretation.
  • Using Two Bar Charts: Plotting two different data series as columns on a double axis often results in the bars overlapping each other, hiding the data. Always use a "Combo" chart (one bar, one line) for clarity.
  • Overcomplicating the Data: Trying to add a third or fourth Y axis. Excel does not natively support more than two Y axes. If you have more than two scales, consider creating multiple small charts (sparklines) or normalizing your data.
  • Ignoring the Scale: Sometimes Excel sets the minimum or maximum of the secondary axis in a way that makes the trend look more dramatic than it is. Always check that the axis starts at a logical point (usually zero).

Tips

  • Color Coordination: Match the color of your axis text to the color of the data series it represents. For example, if your "Sales" bars are blue and your "Growth" line is orange, make the left axis text blue and the right axis text orange.
  • Use a Legend: Always include a legend (Chart Design > Add Chart Element > Legend) so the reader knows which color corresponds to which metric.
  • Clean Up Gridlines: If the horizontal gridlines from the primary axis clash with the secondary axis, you can right-click the gridlines and delete them, or format them to be very light gray.
  • Standardize Intervals: If possible, manually adjust the axis bounds (Right-click Axis > Format Axis) so that the major units are clean, round numbers.

Troubleshooting

I can't click on the data series to right-click it.
This happens when the values are so small they are practically invisible. To fix this, go to the Format tab on the top ribbon. On the far left, there is a dropdown menu under "Current Selection." Click this dropdown, select the name of the series you want to move, and then click the Format Selection button directly below it.

The "Secondary Axis" option is missing.
This usually occurs if you are using a chart type that doesn't support secondary axes (like a Pie Chart or a Treemap). Ensure you are using a Column, Line, Area, or Scatter chart. If you are using a 3D chart, try switching to a 2D version first, as 3D charts have limited formatting options.

The chart looks messy after adding the second axis.
Check your chart type. If you have two sets of columns, they will overlap. Switch to a "Combo Chart" where one series is a Column and the other is a Line. This separates the visual elements and makes the data readable.

Frequently Asked Questions

Can I have three Y axes in one Excel chart?

No, Excel only supports a primary (left) and a secondary (right) Y axis. If you need a third scale, you should create a separate chart or normalize your data to a percentage of a maximum value.

Does this work in Excel for the Web?

Yes, though the menu layout may differ slightly. You can generally access the secondary axis options by double-clicking the data series to open the Format pane on the right.

Why is my secondary axis starting at a weird number instead of zero?

Excel automatically scales axes to fit the data. To fix this, right-click the secondary axis, select Format Axis, and manually change the Minimum bound to 0.0.

Can I use a secondary axis with a Scatter Plot?

Yes. Scatter plots are actually one of the best uses for secondary axes when comparing two different independent variables against a single X-axis.

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

Right-click the data series that is currently on the secondary axis, select Format Data Series, and under Series Options, switch the selection back to Primary Axis.