Smart Systems for Home

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

Two Vertical Axis in Excel: How to Create a Dual Axis Chart

· 5 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 two vertical axes in Excel, you must move one of your data series to the "Secondary Axis." This is achieved by right-clicking a data series in your chart and selecting Format Data Series, then choosing Secondary Axis under the Series Options. This allows you to plot two different data sets with different scales (e.g., total revenue in dollars and conversion rate in percentages) on the same graph without one line appearing flat due to a scale mismatch.

What You'll Need

  • Microsoft Excel installed on your computer.
  • A dataset containing at least two different series of numerical data that share a common X-axis (such as dates or categories).
  • The data should be organized in columns or rows for easy selection.

Step-by-Step

  1. Insert Your Initial Chart: Highlight the data range you want to visualize, including the labels for your X-axis. Go to the Insert tab on the ribbon and select a chart type. A 2D Clustered Column or Line chart is typically the best starting point for dual-axis visuals.
  2. Identify the Series to Move: Look at your chart. If one set of data has much larger numbers than the other, the smaller data set will likely look like a flat line at the bottom of the chart. This is the series you need to move to the secondary axis.
  3. Open the Format Menu: Right-click directly on the data series (the bar or the line) that you want to move. From the context menu that appears, select Format Data Series.... This will open a pane on the right side of the Excel window.
  4. Assign the Secondary Axis: In the Format Data Series pane, ensure the Series Options tab (represented by a small bar chart icon) is selected. Under the "Series Options" section, select the radio button for Secondary Axis. You will immediately see a second vertical axis appear on the right side of the chart.
  5. Change the Chart Type (Optional but Recommended): Having two sets of bars often makes the chart hard to read because they overlap. To fix this, right-click the series you just moved and select Change Series Chart Type.... In the dialog box, find the series you moved to the secondary axis and change its chart type to Line. This creates a "Combo Chart" where one data set is represented by bars and the other by a line.
  6. Label Your Axes: Because you now have two different scales, it is critical to label them so the viewer knows which axis belongs to which data set. Go to the Chart Design tab, click Add Chart Element > Axis Titles, and select both Primary Vertical and Secondary Vertical. Double-click the text boxes to type your specific labels (e.g., "Revenue ($)" and "Growth Rate (%)").

Common Mistakes

  • Using the same chart type for both: Using two sets of clustered columns often results in the bars hiding one another. Always consider changing the secondary series to a line chart.
  • Forgetting axis labels: Without labels, a viewer may assume both data series are measured by the same scale, leading to incorrect data interpretation.
  • Overcomplicating the data: Adding more than two vertical axes is not natively supported in Excel. Trying to force too many variables into one chart usually results in a visual that is impossible to read.
  • Misaligning scales: Sometimes Excel automatically sets the secondary axis to a range that makes the data look more dramatic than it is. Always check the minimum and maximum values of both axes.

Tips

  • Color Coordination: Match the color of your axis text to the color of the corresponding data series. For example, if your revenue bars are blue and your growth line is orange, make the right-hand axis text orange.
  • Use the Combo Chart Shortcut: If you are starting from scratch, you can go to Insert > Recommended Charts > All Charts tab > Combo. This allows you to pick the chart types and check the "Secondary Axis" box for specific series all in one window.
  • Clean Up Gridlines: When using a secondary axis, the horizontal gridlines are based on the primary axis. If the secondary axis looks "off," consider removing the gridlines entirely for a cleaner look.

Troubleshooting

If the "Format Data Series" pane does not appear or you cannot select the specific line/bar, try the following:

  • Use the Format Tab: Click the chart to select it. Go to the Format tab on the top ribbon. On the far left, there is a dropdown menu containing all the elements in your chart. Select the specific series name from that list, then click Format Selection.
  • Check Data Types: If your data is formatted as text instead of numbers, Excel cannot plot it on an axis. Ensure all your numerical columns are set to "Number" or "Currency" in the Home tab.
  • Reset the Chart: If the chart becomes distorted after switching axes, delete the chart and use the Combo Chart method mentioned in the Tips section to build it from the ground up.

Frequently Asked Questions

Can I have three vertical axes in one Excel chart?

No, Excel only supports a primary and a secondary vertical axis. If you have three different scales, you should create separate charts or normalize your data (e.g., convert all values to percentages of a total).

Why does my second data series look like a flat line?

This happens because the data is being plotted against the primary axis, which has a much larger scale. Moving that series to the Secondary Axis will give it its own scale, allowing the trends to become visible.

Does this work in Excel for Web?

Yes, the functionality is available in Excel for the Web, though the menu layout may differ slightly. You can still access the "Format" options by right-clicking the data series.

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 switch the selection back from "Secondary Axis" to "Primary Axis."

Can I use a secondary axis with a Scatter Plot?

Yes, but it is more complex. You will need to ensure your X-axis values are identical for both series, otherwise, the data points may not align correctly across the two different vertical scales.