Creating a line chart over a bar chart in Excel—commonly known as a Combo Chart—allows you to visualize two different types of data on a single graph. This is most effective when you have two data series with different scales or units, such as monthly revenue (large numbers) and profit margin percentage (small numbers). By using a secondary axis, you can see the correlation between these metrics without the smaller values disappearing at the bottom of the chart.

What You'll Need

  • Microsoft Excel (works in Office 365, Excel 2021, 2019, and 2016).
  • A dataset organized in a table with a common X-axis (e.g., dates, months, or categories) and at least two columns of numerical data.
  • Clean data: ensure there are no empty rows or text strings within your numerical data columns to prevent plotting errors.

Step-by-Step

  1. Prepare Your Data: Arrange your data in columns. For example, Column A should contain your time periods (January, February, etc.), Column B should contain your primary metric (e.g., Total Sales), and Column C should contain your secondary metric (e.g., Conversion Rate %). Ensure the headers are clear and concise.
  2. Select the Data Range: Click and drag your mouse to highlight all the data you want to include in the chart, including the column headers. If your data is in a non-contiguous range, hold the Ctrl key (Cmd on Mac) while selecting the specific columns.
  3. Insert the Initial Chart: Navigate to the Insert tab on the top ribbon. In the Charts group, look for the Insert Combo Chart icon (which looks like a small bar and line chart combined). Click the dropdown arrow and select Create Custom Combo Chart... at the bottom of the list. Note that menu labels may vary slightly depending on your version of Excel or region.
  4. Configure the Series Types: A dialog box will appear titled "Insert Chart." Under the Choose the chart type and axis for your data series section, you will see a list of your data series.
    • For the primary data (e.g., Total Sales), select Clustered Column from the dropdown menu.
    • For the secondary data (e.g., Conversion Rate %), select Line or Line with Markers from the dropdown menu.
  5. Enable the Secondary Axis: This is the most critical step. In the same "Insert Chart" dialog box, look for the Secondary Axis checkbox next to your line chart series. Check this box. This tells Excel to create a second vertical axis on the right side of the chart, allowing the line to be scaled independently from the bars.
  6. Confirm and Create: Click OK. Excel will generate the chart with bars representing your first data set and a line overlaying them representing your second.
  7. Label the Axes: Because you now have two different scales, you must label them to avoid confusion. Click the Chart Elements button (the plus sign icon next to the chart) and check the box for Axis Titles. Click the text boxes that appear on the left and right axes to type in the names of your metrics (e.g., "Revenue in USD" on the left and "Growth %" on the right).
  8. Format for Clarity: To make the chart more professional, right-click on the bars and select Format Data Series. Adjust the Gap Width slider to make the bars wider or thinner. Then, right-click the line and select Format Data Series to change the line color, thickness, or add a smoothing effect by checking the Smoothed line box at the bottom of the Fill & Line tab.

Common Mistakes

One of the most frequent errors is forgetting to check the Secondary Axis box. Without this, if your bar chart values are in the thousands and your line chart values are percentages (0.01 to 0.10), the line will appear as a flat line sitting exactly on the zero axis, making it look like the data is missing or zero.

Another common mistake is selecting too many data series for a combo chart. While Excel allows multiple series, adding more than two or three different types of charts (e.g., bars, lines, and areas) often leads to a cluttered visual that is difficult for an audience to interpret. If you have four or more metrics, consider splitting them into two separate charts.

Users also frequently overlook the importance of axis titles. When a viewer sees two different vertical scales, they may accidentally read the line data against the left axis instead of the right axis, leading to completely incorrect conclusions about the data.

Tips

Use Markers for Precision: When choosing the line style, select Line with Markers. This places a small dot on each data point, making it easier for the viewer to pinpoint exactly where the line corresponds to the top of a specific bar.

Color Coordination: To improve readability, match the color of your axis labels and axis lines to the color of the data they represent. For example, if your bars are blue and your line is orange, change the font color of the right-hand axis to orange. This creates an intuitive visual link for the reader.

Data Sorting: If your chart looks erratic, try sorting your source data. Sorting by the bar value (highest to lowest) creates a "Pareto-style" effect, which is excellent for identifying the most significant contributors to a total while seeing how the secondary metric fluctuates across those contributors.

Dynamic Ranges: If you plan to add more data over time, convert your data range into an official Excel Table (Ctrl + T) before creating the chart. This ensures that as you add new rows to your table, the combo chart updates automatically without you having to manually redefine the data range.

Troubleshooting

The line is hidden behind the bars: This usually happens if the line is formatted as a bar by default. Go to Chart Design > Change Chart Type and ensure the series is explicitly set to "Line." If it is already a line but still obscured, check the Secondary Axis setting; moving the line to its own axis usually brings it to the foreground.

The chart is blank or shows only one series: Check your data for "Text as Numbers." If your numbers are formatted as text, Excel cannot plot them. Highlight the column, look for the small yellow warning diamond, and select Convert to Number. Also, ensure there are no hidden rows or filtered data that might be excluding the series from the plot.

The secondary axis scale is confusing: Sometimes Excel chooses a scale that doesn't start at zero, which can mislead the viewer. Right-click the secondary axis, select Format Axis, and under Axis Options, manually set the Minimum bound to 0.0.

The legend is missing or incorrect: If the legend doesn't show the correct names, check your source data headers. If the legend is missing entirely, click the Chart Elements (+) button and check the Legend box. You can move the legend to the top or bottom to give the actual chart area more horizontal room.

Frequently Asked Questions

Can I have two different line charts and one bar chart?

Yes. In the Custom Combo Chart menu, you can set multiple series to "Line" and one to "Clustered Column." You can assign both lines to the secondary axis or keep one on the primary axis depending on their scales.

How do I change the bar chart to a stacked bar chart in a combo?

In the Change Chart Type menu, instead of selecting "Clustered Column," select "Stacked Column." This allows you to show parts of a whole as bars while still overlaying a trend line on top.

Why does my line chart look jagged?

Jagged lines occur when there is high volatility in the data. To soften this, right-click the line, select Format Data Series, and check the Smoothed line option at the bottom of the line settings menu.

Can I use this chart for data that isn't time-based?

Absolutely. While common for time series, combo charts work well for any categorical data. For example, you could have "Product Categories" on the X-axis, "Units Sold" as bars, and "Customer Satisfaction Score" as the line.

Does this work on Excel for Web?

Yes, Excel for the Web supports combo charts, though the interface for creating them is slightly simplified. You can find these options under the Insert tab within the Charts gallery.