To create a horizontal bar chart in Excel, highlight your data, go to the Insert tab, click the Insert Column or Bar Chart icon, and select Clustered Bar. This type of visualization is ideal for comparing categories, especially when your category labels are long and would be difficult to read on a vertical axis.
What You'll Need
- Microsoft Excel (any modern version)
- A dataset consisting of at least two columns: one for labels (text) and one for values (numbers)
- Clean data with no empty rows or columns within the selection range
Step-by-Step
- Organize Your Data: Arrange your data in a simple table. Place your category names (e.g., "Product Names" or "Employee Names") in the left column and the corresponding numeric values (e.g., "Sales" or "Hours") in the right column. Ensure there are clear headers at the top of each column.
- Select the Data Range: Click and drag your mouse to highlight the cells containing the data you want to chart, including the column headers. For example, if your data is in cells A1 to B10, highlight that entire range.
- Open the Insert Menu: Click on the Insert tab located in the top ribbon. (Note: Menu labels and icons may vary slightly depending on your version of Excel or operating system).
- Choose the Bar Chart: In the Charts group, look for the icon that looks like a vertical bar chart (Insert Column or Bar Chart). Click the dropdown arrow next to it.
- Select Clustered Bar: Under the 2-D Bar section, click the first option, which is the Clustered Bar. This will immediately generate a horizontal chart on your worksheet.
- Add a Chart Title: Click on the default "Chart Title" text box at the top of the chart and type a descriptive name for your data.
- Adjust the Axis Labels: If the labels on the left (the Y-axis) are cut off or too small, click the edge of the chart area to expand the entire chart size by dragging the corner handles.
- Apply a Style: With the chart selected, a Chart Design tab will appear in the ribbon. You can choose from various pre-set styles and color schemes to make the chart more visually appealing.
Common Mistakes
- Including Total Rows: Including a "Grand Total" row in your data selection will create one massive bar that dwarfs all other data points, making the rest of the chart impossible to read. Always exclude totals from your selection.
- Selecting Empty Cells: Including blank rows or columns in your selection can result in gaps in the chart or "Series 1" labels that don't correspond to any data.
- Confusing Column and Bar Charts: In Excel terminology, a "Column Chart" is vertical and a "Bar Chart" is horizontal. If your chart is standing up, you have selected a Column chart by mistake.
- Overcrowding the Chart: Trying to plot 50 different categories in one horizontal chart makes the labels illegible. If you have too many categories, consider filtering the data or splitting it into two charts.
Tips
- Sort Your Data: For a more professional look, sort your data in the spreadsheet from largest to smallest (or vice versa) before creating the chart. This creates a "Pareto" effect where the bars descend in a clean slope.
- Remove Gridlines: To create a cleaner, more modern look, click on the vertical gridlines within the chart and press the Delete key.
- Data Labels: Instead of forcing the reader to look at the axis at the bottom, right-click on any bar and select Add Data Labels. This places the exact number at the end of each bar.
- Gap Width: To make the bars thicker, right-click a bar, select Format Data Series, and decrease the Gap Width percentage in the panel that appears on the right.
Troubleshooting
If the chart does not look the way you expected, try these steps in order:
- Bars are vertical instead of horizontal: You selected a Column chart. Go to Chart Design > Change Chart Type and select Bar.
- The categories are in the wrong place: If Excel put your numbers on the axis and your labels in the legend, go to the Chart Design tab and click Switch Row/Column.
- Labels are missing or incorrect: Right-click the chart, choose Select Data, and look at the Horizontal (Category) Axis Labels section on the right. Click Edit and re-select the range of cells containing your text labels.
- Chart is blank: Ensure your "numbers" are actually formatted as numbers and not as text. If there is a small green triangle in the corner of your data cells, Excel thinks they are text; highlight them and convert them to numbers using the warning icon that appears.
Frequently Asked Questions
Why should I use a bar chart instead of a column chart?
Horizontal bar charts are superior when you have long category names. In a vertical column chart, long labels often overlap or are tilted at an angle, making them hard to read. Horizontal bars provide ample room for text on the left side.
Can I change the color of a single bar to make it stand out?
Yes. Click once on the bar to select the whole series, then click a second time on the specific bar you want to change. Right-click that bar and use the Fill tool to choose a different color.
How do I reverse the order of the bars?
Excel often plots data from the bottom up. To fix this, right-click the category axis (the labels on the left), select Format Axis, and check the box that says Categories in reverse order.
Can I add a second set of data to the same bar chart?
Yes. Right-click the chart and choose Select Data. Click Add under the Legend Entries (Series) section, name the new series, and select the range of values for the second set of data.
How do I move the chart to a different sheet?
Right-click the chart area and select Move Chart. You can then choose New sheet and give it a name, which will expand the chart to fill an entire dedicated tab.