How to Overlay Charts in Excel
In this article
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)
- 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.
- 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.
- 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.
- 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.
- 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)
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.