To add a bar chart in Excel for Microsoft 365 on Windows, select the category labels and numeric values, then choose Insert > Insert Column or Bar Chart > 2-D Bar > Clustered Bar. Excel inserts a chart with horizontal bars; you can then add a title, labels, or a different bar-chart style from the chart tabs.
What a Bar Chart Shows
A bar chart compares values across categories using horizontal bars. The length of each bar represents its value, so readers can compare categories quickly. For example, a store could chart monthly sales by product, or a school could compare enrollment across grade levels. Bar charts are especially useful when category names are long, because the labels can run down the left side instead of being squeezed under vertical columns.
Excel distinguishes a bar chart from a column chart by orientation: bars are horizontal, while columns are vertical. Both can display the same kind of categorical data, and the choice is usually about readability. A bar chart often works better for many categories or lengthy names. A column chart can be a natural choice for a short sequence of time periods, such as four quarters, because people commonly read time from left to right along the bottom axis.
Prepare the Data Before Inserting the Chart
Arrange the worksheet as a simple table, with category names in one column and the values to compare in the next. Put a descriptive heading above each column. For instance, cells A1:B5 might contain Product and Units Sold as headings, followed by four product names and their sales totals. Select the headings and all four rows of data when creating the chart; Excel can use the headings as the series name and chart context.
Keep the table free of blank rows or columns inside the selected range. Make sure the values are numeric rather than text that only looks like a number. If you want to compare more than one measure, add another value column with its own heading, such as Units Sold and Returns. Each value column becomes a separate data series, while the first column supplies the category labels.
- Use one row per category, such as one product, department, or month.
- Use clear, concise column headings so the chart’s legend and labels are meaningful.
- Avoid combining several unrelated measures on one chart; units such as dollars and percentages are not directly comparable.
- For a chart with a single series, do not include a totals row unless you genuinely want the total to appear as another category.
Insert a Bar Chart Step by Step
- Select the complete data range, including its headings. In the product example, select A1:B5.
- Open the Insert tab on the ribbon.
- Choose Insert Column or Bar Chart in the Charts area.
- Under 2-D Bar, choose Clustered Bar for a straightforward comparison.
- Click the chart title to replace it with a specific description, such as Units Sold by Product.
The chart appears on the worksheet and remains linked to the selected cells. If you change a value in the source table, Excel updates the chart. To reposition it, drag the chart’s border; to resize it, drag a corner handle. To place it on a separate chart sheet, select the chart and use Chart Design > Move Chart. The exact appearance of ribbon groups can vary with window size, but the chart type is available from the Insert tab.
Another quick Windows method is to select the data and press Alt+F1, which inserts a chart on the current worksheet using Excel’s default chart type. That shortcut may produce a column chart rather than the horizontal bar chart you want, so use the Insert menu when the orientation matters. On Mac, use the Insert tab’s chart controls; ribbon layout and shortcut availability can differ by Excel release. Excel for the web also offers chart insertion from the Insert tab, though some formatting and chart-management controls can be more limited than in the desktop app.
Choose the Right Bar-Chart Style
Clustered Bar is the usual starting point when the goal is to compare one value per category, or to place multiple series side by side for each category. If a sales table has one row per region and separate columns for two years, a clustered chart shows the two year bars next to each other in each region. This makes comparisons between series visible, although too many series can make the chart crowded.
Stacked Bar places series segments end to end. It emphasizes the total for each category while showing how each series contributes to that total. Use it when the parts add up to a meaningful whole, such as product sales by region within each month. The 100% Stacked Bar option scales every category to 100%, making proportions easier to compare even when category totals differ. It hides differences in the overall totals, however, so it is not the right choice when absolute size matters.
Excel also offers 3-D bar-chart options, but the visual depth can make lengths harder to judge. For accurate comparisons, a 2-D chart is generally easier to read. A chart with a single series rarely needs a legend; the category labels and a clear title usually explain what the bars represent.
Format the Chart for Easy Reading
Select the chart to show the contextual Chart Design and Format tabs. Use Chart Design > Add Chart Element to add or adjust chart components such as axis titles, data labels, and gridlines. The Chart Elements button, shown as a plus sign beside a selected chart in many desktop versions, is another way to control common elements. The available controls may vary slightly across Windows, Mac, and web versions.
A useful chart title says what is being compared, and an axis title can clarify units when the values are not self-explanatory. Data labels put values beside the bars, which can help when readers need exact figures. But labels on every bar can clutter a chart with many categories. Consider using them for a small set of values or when the precise number matters more than visual simplicity.
Formatting should support the comparison, not compete with it. Use a restrained color palette, keep the category text legible, and avoid unnecessary background effects. If a zero baseline is appropriate for the measure, do not distort the visual impression by choosing an axis scale that exaggerates small differences. For ordinary counts or amounts, a value axis beginning at zero makes bar lengths correspond honestly to the values.
Sort Categories and Control Bar Order
Bar charts are often easiest to scan when categories are arranged from largest to smallest or smallest to largest. To do this, sort the source table by the value column using Data > Sort, making sure the entire table is sorted together so labels remain matched to their values. Sorting the table also changes the chart’s order. If the categories are months or another meaningful sequence, preserve that natural order rather than sorting by value.
Excel’s category axis may display the first source item at the bottom, which can seem opposite to the expected top-to-bottom order. To change the display, right-click the category axis, choose Format Axis, and use the axis option for Categories in reverse order. The exact label may vary slightly between releases. Reversing the chart’s category display can also affect where the value axis crosses, so check that the axis labels remain in a sensible place afterward. This changes the chart display, not the underlying order of rows in the worksheet.
Fix Common Bar-Chart Problems
If Excel creates one bar instead of several, or treats category names as series, it may have interpreted the selected range in the wrong direction. Select the chart and choose Chart Design > Switch Row/Column. This tells Excel to use rows rather than columns as series, or the other way around. For a simple two-column table, the first column should normally be categories and the second should be the values.
If categories or values are missing, select the chart and choose Chart Design > Select Data to inspect the chart’s data range and series. Confirm that the range includes all intended rows and that the category-label range lines up with the values. A blank cell may create a gap, and text stored in a value column may not plot as expected. Check the source cells before changing chart formatting.
If labels are cut off, widen the chart or worksheet area, reduce the font size modestly, or shorten the category names in the source data while preserving their meaning. If bars are too thin or categories overlap, try making the chart taller or reducing the number of categories shown. For a very long list, a chart of the most relevant categories may communicate more than one crowded chart; keep the full data table available for readers who need every value.
Frequently Asked Questions
How do I add data labels to a bar chart in Excel?
Select the chart, then choose Chart Design > Add Chart Element > Data Labels and select a label position. You can also select the chart and use the plus-sign Chart Elements control where it is available. If the chart has many bars, check that the labels do not overlap.
How do I make a bar chart horizontal instead of vertical?
Choose a Bar chart rather than a Column chart from Insert > Insert Column or Bar Chart. If you already inserted a column chart, select it and change its type through Chart Design > Change Chart Type, then choose a 2-D Bar option.
Can I make a bar chart from non-adjacent columns?
Yes. Select the first range, then hold Ctrl on Windows while selecting another range. On Mac, use Command while selecting ranges. This can work for separated labels and values, but the ranges must have matching numbers of rows. If the selection is awkward, copy the needed columns into a compact helper table and chart that table instead.
How do I show the largest bar at the top?
Sort the source data by its values in descending order, then inspect the chart’s category order. If the largest category appears at the bottom, right-click the category axis, choose Format Axis, and toggle Categories in reverse order. The axis setting changes display order without reordering the worksheet.
Does an Excel bar chart update when the data changes?
Yes. A chart linked to its source cells updates when those cell values change. If you add rows outside the chart’s current data range, Excel may not include them automatically; use Chart Design > Select Data to expand the range, or format the source as a table before building a chart so added table rows can be incorporated more conveniently.
Related
- Change Date Format to Text in Excel: 3 Reliable Ways
- Excel UK Date Format: How to Change Dates Correctly
- Change Date Format in Excel to DD/MM/YYYY
Try it: the Percentage Formula Generator: percent of, percent change, increase and decrease, with the formula.
More in Charts & pivot tables
- Excel Mini Chart in Cell: Add and Format SparklinesIn Excel, a mini chart displayed in a worksheet cell is called a sparkline. In Excel for Microsoft…
- Pivot Charter School in Riverview, FL: What to KnowYes. Pivot Charter School, also known as Pivot Charter School of Tampa Bay, is a tuition-free public charter…
- Pivot Chart Secondary Axis: How to Add and Format OneYes. In Excel for Microsoft 365 on Windows, select the PivotChart series you want to rescale, open Format…
- Google Sheets Chart Sort by Value: How to Control OrderGoogle Sheets charts do not generally have a separate control for sorting categories by a series’ values: the…
- Gantt Chart for Google Sheets: Setup, Uses, and LimitsYes. You can make a Gantt chart in Google Sheets by putting tasks and dates in a table,…
- Excel Chart: How to Add, Move, and Customize a LegendTo add a legend in Excel for Microsoft 365 on Windows, select the chart, then choose Chart Design…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.