Need to compare two variables side by side in Excel? A dual-axis (or multi-axis) graph lets you plot the same data on different scales—one on the primary Y-axis, one on a secondary Y-axis—making trends and contrasts instantly visible. This works best for scenarios like tracking two related metrics (e.g., sales by region vs. profit margins) where the ranges differ significantly. You don’t need advanced skills: just follow these clear steps to create one, troubleshoot common issues, and avoid mistakes that break the chart.

What You'll Need

  • A version of Excel (365, 2021, or 2019 with all updates applies; Office 2016 lacks the simplest method)
  • Two datasets with identical X-axis values (dates, categories, etc.)
  • Data in columns A and B (or other adjacent columns), with headers in row 1
  • A computer with Excel installed (no cloud-only features required)

Step-by-Step

  1. Prepare your data: Ensure your dataset has two series with matching X-axis labels. For example: Column A (dates) and Column B (primary values), then Column C (secondary values). Avoid empty rows between series—Excel may misinterpret them. If your data has headers: Select the entire range including headers, then click Insert > Recommended Charts (or Quick Launch tool) > Clustered Column (default) or Stacked Column in the first dropdown. This initial chart will auto-assign series to axes.
  2. Insert the dual-axis chart: Once the default chart appears:
    1. Right-click the chart area > Select Data.
    2. In the Legend Entries pane (bottom-right), click Edit.
    3. Under Series Name, double-click the series you want on the secondary axis (e.g., "Profit Margin").
    4. In the Series Y Values box, click Series > Switch Categories (this toggles it to use the secondary Y-axis).
    Alternative (if the above fails):
    1. After selecting the chart, click Chart Design > Change Chart Type > Combination under Clustered Column.
    2. Select the secondary series in the legend, then click More...> Customize. In the Series tab, change the Series Options to Secondary Axis.
    Note: Labels can differ slightly by Excel version—look for options like "Switch Categories" or "Legend Entries."
  3. Adjust the axes:
    1. Right-click the primary axis > Format Axis > Axis Options. Set Position to Left or Right (not middle).
    2. Right-click the secondary axis > Format Axis > Axis Title, then delete the default title and type your own (e.g., "Secondary Metric").
    3. Add a title to the chart: Click Chart Design > Chart Title > Add Chart Title. Use a descriptive label like "Sales vs. Profit by Region."
  4. Fine-tune visibility:
    1. Hide the legend for clarity: Right-click the legend > Format Legend > Position > None.
    2. Format the secondary axis gridlines: Right-click the secondary axis > Format Axis > Gridlines. Uncheck Show Gridlines if they interfere.
    3. Add data labels for exact values: Select the bars > Add Data Labels in the Format Data Series pane.

Common Mistakes

  • Series misassigned: If data appears on the wrong axis, double-check the Switch Categories step or re-insert the chart as a combination type. Ensure both series use the same X-axis data.
  • Conflicting axis scales: If bars overlap or values misalign, adjust the secondary axis range: Right-click the axis > Format Axis > Axis Options > Maximum or Minimum to fit the data.
  • Missing headers: Excel may ignore data if headers aren’t included. Always select the entire range of data when creating the chart.
  • Overlapping legends: If the legend hides part of the chart, drag it to the top or side by selecting the legend > Format > Position.

Tips

  • Use Trendline with one series: Insert a trendline on the secondary axis (right-click the series > Add Trendline) to highlight patterns in the secondary data.
  • Save as a template: Right-click the chart > Save as Template to reuse it for similar datasets.
  • For dates, ensure your X-axis is set to Date in the Format Axis pane under Category.
  • Use Sparkline for side-by-side comparisons: Insert a sparkline in a cell for one series, then use another cell for the secondary series (requires adjacent data).

Troubleshooting

If your chart doesn’t create properly:

  1. Restart Excel: Close and reopen Excel. This resolves temporary glitches.
  2. Check data consistency: Verify both series share identical X-axis values (e.g., dates in row 2). Sort data if needed.
  3. Try a different chart type: Force a Combination chart from Insert > Chart > Combination (this bypasses the Select Data step).
  4. Update Excel: Go to File > Account > Update Options > Update Now to ensure you have the latest bug fixes.
  5. Test with blank data: Create a new worksheet with dummy data (dates in A2:A10, values in B2:B10 and C2:C10). If it works, your original data may have hidden formatting issues.

If the secondary axis still doesn’t appear:

  1. Right-click the chart > Edit Chart Elements > Axis. Expand the secondary axis options manually.
  2. Use the Legend Entries pane (from the Select Data dialog) to manually assign a series to the secondary axis.
  3. If Excel ignores the step, try inserting the chart as a Line chart first, then converting series to columns; this sometimes forces dual-axis recognition.

Frequently Asked Questions

Why won’t my secondary axis show?

It may be due to a conflict with the primary axis. Right-click the secondary axis > Format Axis > Position, then set it to Left or Right. If that fails, use the Combination chart type via Change Chart Type instead of the Select Data method.

Can I use this for stacked bars?

No. Stacked bars inherently use the primary axis only. For dual-axis, use clustered bars or line charts instead. To compare stacked vs. clustered, insert two charts side-by-side (right-click chart area > Duplicate Chart).

What if my data has negative values?

Negative values appear below the zero line. To fix: Right-click the secondary axis > Format Axis > Category, then set Reverse to No. If the bars still overlap, adjust the axis range or scale to fit your data.

How do I export this chart as a PNG?

File > Save As > Select PNG from the dropdown. Choose a location, then click Save. For higher quality, use File > Export > Create PDF/XPS, then convert to PNG (available in Windows 10/11 with tools like IrfanView).

Why do my bars look like they’re overlapping?

This happens if the series are on the same axis or if the secondary axis range is too small. Resolve by:

  • Right-click the secondary axis > Format Axis > Axis Options > Maximum to expand the scale.
  • Add a gridline to the secondary axis (right-click > Format Axis > Gridlines > Check Show Gridlines).

Can I use this method for multiple secondary axes?

Excel supports only one secondary axis per chart. For more complex comparisons, use a series of charts in separate tabs or create a scatter plot with multiple series (each on a distinct Y-axis).