logo
search
Chart & Visualization Issues

How to Create a Side-by-Side Horizontal Bar Chart with Two X-Axes in Excel

Bushra ParveenBushra Parveen Sep 28, 2026 868 views

Question details

The user needs to create an unstacked side-by-side horizontal bar chart with two independent horizontal X-axes in Excel.

How to Create a Side-by-Side Horizontal Bar Chart with Two X-Axes in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
Visualizing two sets of data with different numeric scales side-by-side in a horizontal bar format for accurate comparison.
Observed behavior
Excel does not offer a native, single-click chart type for side-by-side horizontal bars with two independent X-axes, requiring manual adjustments of secondary axes and series overlap.
Before you start

Ensure your data is organized into clear, separate columns for categories and the two distinct numeric series you plan to plot. It is highly recommended to sketch out your expected result or create a dummy dataset to test the axis scales before applying them to your primary spreadsheet.

Solution 1Recommended

Create Using a Secondary Axis and Overlap Adjustment

Manually configure a 2D Bar Chart by enabling a secondary axis and adjusting series overlap to force bars side-by-side.

Because Excel naturally overlaps bars when a secondary axis is added, you must manually adjust the series overlap and gap width to place them side-by-side.

1
Insert a Clustered Bar Chart

Select your data (categories and both data series), go to the Insert tab, and click the 'Insert Column or Bar Chart' icon. Choose the 2D Clustered Bar option.

2
Enable the Secondary Axis

Right-click one of the data series bars in the chart and select 'Format Data Series'. In the pane that appears, under 'Series Options', check the box for 'Secondary Axis'.

3
Add the Secondary X-Axis

With the chart selected, click the '+' (Chart Elements) button. Go to Axes, click the arrow next to it, and check 'Secondary Horizontal' to display the second X-axis at the top of the chart.

4
Adjust Series Overlap

In the 'Format Data Series' pane for each series, adjust the 'Series Overlap' and 'Gap Width' sliders. You may need to introduce a blank 'dummy' series in your data to help offset the bars so they sit next to each other rather than directly on top.

5
Synchronize or Scale Axes

Click on the primary and secondary horizontal axes to format them. Adjust the 'Minimum' and 'Maximum' Bounds under Axis Options so that both datasets visually compare as intended.

Create Using a Secondary Axis and Overlap Adjustment
Data Layout Tip: Adding a blank 'dummy' column containing zeros between your two data columns in your source data can help create the natural spacing needed when adjusting overlap on a secondary axis.
Advanced Charting

Easily Create Advanced Charts with WPS Spreadsheets

WPS Spreadsheets provides an intuitive chart editing interface, making it simple to manage secondary axes, series overlap, and complex data visualizations. It is highly compatible with Microsoft Excel file formats.

  1. 1. Open Data in WPS: Launch WPS Spreadsheets and open your workbook containing the data series.
  2. 2. Insert Bar Chart: Highlight your data, navigate to the Insert tab, and choose a 2D Clustered Bar Chart.
  3. 3. Format Secondary Axis: Double-click the series you want on the new axis. In the right-hand properties panel, select 'Secondary Axis'. Go to Chart Elements to toggle the secondary horizontal axis display.
  4. 4. Adjust Overlap: Use the Series Options panel to change Series Overlap and Gap Width to position your bars perfectly side-by-side.
Intuitive interface for managing primary and secondary chart axes without formatting headaches.Full compatibility with Microsoft Excel (.xlsx) formats, ensuring your charts display correctly.Free and lightweight office suite with powerful data visualization tools.Easy drag-and-drop adjustments for series overlap and gap width.
microsoft office alternative - wps office

Frequently Asked Questions

Why do my bars overlap completely when I add a secondary axis?

When you assign a series to a secondary axis, the spreadsheet plots it on a completely separate visual layer over the primary axis. To fix this, you must adjust the Series Overlap settings or insert a blank data column to force physical spacing.

Can I align the zero points of two different X-axes?

Yes, you can align the zero points by manually setting the Minimum and Maximum bounds for both the primary and secondary X-axes in the Format Axis properties pane to perfectly proportional scales.

Is there a built-in template for a two X-axis bar chart?

No, most spreadsheet software does not feature a single-click template for this specific axis combination. You must build it using a standard clustered bar chart, manually adding a secondary axis, and tweaking the series overlap.