How to create two horizontal axes on the same side

Excel 365
While the secondary vertical axis provides a way to display two different types of data for the one time range, the secondary horizontal axis allows you to create a chart showing two data series for different time ranges:
Two horizontal axes on the same side in Excel 365

By default, Excel creates a chart with the primary horizontal axis at the bottom and with the primary vertical axis at the left side of the plot area (shown as blue in the example below). The secondary vertical axis is placed at the right side (shown as orange in the example below). When you add the secondary horizontal axis, Excel adds it to the top of the plot area (shown as orange):

Two horizontal axes in Excel 365

See how to add the secondary vertical axis and position both vertical axes on the same side for more details.

Add the secondary horizontal axis

To add a secondary horizontal axis, do the following:

   1.   Add the secondary vertical axis to any of the data series (see How to create two vertical axes on the same side).

   2.   Select the data series which you want to see using the secondary horizontal axis:

Two vertical axes in Excel 365

   3.   Do one of the following:

  • On the Chart Design tab, in the Chart Layouts group, click the Add Chart Element drop-down list:
    Add Chart Element button in Excel 365

    Choose the Axes list and then click Secondary Horizontal:

    Add the Secondary horizontal axis in Excel 365
  • Click the Chart Elements button, then in the Chart elements list, in the Axes list, select the Secondary Horizontal checkbox:

    Chart Elements - Add Secondary Horizontal Axis in Excel 365

Excel adds the secondary horizontal axis for the selected data series (on the top of the plot area):

Secondary horizontal axis in Excel 365

   5.   To see the correct data for the primary and secondary horizontal axes, do one of the following:

  • On the Chart Design tab, in the Data group, choose Select Data:
    Select Data in Excel 365
  • Right-click on the chart area and choose Select Data... in the popup menu:
    Select Data in popup menu Excel 365

In the Select Data Source dialog box:

Select Data Source in Excel 365
  • Select the appropriate data series (for which you added secondary horizontal axis),
  • Click the Edit button on the Horizontal (Category) Axis Labels area,
  • In the Axis Labels dialog box, change the existing data to appropriate data for secondary horizontal axis.

The data series will have different Horizontal (Category) Axis Labels to show them on the primary and secondary horizontal axes. For example:

Secondary horizontal axis labels in Excel 365

Display dual horizontal axis on one side

   1.   Select the horizontal axis that you want to move to the opposite side of the plot area, right-click on it and choose Format Axis... in the popup menu:

Format Axis popup in Excel 365

   2.   On the Format Axis pane, in the Axis Options tab, in the Labels section, choose the appropriate option from the Label Position dropdown list:

Label Position in Format Axis pane Excel 365
  • Next to Axis (used by default) shows the primary horizontal axis on the bottom of the plot area, the secondary horizontal axis on the top of the plot area.
  • High, shows the primary axis in the highest value of the data, on the top (changes nothing for the secondary horizontal axis):
    Two horizontal axes on the top Excel 365
  • Low, shows the secondary axis in the lowest value of the data, on the bottom (changes nothing for the primary horizontal axis):
    Two horizontal axes on the bottom Excel 365
  • None, hide labels for the axis. You still can select the axis, change its options, but can't see the axis labels.

See also this tip in French: Comment créer deux axes horizontaux du même côté.

Please, disable AdBlock and reload the page to continue

Today, 30% of our visitors use Ad-Block to block ads.We understand your pain with ads, but without ads, we won't be able to provide you with free content soon. If you need our content for work or study, please support our efforts and disable AdBlock for our site. As you will see, we have a lot of helpful information to share.