To make a horizontal line chart in Excel, select your data, insert a bar chart, then switch the axes so categories appear on the vertical axis and values on the horizontal — this creates a horizontal line-style visualization ideal for comparing values across categories.

What You'll Need

  • Microsoft Excel (Windows or Mac, version 2016 or later recommended)
  • A dataset with at least two columns: one for category labels (e.g., product names, months) and one for numeric values (e.g., sales, scores)
  • Basic familiarity with Excel’s ribbon interface and cell selection

Step-by-Step

  1. Open your Excel workbook and ensure your data is organized in two adjacent columns: the first column contains category labels (text), and the second contains corresponding numeric values. For example, column A has ‘Product A’, ‘Product B’, ‘Product C’ and column B has 120, 95, 180.
  2. Click and drag to select both columns of data, including the header cells if you have them. Do not include blank rows or columns within the selection.
  3. Go to the Insert tab on the Excel ribbon. In the Charts group, click the Insert Bar or Column Chart button.
  4. From the dropdown menu, choose the first option under 2-D Bar: Clustered Bar. Excel will insert a vertical bar chart by default.
  5. With the chart selected, go to the Chart Design tab that appears in the ribbon. Click Switch Row/Column if your categories are incorrectly plotted (e.g., if Excel treated your values as categories). This step ensures your labels are on the vertical axis.
  6. If the chart still shows vertical bars, right-click on the vertical axis (the one with your category labels) and select Format Axis. In the pane that opens, under Axis Options, check the box for Categories in reverse order if you want the top label to appear first — this is optional but often improves readability.
  7. Now, right-click on the horizontal axis (the numeric axis at the bottom) and select Format Axis. Here, you can adjust the minimum, maximum, and major units to better fit your data range. For example, set the minimum to 0 and maximum to slightly above your highest value for consistent scaling.
  8. To enhance clarity, add data labels: click the chart, then click the + button that appears next to it (Chart Elements). Check Data Labels, then click the arrow next to it and choose Inside End or Outside End depending on your preference.
  9. Customize the chart title by clicking on the default “Chart Title” and typing a descriptive label, such as “Monthly Sales Comparison”.
  10. Optional: Remove the legend if it’s redundant (e.g., only one data series). Click the legend and press Delete, or uncheck it in Chart Elements.
  11. Finally, resize the chart by dragging its corners or edges to fit your worksheet neatly. Ensure all labels are fully visible and not cut off.

Common Mistakes

  • Selecting non-adjacent columns or including blank cells in the data range, which causes Excel to misinterpret the dataset.
  • Forgetting to switch rows/columns when the chart initially plots values on the vertical axis instead of categories.
  • Using a column chart instead of a bar chart and not realizing the orientation needs to be changed via axis formatting.
  • Setting the horizontal axis minimum above zero when your data includes values near zero, making small differences appear exaggerated.
  • Leaving data labels inside bars when the bars are short, causing text to overlap or become unreadable.

Tips

  • Use consistent formatting: apply the same font size and color to axis labels and data labels for a professional look.
  • If comparing multiple data series (e.g., actual vs. target), keep the chart as a clustered bar chart and ensure each series is clearly differentiated by color.
  • For long category labels, increase the chart height or enable text wrapping in the axis labels via Format Axis > Alignment > Custom angle or automatic wrapping.
  • Apply a chart style from the Chart Design tab to quickly improve appearance — choose one with subtle gridlines and muted colors for reports.
  • To update the chart automatically when data changes, convert your data range to an Excel Table (Ctrl+T) before creating the chart.

Troubleshooting

  • Chart shows vertical bars instead of horizontal: Confirm you inserted a Bar chart, not a Column chart. If you used Column, switch to Bar via Change Chart Type (right-click chart > Change Chart Type > Bar).
  • Categories are on the bottom axis: You likely have a Column chart. Right-click the chart, choose Change Chart Type, and select a Bar chart type.
  • Axis labels are missing or cut off: Increase the chart size or adjust the font size in Format Axis > Font. You can also enable text wrapping or rotate labels.
  • Data labels overlap or are missing: Try changing label position to Outside End or reduce font size. If values are very close, consider using data labels only for key points.
  • Chart doesn’t update when I edit data: Check if your data is in an Excel Table. If not, manually reselect the data range or convert the range to a Table (Insert > Table).

Frequently Asked Questions

Can I make a horizontal line chart with multiple data series?

Yes, use a clustered bar chart with multiple value columns. Each series will appear as a set of bars side by side for each category, allowing comparison across groups.

How do I make the bars thinner or thicker?

  • Right-click on any bar, choose Format Data Series, and adjust the Gap Width slider under Series Options. Lower gap width = thicker bars; higher = thinner bars.
  • Is there a way to sort the bars from highest to lowest automatically?

    Sort your source data in descending order by the value column before creating the chart. Excel will reflect the order in the chart. For dynamic sorting, use formulas or a PivotTable.

    Can I add a target line to this horizontal bar chart?

    Yes. Add a new data series with a constant value (e.g., 100 for all rows), change its chart type to Line via Change Chart Type, and plot it on the secondary axis if needed.

    Why does my horizontal bar chart show categories in reverse order?

    Excel plots the first category at the bottom by default. To reverse it, right-click the vertical axis, choose Format Axis, and check Categories in reverse order.

    Can I create this chart in Excel for Mac or Excel Online?

    Yes, the steps are nearly identical in Excel for Mac and Excel Online. The interface may differ slightly (e.g., Chart Design tab name or location of buttons), but the core functionality is the same.