Sub topic 5
Building a Column Chart
A column chart compares values across categories using vertical bars. This chapter walks through building one from a selected range, then covers the variants, the edge cases, and the most common mistakes.
Prerequisites
This chapter assumes you can:
- Navigate workbooks, worksheets, cells, and ranges.
- Use the ribbon and its tabs.
- Recognize series, categories, and values (covered in the earlier chapters on layout and series).
What a column chart encodes
Each category sits at a position on the horizontal axis. The height of its column shows the value. Because readers compare heights against a shared baseline, column charts are accurate for comparing a handful to a few dozen categories.
Use a column chart when:
- You compare values across discrete categories, such as regions, products, or quarters.
- Category labels are short enough to read under each column.
- The value axis can start at zero.
The source data
The examples use this range in A1:B5. Region is the category column and Sales is the value column.
Region Sales
North 120
South 95
East 140
West 80The header in B1 becomes the series name. The labels in A2:A5 become the categories. The numbers in B2:B5 become the values. Excel can only infer this correctly if A1 is either blank or text and the data has no blank rows or columns inside it.
Building the chart in the interface
- Click any cell inside A1:B5. Excel usually detects the whole contiguous block. To be explicit, drag from A1 to B5.
- Open the Insert tab.
- In the Charts group, click Insert Column or Bar Chart.
- Under 2-D Column, choose Clustered Column.
The chart appears on the active sheet with the series name as a default title. Click the chart to show the Chart Design and Format tabs. These appear only while a chart is selected.
Column chart subtypes
Excel offers three 2-D column subtypes. They answer different questions.
| Subtype | How it draws values | Best for | Main risk |
|---|---|---|---|
| Clustered Column | One column per series, side by side within each category | Comparing series within a category | Gets crowded with many series |
| Stacked Column | Series stacked into one column per category | Showing totals and their composition | Only the bottom segment shares a baseline, so upper segments are hard to compare |
| 100% Stacked Column | Each column scaled to 100% | Comparing proportions across categories | Hides the absolute totals |
With a single series, as in the example, clustered is the right choice. Stacked variants need at least two series to mean anything.
You can switch subtype at any time. Select the chart, then choose Chart Design > Change Chart Type.
Multiple series
Add a second value column and Excel draws two columns per category.
Region 2025 2026
North 110 120
South 100 95
East 125 140
West 85 80Here the year headers are text-like labels. Excel treats a header that looks like a number carefully. If it sees numbers in the top row and no clear label in A1, it can plot the years as a data series rather than as series names. Two safeguards help:
- Leave A1 filled with a text label, such as "Region".
- Enter the year headers as text by typing an apostrophe first, for example
'2025.
If the chart still plots the wrong thing, fix it through Select Data, covered in a later chapter.
Switching rows and columns
Excel decides which direction holds the series. With more rows than columns, it usually treats columns as series. If your chart groups the wrong way, select it and choose Chart Design > Switch Row/Column.
flowchart TD
A[Selected range] --> B{More rows than columns?}
B -- Yes --> C[Columns become series]
B -- No --> D[Rows become series]
C --> E[Switch Row/Column reverses the choice]
D --> EThe block above is a simplification of Excel's behavior, so always check the result visually.
Gap width and overlap
Two settings control how columns look. Both are in the Format Data Series pane, which you open by double-clicking a column.
- Gap Width sets the space between category groups, from 0% to 500%. The default is 219% for 2-D clustered columns. A value around 50% to 100% makes columns look more substantial.
- Series Overlap sets how much columns of different series overlap, from -100% to 100%. A value of 0 places them side by side. A value of 100 draws them on top of each other, which is how stacked charts look.
Overlap only matters with two or more series. On a single series it has no visible effect.
The zero baseline
Column charts encode value as height, so the axis should start at zero. If the axis starts at, say, 70, the West column (80) looks tiny next to East (140), and the ratio shown on screen no longer matches the ratio in the data.
Excel sometimes picks a non-zero minimum automatically when all values are large and close together. To fix this:
- Double-click the vertical axis.
- In Axis Options, set Minimum to
0.
For a line chart, a non-zero baseline is often acceptable, but not for columns.
Sorting for readability
Categories appear in worksheet order. If the categories have no natural order, sort the source data by value, largest first. The chart then reads left to right as a ranking. Keep the natural order for categories that have one, such as months or age bands.
Negative values and blanks
- Negative values draw below the horizontal axis. The category labels may then overlap the columns. Select the horizontal axis, open Labels, and set Label Position to Low.
- Empty cells leave a gap. A column with no value is not drawn.
- Zeros draw a column of zero height, which shows as nothing but still occupies the slot.
- Text in a value cell is plotted as zero. Check for numbers stored as text, which Excel flags with a small green triangle.
Building the same chart with VBA
The macro below creates the clustered column chart from A1:B5 and sets a title. It uses the object model: a ChartObject is the container on the sheet, and its Chart property holds the chart itself.
Sub CreateColumnChart()
Dim co As ChartObject
Set co = ActiveSheet.ChartObjects.Add(Left:=100, Top:=50, Width:=400, Height:=250)
With co.Chart
.SetSourceData Source:=ActiveSheet.Range("A1:B5")
.ChartType = xlColumnClustered
.HasTitle = True
.ChartTitle.Text = "Sales by Region"
End With
End SubLeft, Top, Width, and Height are in points. Running the macro twice creates two charts stacked on top of each other, so delete the first or name the object and check for it before adding another.
Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
| A numeric column appears as a second series or as categories | Excel could not tell the category column from the values | Make the header cell above the categories text, or correct it in Select Data |
| Series and categories are swapped | Excel guessed the wrong direction | Chart Design > Switch Row/Column |
| Columns look nearly equal in height | Axis minimum is not zero | Set the axis minimum to 0 |
| A category is missing | Blank row inside the range | Remove the blank row, or extend the source range |
| Labels overlap negative columns | Labels sit at the axis | Set Label Position to Low |
| Columns are very thin | Gap Width is too high | Lower Gap Width to 50% to 100% |
Summary of the workflow
- Lay out the data with one header row and one category column.
- Select the range and insert a clustered column chart.
- Confirm the series and categories are what you intended.
- Set the value axis minimum to zero.
- Adjust gap width and sort order for readability.
Exercise
A chart built from a range whose first column holds the years 2023, 2024, and 2025, with sales in the second column, shows two columns per category instead of one. What is the most likely cause, and how do you fix it?
Show answer
Excel treated the year column as a numeric data series because the cells hold numbers, so it plotted both columns as series. Fix it by making the header above the years text (or blank) and storing the years as text, or by opening Select Data and moving the years into the Horizontal (Category) Axis Labels box so that only the sales column remains as a series.
Exercise
You build a clustered column chart of four values: 980, 1000, 1010, and 990. The columns look dramatically different in height. Why, and what do you change?
Show answer
Excel chose an automatic axis minimum close to the data, so small differences look large. Double-click the vertical axis and set Minimum to 0 so column height is proportional to value.