Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Overlay Charts in Excel

· 7 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

You can overlay charts in Excel by creating a secondary data series on the same axis, or by using a combo chart to combine a line and a column. A secondary axis is best when comparing values of different magnitudes, while a combo chart is ideal for mixing bar and line types. Both methods allow you to visualize two distinct data sets simultaneously on a single chart area.

What You'll Need

  • A computer with Microsoft Excel installed (Windows or macOS).
  • Two or more data series you wish to compare.
  • A basic understanding of your data (e.g., one series is much larger than the other).

Step-by-Step

Method 1: Using a Secondary Axis (for Two Datasets)

  1. Select your data. Highlight the entire block of data you want to chart, including headers. This usually includes the categories (e.g., months) and both value columns.
  2. Insert the chart. Go to the Insert tab on the ribbon and click the Recommended Charts icon. On the left side, choose All Charts and select the Clustered Column option. Click OK. This creates a standard column chart with two series stacked side-by-side.
  3. Convert the second series to a line. Click on any of the bars in the second data series to select it. With the series selected, go to the Design tab (or Chart Design on some versions) and click the Change Chart Type button. Choose Line with Markers from the list. You will now see a line graph representing the second dataset overlapping the bars of the first.
  4. Add the secondary axis. Click on the line graph (the second series) to ensure it is selected. Look at the top of your screen for the Format tab that appears specifically for chart elements. In the Current Selection pane, click the dropdown and select the second series. In the Format tab, click the Format Selection button. In the pane that opens, check the box that says Secondary Axis . The chart will now update to have two y-axes: one on the left for the columns and one on the right for the line.
  5. Refine the layout. You can now move the secondary axis labels to the other side of the chart by right-clicking the axis and selecting Format Axis, then checking Labels and choosing Position: High or Low. Adjust the line color and marker style using the Shape Format or Marker Options tabs to make the data easier to read.

Method 2: Using a Combo Chart (for Mixed Types)

  1. Prepare your data. Ensure your data is in a clean table format with headers. For example, Column A: Months, Column B: Sales (Currency), Column C: Growth Percentage.
  2. Insert the base chart. Highlight the headers and all data. Go to Insert > Recommended Charts > All Charts. While Clustered Column is a good starting point, you can also select Combo and choose a specific layout, though starting with a standard column chart often gives you more control.
  3. Open the Combo Chart dialog. With the chart selected, go to the Design tab and click Change Chart Type. Select Combo at the top left of the dialog box.
  4. Select chart types for each series. In the main area of the dialog, you will see your two series listed. For the first series (e.g., Sales), ensure the chart type is set to Column and the checkmark for Secondary Axis is unchecked. For the second series (e.g., Growth), change the chart type to Line and ensure the checkmark for Secondary Axis is checked.
  5. Customize markers. Click the Customize link below the list of series. This allows you to choose specific marker styles (like circles or squares) and sizes for the line. Click OK to apply these settings.
  6. Final adjustments. Your chart is now an overlay of a column and a line. You can use the Chart Elements (+) button to add a legend, data labels, or a title. If the secondary axis is interfering with the visual balance, you can right-click the axis and select Format Axis to set specific min and max values that make the comparison clearer.

Common Mistakes

  • Mixing incompatible data types. Avoid overlaying a column chart with a line chart if both represent the same unit of measurement (e.g., two revenue streams). Without a secondary axis, the line will be compressed into a flat line at the bottom, making it invisible. Always use a secondary axis when the scales differ significantly.
  • Overcrowding the chart. Adding too many series can make an overlay chart confusing. If you have more than two or three series, consider using a separate chart or a grouped bar chart instead of an overlay, as the visual clutter will obscure the data patterns.
  • Ignoring the legend. When you overlay charts, the viewer may not know which line corresponds to which dataset. Always ensure your chart includes a clear legend and consider adding data labels directly to the points for the most important comparisons.
  • Incorrect axis alignment. A common error is having the secondary axis labels overlapping with the data points. Review the axis formatting and move the labels to the opposite side of the chart to ensure readability.

Tips

  • Use contrasting colors. When overlaying a line on a column chart, use a bold, contrasting color for the line (like bright blue or red) to make it stand out against the bars.
  • Remove gridlines. Overlay charts can get visually busy. Removing horizontal gridlines can help the focus remain on the data points and the relationship between the two series.
  • Format dates consistently. If your overlay chart uses dates on the x-axis, ensure the formatting is consistent across both the column and line series to avoid misalignment.
  • Consider the data distribution. If one dataset has a massive outlier that skews the scale, the secondary axis might not be enough. In such cases, consider using a logarithmic scale or filtering the data before charting.

Troubleshooting

The line is flat or invisible.

This usually happens because the second series has the same numerical values as the first, or the axis scale is preventing movement. Check the Format Axis pane for the secondary axis. Ensure the minimum and maximum values are set to accommodate the data. If the values are identical, the line will overlap perfectly with the bars; consider adding markers to the line or changing the chart type to a scatter plot for better visualization.

The chart looks cluttered.

If the secondary axis labels are overlapping the chart area or the gridlines make it hard to read, go to Format Axis and reduce the number of decimal places shown. You can also uncheck the Major Gridlines option to clean up the look. If the chart is still too crowded, try reducing the font size in the Format Axis > Font section.

The secondary axis is not appearing.

Make sure you have actually selected the specific series you want to move to the secondary axis. Click on the line or bars of the second series. The Format Selection button should be active in the Format tab. If it is greyed out, the chart may be a single series chart. Ensure you have two distinct columns of data selected before inserting the chart.

I cannot change the chart type.

On some versions of Excel, the Change Chart Type option is disabled if the chart is linked to a specific data source that does not support mixed types. Try copying the chart to a new sheet and ungrouping the elements, or ensure your data is in a standard Excel table format (Ctrl+T) before attempting to change the type.

Frequently Asked Questions

Can I overlay more than two charts in Excel?

Yes, you can overlay multiple series, but it is not recommended for more than three. After adding a second series as a line on a secondary axis, you can click on a new data series and repeat the process of changing its chart type to a line and assigning it to the secondary axis. However, the visual complexity increases quickly, making it difficult for the reader to distinguish the datasets.

How do I remove the secondary axis?

Right-click on the secondary axis and select Format Axis. In the pane that opens, uncheck the box that says Secondary Axis. The selected series will revert to the primary (left) axis scale. Note that if the scales are vastly different, the data may become unreadable once the axis is removed.

Why is my line chart not matching my data points?

This can occur if the x-axis is not set to the correct data type. If your x-axis represents dates or text, ensure they are formatted correctly. If the x-axis is numerical, check that the data is sorted. Excel often misaligns data if the order of the categories does not match the order of the values in the source data.

Can I overlay a line chart with a scatter plot?

Yes, you can combine any two chart types using the Combo Chart dialog. In the settings, select Scatter for one series and Line for the other. This is useful if you want to plot a trend line (line) against specific data points (scatter) or compare two distinct point-based datasets.

Does Excel allow overlay charts on a Mac?

Yes, the process is nearly identical on macOS. The menus are slightly named differently (e.g., Insert > Recommended Charts instead of All Charts), but the steps—selecting data, changing chart type, and assigning a secondary axis—work the same way on both platforms.