search
HomeTopicsexcelHow to add secondary axis in Excel: horizontal X or vertical Y

In this article, we'll guide you through the steps of adding a second vertical (y) or horizontal (x) axis to an Excel chart.

In Excel graphs, you're used to having one horizontal and one vertical axis to display your information. But things can get a bit tricky when you're dealing with different types of values, like numbers and percentages, or when you want to compare two datasets that don't quite match up in terms of time or size. This is where a second axis comes into play. A secondary axis in Excel charts lets you plot two different sets of data on separate lines within the same graph, making it easier to understand the relationship between them.

Why add a second axis to Excel chart?

Adding a second axis to your Excel chart might sound a bit technical, but it's all about enhancing clarity and insight. Here are some good reasons to consider using a second axis:

  1. Different kinds of data. Imagine you're dealing with numbers and percentages at the same time. Putting them on one line can be confusing. With a second axis, you can distinctly showcase both datasets.
  2. Significant differences in numbers. When comparing values that have very different sizes, like sales and taxes, one dataset might overshadow the other. A second axis ensures each dataset has its own space to shine.
  3. Time jumps. Visualizing information across various timeframes on a single axis can lead to distorted representations. A second axis lets you accurately depict each dataset's timeline.
  4. Intricate correlations. Sometimes, data conceals hidden relationships. Adding a second axis might uncover interesting connections that weren't obvious before.
  5. Enhanced storytelling. In presentations, reports, or academic papers, a chart with a second axis helps convey intricate information more effectively, showcasing how different variables interact.

Let's delve into a real-life example that illustrates the advantages of using a second axis in Excel. Imagine you're visualizing production numbers and defect percentages each month in a manufacturing process. Below is a standard column chart displaying both datasets. The blue columns represent units produced, while the tiny orange columns next to them show defect percentages.

How to add secondary axis in Excel: horizontal X or vertical Y

Now, take a moment and try to discern the relationship between the production numbers and defect percentages. It's a bit puzzling, isn't it? The standard graph doesn't allow for effective comparison of data with differing scales.

The solution is to create a separate vertical axis for percentages, scaling from 0% to 4.5%. A secondary axis works best for a combo chart, so we switch the defect percentage data series to a line, while keeping production numbers as columns. That's all! With the secondary axis in action, the relationship between production and defects becomes much clearer.

How to add secondary axis in Excel: horizontal X or vertical Y

In essence, incorporating a second axis in an Excel chart isn't just about accommodating complex data - it's about enabling a clearer, more insightful representation of your information.

How to add a secondary axis in Excel

In older versions like Excel 2010, adding a second axis required a bunch of manipulations that could get a bit tricky. But luckily, in modern versions of Excel 2013 through 365, the process has become much easier and faster.

To add a second axis to your Excel chart, follow these steps:

  1. Pick your data. Select the data you want to plot, including column headers.
  2. Insert chart. On the Insert tab at the top, find the Charts group, and click on Recommended Charts.

    How to add secondary axis in Excel: horizontal X or vertical Y

  3. Use recommended charts. With a bit of luck, you might see a chart with a second axis right there among the recommendations on the left side of the Insert Chart dialog box. If you do, just pick it and click OK. You're all set. But if not, no worries - follow the next steps.
  4. Combo choice. If you don't see the right chart in the recommendations, stay in the same pop-up window, but move to the All Charts tab. On the left side, choose Combo.
  5. Combo setup. For one of your data series, pick Clustered Column, and for the other one, choose Line. Then - this is important - check the Secondary Axis box for the Line data series. Once you're set, hit OK.

How to add secondary axis in Excel: horizontal X or vertical Y

And guess what? You're all done! Your chart now has a second vertical y-axis.

How to add secondary axis in Excel: horizontal X or vertical Y

Tip. If you want to make your combo graph with a second axis even cooler, you can do more stuff like changing the chart title, adding axis titles, etc. For the detailed instructions, check out How to customize Excel graphs.

Adding a second Y axis to existing chart

In certain scenarios, it's quicker to add a second Y-axis to an existing chart than start a new one with two vertical axes from the ground up. Here's how you can do it:

  1. Select your chart. First, click anywhere within your graph to activate the Chart Tools tabs on the ribbon.
  2. Change chart type. On the Chart Design tab, which is now available, click the Change Chart Type button.
  3. Choose combo chart. In the dialog box that appears, select Combo in the left pane, and choose the Cluster Column - Line on Secondary Axis chart type.
  4. Adjust second axis (if needed). If your graph contains multiple data series, you have the flexibility to decide which one(s) to display on the secondary axis. Simply check the Secondary Axis box next to that specific series.
  5. Save changes. After making your selections, click OK to apply the changes and close the dialog box.

That's it! Your chart now has a second Y-axis, allowing you to effectively visualize different sets of data with varying scales or types.

How to add secondary axis in Excel: horizontal X or vertical Y

How to add a secondary X axis in Excel

Adding a second horizontal X axis in Excel can be handy when you want to show two different sets of data for different time ranges. Unlike the y-axis, Excel doesn't provide an automatic way to add a second x-axis. But don't be uneasy, we'll guide you through it step by step.

To add a second X axis to your Excel chart, these are the steps to perform:

  1. Start fresh. Begin by creating a new graph from scratch, without selecting any data in your worksheet. To do this, go to the Insert tab > Charts group and choose the Scatter with Straight Lines type.

    How to add secondary axis in Excel: horizontal X or vertical Y

  2. Select data. Right-click the blank graph you've created and then click Select Data…

    How to add secondary axis in Excel: horizontal X or vertical Y

  3. Add data source. In the dialog window that pops up, click Add.

    How to add secondary axis in Excel: horizontal X or vertical Y

  4. Define first data series. Start by giving your first data series a clear name, such as "Working." Next, select the X values for the horizontal line (A4:A15) and the Y values for the vertical line (C4:C15). As you do this, Excel will show a real-time preview of how your chart is taking shape. When you're satisfied with your choices, click OK to move forward.

    How to add secondary axis in Excel: horizontal X or vertical Y

  5. Define second data series. In a similar manner, add another data series. Let's name this one "Defects". Choose the X values in cells B4:B15 and the Y values in cells D4:D15.

    How to add secondary axis in Excel: horizontal X or vertical Y

  6. Close dialog. With both data series added, click OK to close the Select Data Source dialog box. Your chart might look a bit off at this point, but don't worry - we'll fix it shortly.

    How to add secondary axis in Excel: horizontal X or vertical Y

  7. Open Format Data Series pane. Double click the data series you want to plot on the second x axis to open the Format Data Series pane. Alternatively, click on the series to select it, then click the Chart Elements button (it's the plus sign next to the graph). After that, click the little arrow next to Axes and select More Options…

    How to add secondary axis in Excel: horizontal X or vertical Y

  8. Add secondary axis. In the Format Data Series pane that appears, go to the Series Options tab (the last one) and choose Secondary Axis.

    How to add secondary axis in Excel: horizontal X or vertical Y

  9. Tweak secondary axis. By default, Excel adds a second y-axis, but we want a second x-axis. To change this, click anywhere on the graph to activate the Chart Elements button and click on that button, then click the arrow next to Axes. Uncheck the Secondary Vertical box and check Secondary Horizontal. Both options are available to you at this moment since the secondary axis has already been added to the chart.

    How to add secondary axis in Excel: horizontal X or vertical Y

  10. Reverse order. Your chart's second x-axis might be in reverse order. To fix this, click on the upper vertical axis, go to the Format Axis pane, find Axis Options, and check the Values in reverse order box.

    How to add secondary axis in Excel: horizontal X or vertical Y

  11. Final touches. Lastly, make a few adjustments like setting suitable minimum and maximum bounds as well as major units for each axis to fine-tune your chart.

    How to add secondary axis in Excel: horizontal X or vertical Y

And there you go! You've successfully created an Excel chart with two x-axes that not only looks great but also effectively communicates your data.

How to add secondary axis in Excel: horizontal X or vertical Y

How to remove secondary axis in Excel

Removing a secondary axis in Excel is much simpler than adding it :) Here's how you can do it:

  • Delete key. Click on the secondary axis you want to remove to select it, and then press the Delete key on your keyboard.
  • Chart Elements menu. Alternatively, you can click the Chart Elements button, click the arrow next to Axis, and uncheck the Secondary axis box.

Either method will do the trick, and your chart will be back to a single axis.

How to add secondary axis in Excel: horizontal X or vertical Y

In summary, adding, adjusting, and removing secondary axes in Excel charts is like giving your data a special ability. Whether your data is mixed, varies in size, or has secrets you want to uncover, a second axis can help you convey the information with clarity and precision. Thank you for reading and happy charting!

Practice workbook for download

Adding a second axis in Excel - examples (.xlsx file)

The above is the detailed content of How to add secondary axis in Excel: horizontal X or vertical Y. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
how to do a drop down in excelhow to do a drop down in excelMar 12, 2025 am 11:53 AM

This article explains how to create drop-down lists in Excel using data validation, including single and dependent lists. It details the process, offers solutions for common scenarios, and discusses limitations such as data entry restrictions and pe

How to create timeline in Excel to filter pivot tables and chartsHow to create timeline in Excel to filter pivot tables and chartsMar 22, 2025 am 11:20 AM

This article will guide you through the process of creating a timeline for Excel pivot tables and charts and demonstrate how you can use it to interact with your data in a dynamic and engaging way. You've got your data organized in a pivo

Can excel import xml filesCan excel import xml filesMar 07, 2025 pm 02:43 PM

Excel can import XML data using its built-in "From XML Data Import" function. Import success depends heavily on XML structure; well-structured files import easily, while complex ones may require manual mapping. Best practices include XML

how to sum a column in excelhow to sum a column in excelMar 14, 2025 pm 02:42 PM

The article discusses methods to sum columns in Excel using the SUM function, AutoSum feature, and how to sum specific cells.

how to make pie chart in excelhow to make pie chart in excelMar 14, 2025 pm 03:32 PM

The article details steps to create and customize pie charts in Excel, focusing on data preparation, chart insertion, and personalization options for enhanced visual analysis.

how to calculate mean in excelhow to calculate mean in excelMar 14, 2025 pm 03:33 PM

Article discusses calculating mean in Excel using AVERAGE function. Main issue is how to efficiently use this function for different data sets.(158 characters)

how to make a table in excelhow to make a table in excelMar 14, 2025 pm 02:53 PM

Article discusses creating, formatting, and customizing tables in Excel, and using functions like SUM, AVERAGE, and PivotTables for data analysis.

how to add drop down in excelhow to add drop down in excelMar 14, 2025 pm 02:51 PM

Article discusses creating, editing, and removing drop-down lists in Excel using data validation. Main issue: how to manage drop-down lists effectively.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)