Creating a dual-axis bar graph in Excel lets you display two different sets of data on separate scales—one for categories, another for values—without overwriting. This approach is perfect for comparing trends across two dimensions (for example, comparing sales across regions *and* time periods). All you need is an Excel spreadsheet with two data ranges, and the steps below walk you through it precisely.
What You'll Need
- A spreadsheet with at least two data series (one for categories, one for values) in separate columns or rows.
- Excel installed on your computer (Excel 2016 or newer; older versions may require manual tweaks).
- If comparing categorical vs. continuous scales (e.g., months vs. dollars), ensure your data ranges are clean (no merged cells, blank rows).
Step-by-Step
-
Prepare your data:
- Arrange your data in two columns:
- **X-axis (categories):** One column for labels (e.g., "Jan," "Feb," "Mar")—these will anchor your bars.
- **Y-axis (values):** A second column for numeric values (e.g., 150, 220, 180).
Month | Sales Jan | 150 Feb | 220 Mar | 180Tip: If your data spans multiple sheets (e.g., comparing two datasets), useData > Get Data > From Other Sources > From Table/Rangeto load both ranges separately. Labels must remain in the first column. - Arrange your data in two columns:
-
Insert the first series:
- Select the
Monthcolumn (first data column) and right-click >Insert. A bar chart appears by default. - Drag the bar chart to the desired location on your worksheet.
- Select the
-
Add the secondary axis:
- Right-click the bar chart >
Chart Design>Select Data. In the dialog, expand the "Series" tab. - Click the
Addbutton to highlight the second data range (the numeric values). A new series appears in the chart. - In the
Legendsection, note the series name (it will default to "Series 2"). ClickRemoveto delete the legend entry for clarity (optional but cleaner).
- Right-click the bar chart >
-
Configure axes:
- Right-click the chart >
Chart Design>Change Chart Type. SelectColumn Clustered(orGrouped Columnif you want bars side-by-side). - Right-click one of the
Y-axislabels >Format Axis.- Under
Scale Options, chooseSecondary Axis(this sets the secondary data series to the right-hand Y-axis). - Adjust the axis title (click the text box and type, e.g.,
Revenue ($)).
- Under
- If the bars overlap or appear misaligned, right-click the Series 2 bars >
Format Data Series. UnderSeries Options, enableShow Values in Cells(temporarily) to check alignment. Adjust thePositionon the X-axis to space bars apart (e.g.,Around Bars).
- Right-click the chart >
-
Customize formatting:
- Right-click the
X-axis>Format Axis. UnderAxis Options, ensure:Category Options>Show Category Namesis checked.Major Unitis set to1(to avoid gaps between months).
- Right-click the
Y-axis(primary) >Format Axis. UnderAxis Options, enable:Show Axis Labels.Show Minor Ticks(optional, for granular values).
- Use the
Design > Chart Stylestab to apply a modern theme (e.g.,Dark 1).
- Right-click the
-
Final adjustments:
- Verify the scale: Zoom in on the chart (click
View > Zoom) to ensure the secondary axis (revenue) doesn't clip values. If needed, move the chart or adjust the primary axis range (right-click axis >Format Axis>Scale Options>StartorEnd). - Add a legend by right-clicking the chart >
Chart Elements>Legend(optional but helps clarify which bars belong to which series).
- Verify the scale: Zoom in on the chart (click
Common Mistakes
- Data alignment errors: Ensure the X-axis labels (e.g., months) match between the primary and secondary bars. If they don’t align, delete the chart and start over from Step 1, double-checking data columns.
-
Overlapping bars:
This occurs if the secondary series isn’t assigned to the right-hand axis. Verify in the
Select Datadialog that "Series 2" is linked to the secondary axis. -
Axis labels missing:
Right-click the axis >
Format Axisand checkAxes Options > Show Axis Labels. If using custom values (e.g., non-integer steps), enableShow Minor Ticks. -
Scale issues:
If values exceed the primary axis range, move the chart or adjust the primary axis range (right-click axis >
Format Axis>Scale Options).
Tips
-
For non-numeric categories:
Replace numeric labels (e.g., 1, 2, 3) with descriptive text (e.g., "Q1," "Q2") if the secondary axis appears as numbers. Right-click the X-axis >
Format Axis>Axis Options>Tick Marks>None, then edit the axis title to include labels (e.g.,Quarterly Sales). -
Dynamic ranges:
Use relative references (e.g.,
$B$2:$B$5instead of$B$2) so your chart updates when data expands. -
Color consistency:
Right-click a bar >
Format Data Series>Fillto match colors between series (e.g., use the same palette for both Y-axes). -
Trend analysis:
Add a line chart overlay (right-click chart >
Insert Series) to show trends over time alongside the bars. -
Excel 2013 or earlier:
These versions lack native dual-axis support. Instead:
- Insert a bar chart (primary series).
- Right-click the chart >
Chart Design>Data>Edit. - Add the secondary series manually in the dialog, then assign it to the secondary axis in
Format Axis.
Troubleshooting
- Chart not displaying dual axes: Delete the chart and repeat from Step 1. Ensure both data ranges are in separate columns/rows. If using a table, select the entire table first.
-
Bars appear as a single series:
Check the
Select Datadialog (right-click chart >Select Data). Right-click Series 2 >Deleteand re-add it to the secondary axis. -
Axis labels conflict or disappear:
Right-click the axis >
Format Axisand verify:Axes Options > Show Axis Labelsis checked.Tick Marksare enabled if using custom values.
Positionof the axis (right-click axis >Format Axis>Position). -
Data series misaligned:
Use
Format Data Series > Positionto shift bars left/right. Alternatively, insert a blank cell between data values in the X-axis column. -
Chart won’t update:
Refresh the chart by right-clicking it >
Refresh. Ensure data ranges aren’t hidden or frozen. If the issue persists, create a new chart from scratch.
Frequently Asked Questions
Why won’t my dual-axis chart show both series?
Both data ranges must be selected independently in the Select Data dialog (right-click chart > Select Data). Expand the "Series" tab, add the second range, then assign it to the secondary axis in Format Axis > Scale Options > Secondary Axis
Can I use a dual-axis chart for stacked bars?
No. Stacked bars require a single axis. For stacked comparisons, use a clustered column chart with a secondary Y-axis only for the top series (e.g., total revenue).
How do I compare two different units (e.g., dollars vs. units sold)?
Assign the first series to the primary Y-axis (default) and the second to the secondary Y-axis. Right-click the secondary axis > Format Axis to set the title (e.g., Units Sold) and adjust the scale.
My bars overlap completely. What should I do?
Move the secondary series bars apart by right-clicking Series 2 > Format Data Series > Position, then select Around Bars or Inside Bars. Alternatively, widen the X-axis by increasing the Major Unit in Format Axis.
Is there a way to hide the legend for the secondary series?
Yes. In the Select Data dialog, expand the "Legend" section and click Remove for Series 2. If the legend reappears, ensure you’ve deleted it in every instance.
Can I animate a dual-axis chart in Excel?
No. Excel’s built-in animation tools only work for single-series charts. For interactive animations, use Power Query to prepare data or export to PowerPoint/Google Charts.