Creating a 2D bar chart in Excel allows you to compare different categories of data visually, making it easier to identify trends, outliers, and performance gaps. To achieve this, you simply need a structured table of data and the Insert menu. By selecting your data range and choosing a 2D Bar or Column chart, Excel automatically maps your labels to the axis and your values to the length of the bars.
What You'll Need
- Microsoft Excel installed on your computer (Windows or macOS).
- A dataset organized in a table format, with labels in one column and corresponding numeric values in another.
Step-by-Step
- Organize Your Data: Ensure your data is arranged in columns. For example, place your categories (e.g., "Month" or "Product Name") in Column A and your values (e.g., "Sales" or "Quantity") in Column B. Make sure there are no completely empty rows or columns within your data range.
- Select the Data Range: Click and drag your mouse to highlight the cells containing the data you want to chart. Include the header row (the titles of your columns) so Excel can automatically label your chart.
- Open the Insert Menu: Click on the Insert tab in the top ribbon. Note that menu labels may differ slightly depending on your version of Excel or region.
- Choose the Chart Type: In the "Charts" group, look for the Insert Column or Bar Chart icon (it looks like three vertical bars). Click the dropdown arrow next to it.
- Select the 2D Bar Option: Under the "2-D Bar" section, choose the specific style you need:
- Clustered Bar: Best for comparing values across categories.
- Stacked Bar: Best for showing the relationship of individual items to the whole.
- 100% Stacked Bar: Best for showing the percentage contribution of each category.
- Position the Chart: Once the chart appears on your worksheet, click and drag the outer border to move it, or drag the corner handles to resize it.
- Add a Chart Title: Click on the default "Chart Title" text box at the top of the graph and type a descriptive name for your data.
- Customize Axis Labels: If the labels are not appearing correctly, click the Chart Design tab (which appears only when the chart is selected), click Add Chart Element > Axis Titles, and select both Primary Horizontal and Primary Vertical.
Common Mistakes
- Including Total Rows: Including a "Grand Total" row in your data selection will result in one bar that is significantly larger than the others, distorting the scale of the rest of the chart. Select only the individual data points.
- Selecting Empty Cells: Selecting large blocks of empty cells around your data can lead to "blank" categories appearing on your axis, making the chart look unfinished.
- Confusing Bar vs. Column Charts: In Excel, "Column Charts" are vertical, while "Bar Charts" are horizontal. If your category names are very long, a 2D Bar (horizontal) chart is usually more readable than a Column chart.
- Overloading Categories: Adding too many categories (e.g., 50 different products) to a single 2D bar chart makes the labels overlap and the bars too thin to read.
Tips
- Sort Your Data: For a more professional look, sort your data table from largest to smallest before creating the chart. This creates a "Pareto" effect where the bars descend in a clean order.
- Change Bar Colors: To highlight a specific bar, click once on any bar to select the whole series, then click a second time on a specific bar to select only that one. Right-click and choose Fill to change its color.
- Adjust Gap Width: To make the bars thicker, right-click any bar and select Format Data Series. In the pane that opens, decrease the "Gap Width" percentage.
- Use Quick Layouts: If you are unsure about the design, use the Quick Layout button under the Chart Design tab to instantly apply professional formatting.
Troubleshooting
If your chart does not look the way you expected, try these steps in order:
- Check Data Types: Ensure your values are formatted as "Number" or "Currency," not "Text." If Excel sees a number as text, it will not plot the bar.
- Switch Row/Column: If Excel plotted your categories as the legend and your values as the axis (the opposite of what you wanted), go to the Chart Design tab and click Switch Row/Column.
- Reset Data Range: Right-click the chart and choose Select Data. Check the "Chart data range" box to ensure it is highlighting only the necessary cells.
- Update Software: If the Insert menu is lagging or buttons are greyed out, ensure your Office suite is updated to the latest version.
Frequently Asked Questions
How do I change the bars from vertical to horizontal?
While they look similar, vertical bars are "Column Charts" and horizontal bars are "Bar Charts." To switch, right-click the chart, select Change Chart Type, and move from the Column section to the Bar section.
Can I add data labels to the end of each bar?
Yes. Select the chart, go to the Chart Design tab, click Add Chart Element, select Data Labels, and choose the position (such as "Outside End").
How do I remove the gridlines from the background?
Click on one of the vertical or horizontal gridlines within the chart area to select them all, then press the Delete key on your keyboard.
What is the difference between a Clustered Bar and a Stacked Bar?
A Clustered Bar places bars for different series side-by-side for direct comparison. A Stacked Bar places them on top of each other to show the total sum of the category.
How do I make the chart update automatically when I change the data?
Excel charts are linked to the cells. If you change a number in the table, the bar will move automatically. To make the chart automatically include new rows you add, convert your data range into an official Excel Table (Ctrl + T) before creating the chart.