Need to compare two related datasets in Excel but want each series on its own axis? A dual-axis line graph lets you plot two lines on separate vertical axes so you can see both trends clearly at once—ideal for financial benchmarks, scientific comparisons, or project timelines. The key first step is selecting the right data range, then choosing the graph type under the Chart Tools. This guide shows you exactly how to do it quickly and troubleshoot common snags.
What You'll Need
- Microsoft Excel installed (Excel 2013 or later)
- Two data series with matching horizontal axes (e.g., time periods, categories) and two distinct vertical values
- At least one column containing the shared horizontal axis labels (e.g., months, product IDs)
Step-by-Step
-
Prepare your data:
- Ensure your data has two columns for series 1 (e.g., "Sales") and series 2 (e.g., "Expenses"), both sharing the same sequence of horizontal labels (e.g., every month). If dates are used, format them as dates in Excel (select the column, right-click > Format Cells > Date).
- Remove any empty cells between values—Excel may render gaps if they exist.
Months Sales Expenses
January 150 75
February 180 90
Series 1 and series 2 share the same "Months" column. - Insert the chart:
- Select your data range (include the header row but exclude the "Months" label if it’s in a separate row). For the example above, drag the mouse from A1 to D4 (Sales and Expenses columns).
- Go to the Insert tab > click Line > choose Line with Markers (this gives you more control later).
-
Modify the chart type:
- Click the Chart Design tab > in the "Change Chart Type" group, click the Dropdown arrow in the "Select Chart Type" box.
- Under Line, scroll to Dual Axis Line (this will appear as a preview with two vertical scales). Click OK.
-
Adjust axis labels and scales:
- Click the chart > right-click any axis > Format Axis > select the Vertical Axis tab.
- Click Min > set it to 0 (or adjust based on your lowest value) and use Show Value checkboxes to highlight key points. For dual axes, Excel will automatically split the range.
- Under the Series tab of the Format pane, check Show legend for clarity. Order series alphabetically or by importance.
-
Refine visuals:
- Add a grid for better readability: right-click any axis > Format Axis > check Gridlines.
- If lines overlap, right-click a series > Format Data Series > adjust Border. Make one series darker/bolder to distinguish them.
Common Mistakes
- Data misalignment: If axes don’t align properly, your series don’t match labels. Check for extra empty cells or inconsistent headers. Fix: Delete blank rows/columns and ensure both series share the same horizontal axis.
- Axis ranges clashing: One axis might stretch too high, hiding data. Fix: Right-click an axis > Format Axis > set horizontal gridlines at key thresholds (e.g., every 50 units).
- Legend confusion: Series may appear mixed. Fix: Right-click the chart > Select Data > assign labels manually in the "Series Names" box.
Tips
- For time series: Use the Data Table feature (right-click chart > Add Data Table) to update ranges dynamically without editing the chart.
- To freeze axes: Right-click any axis > Format Axis > under Position, enable Fixed to anchor the scale.
- Save templates: Copy the chart to a new workbook by right-clicking > Save as Chart. Reuse it for similar reports.
- Use conditional formatting: Highlight values above/below thresholds (e.g., red for losses) by selecting the series > Home tab > Conditional Formatting > Highlights.
Troubleshooting
- Dual axis not appearing:
- Reinsert the chart as Line with Data Points under Insert > Line. Then modify the chart type as Step 3 above.
- If the chart still fails:
- Check for duplicate series names (Excel may override). Use unique names like "Sales 2023" and "Expenses 2023".
- Verify no formulas exist in your series (Excel may default to a stacked chart). Replace formulas with literal values.
- Series not plotting:
- Select the entire chart > right-click > Select Data > check the Series Names box under "Legend Entries."
- Ensure each series is linked to its corresponding column (right-click series > Format Data Series > Series tab > check Series Name matches your column header).
- Axis misalignment:
- Right-click any axis > Format Axis > under Position, adjust Start Point to match your data’s minimum.
- For dates, ensure both series share the same date format (e.g., MM/DD/YYYY).
Frequently Asked Questions
Why does Excel show a stacked chart instead of dual axes?
Excel defaults to stacked line charts when two series share the same vertical scale. To force dual axes, first insert a Line with Data Points, then manually assign axes in the Chart Design tab.How do I compare percentages on dual axes?
Convert percentages to decimals (e.g., 90% = 0.90) and plot them on the same scale. Use axis ranges like 0.0 to 1.0 with gridlines at 0.2 intervals to highlight differences.Can I add a third series to a dual-axis chart?
No. A dual-axis chart supports only two vertical scales. For three series, choose a grouped bar chart or use a secondary axis for the third series (though this will create a dual-axis + bar hybrid).How do I save a dual-axis chart template for future use?
Copy the chart to a new workbook: right-click the chart > Save as Chart > paste into a new file. The template retains formatting.My dates are not aligning correctly on the horizontal axis.
Ensure both series share the same date format (e.g., Excel’s default `yyyy-mm-dd`). Right-click the axis > Format Axis > under Tick Marks, select Data Points to show labels at each data point.Why are my gridlines overlapping?
Adjust the axis range: right-click an axis > Format Axis > under Axis Options, set Min Value and Max Value to exclude overlapping regions. Add secondary gridlines at intervals (e.g., 20 units) for clarity.With these steps, you can compare two related datasets with precision. The key is preparing clean, aligned data and adjusting axis ranges carefully—both save time and prevent misinterpretation.