To create a line graph over a bar chart in Excel, you must use the Combo Chart feature, which allows you to assign different chart types to different data series within a single visualization. This is most effective when you have two different types of data—such as monthly sales volume (bars) and profit margin percentage (line)—that need to be compared on the same timeline but use different scales of measurement. By utilizing a secondary axis, you ensure that the smaller percentage values are not flattened against the bottom of the chart by the larger volume numbers.

What You'll Need

  • Microsoft Excel installed on your PC or Mac.
  • A structured data table where the first column contains your categories (e.g., months, years, or product names).
  • At least two columns of numerical data: one for the bar series and one for the line series.
  • Clean data with no empty rows or columns within the range you intend to graph.

Step-by-Step

  1. Organize Your Data: Arrange your data in a clear table format. Place your labels (like dates or categories) in the leftmost column. Place the data you want as bars in the second column and the data you want as a line in the third column. Ensure each column has a clear header (e.g., "Month", "Units Sold", "Growth Rate").
  2. Select the Data Range: Click and drag your mouse to highlight the entire range of data, including the headers. If your data is not in a contiguous block, hold the Ctrl key (Windows) or Command key (Mac) to select separate ranges.
  3. Insert the Initial Chart: Navigate to the Insert tab on the top ribbon. In the Charts group, look for the small icon that looks like a combination of a bar and line chart, or click the Recommended Charts button.
  4. Choose the Combo Chart Option: In the Insert Statistic Chart or Recommended Charts window, click on the All Charts tab at the top. From the list on the left-hand side, scroll down to the very bottom and select Combo.
  5. Assign Chart Types: You will now see a list of your data series at the bottom of the window. For each series, there is a dropdown menu under "Chart Type". Set the primary data (e.g., Units Sold) to Clustered Column and the secondary data (e.g., Growth Rate) to Line.
  6. Enable the Secondary Axis: This is the most critical step. For the series you assigned as a Line, check the box in the Secondary Axis column. This creates a second vertical axis on the right side of the chart, allowing the line to be scaled independently from the bars.
  7. Confirm and Create: Click OK. Excel will generate the chart with bars representing the first data set and a line overlaying them representing the second.
  8. Refine the Layout: Click on the chart to reveal the Chart Design and Format tabs. Use Add Chart Element to add an axis title to both the left (Primary) and right (Secondary) axes so viewers know which scale applies to which data set.
  9. Adjust Visuals: To make the line more visible, right-click the line, select Format Data Series, go to the fill/line bucket icon, and increase the Width of the line or change the color to a high-contrast hue.

Common Mistakes

One of the most frequent errors is forgetting to check the Secondary Axis box. When you have one data set in the thousands (like revenue) and another in percentages (like 0.05 for 5%), the percentage line will appear as a flat line at the very bottom of the chart because it is being measured against the thousands-scale axis. Always verify that your line data has its own axis on the right.

Another common mistake is selecting too many data series for a combo chart. While Excel allows multiple series, adding three or four different lines over bars often leads to a "spaghetti chart" that is impossible to read. If you have more than two types of data, consider splitting them into two separate charts or using a different visualization method.

Users also frequently forget to label their axes. Because a combo chart has two different Y-axes, the reader cannot assume what the numbers on the right mean. Failing to add a "Percentage" or "Ratio" label to the right axis leads to total misinterpretation of the data.

Tips

To make your chart look professional, try removing the gridlines or changing them to a very light grey. This reduces visual noise and makes the line and bars stand out more. You can do this by clicking the gridlines and pressing the Delete key or adjusting the color in the Format pane.

If your bars are too thin or too wide, right-click on any bar and select Format Data Series. Adjust the Gap Width percentage. A lower gap width makes the bars thicker, which often looks better in combo charts where the line needs a solid visual base to contrast against.

For better clarity, use markers on your line graph. In the Format Data Series menu, go to the Marker tab and choose a built-in shape like a circle or square. This helps the viewer identify the exact data points on the line, especially if the line has sharp peaks and valleys.

Consider using a "Smoothed Line" for a more modern aesthetic. In the line formatting options, check the Smoothed line box at the bottom of the menu. This turns the jagged angles into curves, which is visually appealing for trends, though it should be used cautiously if precise data point reading is the primary goal.

Troubleshooting

The line is missing or invisible: This usually happens because the secondary axis is not enabled. Right-click the chart, choose Change Chart Type, go back to Combo, and ensure the Secondary Axis checkbox is ticked for the line series. If it is already checked, check your data for errors; a single "#VALUE!" or "#DIV/0!" error in your data range can cause the line to break or disappear entirely.

The bars and line are overlapping awkwardly: If you have multiple bar series and a line, Excel might cluster the bars in a way that obscures the line. Try changing the bar chart type to a Stacked Column if the bars represent parts of a whole, or adjust the Gap Width to create more breathing room.

The axes have strange increments: Excel automatically chooses the axis scale, but it isn't always perfect. Right-click the vertical axis (either left or right), select Format Axis, and manually set the Minimum and Maximum bounds. For example, if your percentages only range from 40% to 60%, setting the minimum to 0.3 and maximum to 0.7 will make the line's movement much more apparent.

The chart doesn't update when data changes: Ensure your data is formatted as an Excel Table (Ctrl+T). When you use a Table as the source for your chart, any new rows added to the bottom of the table are automatically included in the graph without needing to manually re-select the range.

Frequently Asked Questions

Can I have two different line graphs over one bar chart?

Yes. In the Combo chart menu, you can set multiple series to Line. However, you must decide which lines share the primary axis and which share the secondary axis. You cannot have three separate axes in a standard Excel chart.

How do I change the colors of the bars and lines separately?

Click once on any bar to select the entire bar series, then use the Fill tool in the Format tab. To change the line, click specifically on the line to select that series and use the Shape Outline or Format Data Series menu to change the color.

Why is my line chart showing as a bar chart even after I changed the settings?

This often happens if you have hidden rows or columns in your data range. Excel sometimes struggles to map the series correctly if the data is fragmented. Ensure all data is visible or use a named range to define your data source clearly.

Can I use a combo chart on Excel for Web or Mobile?

Yes, but the interface differs. On the web version, you can find combo charts under the Insert tab, though the advanced formatting options (like specific gap widths or smoothed lines) are more limited than in the desktop application.

What is the best way to handle data with very different scales?

The only effective way to handle vastly different scales (e.g., millions of dollars vs. a 1-5 star rating) is the Secondary Axis. Without it, the smaller scale data will effectively become a flat line at zero, providing no visual value to the chart.