Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Cluster Graph in Excel: Step-by-Step How-To

· 8 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

A cluster graph (usually a clustered bar or column chart) groups related data series side by side within shared categories so you can compare them directly. To build one in Excel, arrange your data so categories sit in one column and each series sits in its own column beside it, select the whole range including the header row, then go to Insert > Charts and choose Clustered Column or Clustered Bar. Excel places each series next to the others inside every category, which makes side-by-side comparison possible at a glance. The steps below cover desktop Excel for Windows and Mac; the mobile apps offer a reduced chart editor, so use a computer for full control of a cluster chart, and note that menu labels can differ slightly between versions and regions.

What You'll Need

  • Excel for Windows, Mac, or Excel for the web (desktop gives you the most formatting options).
  • Data laid out in a simple table: one column of category labels, one column per series, and a single header row.
  • Clean values: numbers stored as true numbers, no merged cells, no stray totals or blank label rows inside the range.
  • Time to decide whether a clustered column or clustered bar best suits your labels (long labels read better on horizontal bars).

Step-by-Step

  1. Lay out the data correctly. Put your category names down column A (for example, quarters, products or regions). Put each series you want to compare in its own column to the right, with one header cell naming it (for example, "2025 Sales" and "2026 Sales"). Do not put the categories across the top row as well as down the side. One header row, no merged cells, no blank columns between series.
  2. Check the data types. Click a few value cells and look at the number format box on the Home tab. If numbers appear left-aligned or show a green warning triangle in the corner, they may be stored as text. Select the column, then use Data > Text to Columns and click Finish to convert them, or retype the values without stray spaces or apostrophes. Text numbers plot as zero and will ruin the chart.
  3. Select the full range including headers. Click the top-left header cell of your table and drag to the bottom-right value cell. If you use Ctrl+A inside the table (Cmd+A on Mac), Excel picks up the whole contiguous block. Confirm the selection does not include a title row that spans merged cells, a blank row, or a totals row, since these become extra categories or series.
  4. Insert a clustered chart. Go to the Insert tab and, in the Charts group, click the column chart icon, then choose the first option in the 2-D Column section (Clustered Column). For horizontal bars, click the bar chart icon and choose Clustered Bar. The exact gallery layout varies by version, but the clustered options always sit at the top left of their groups.
  5. Verify Excel grouped the series correctly. Look at the chart: each category on the horizontal axis should contain one bar per series, side by side, with a legend naming them. If Excel instead put a single bar per category, it likely treated your series as categories. Right-click the chart and choose Select Data, then check that category labels are in the left-hand box and the series names are in the second box. Use the Add, Edit and Remove buttons on that dialog to fix the mapping, and use Switch Row/Column there if the orientation is reversed.
  6. Add and style axis titles. With the chart selected, click the plus icon next to it (Chart Elements). Tick Axis Titles and type clear names into the text boxes that appear. Tick Legend if it is missing. The plus icon replaces the older Layout tab in recent versions, so if you do not see it, look for Chart Design > Add Chart Element.
  7. Adjust spacing between the clustered bars. Right-click any bar and choose Format Data Series. In the side pane, adjust the Gap Width slider to control the space between category groups; lower Gap Width in the Series Overlap slider to make the bars within a cluster touch if you prefer. On a clustered chart, Series Overlap should normally be 0 percent or lower, not positive, or bars will hide one another.
  8. Sort or tidy categories if needed. To reorder, sort the source table itself rather than fighting the chart. Select the table, use Data > Sort, and sort by a value column. The chart updates automatically because it points at the range.
  9. Label the values if the numbers matter more than the axes. Select the chart, click the plus icon, tick Data Labels and choose Outside End for columns or bars. Keep labels off when there are many series, since overlapping numbers make the chart harder to read.
  10. Move the chart into a report and lock the range. Drag the chart onto its own sheet, or right-click it and choose Move Chart > New sheet for a full-page view. To give the chart room to grow, convert your source table to a proper table first (select it and use Insert > Table). Charts built on a real table expand as rows are added, whereas charts built on a plain range do not.

Common Mistakes

  • Using the wrong chart type. A "clustered" chart is not the same as a stacked chart. Stacked charts add values on top of one another, which makes comparison between series hard. If the option you picked shows bars stacked vertically rather than side by side, you chose Stacked Column, not Clustered Column.
  • Including totals in the data range. A totals row or column dwarfs every series and flattens the chart into one huge bar. Exclude summary rows from the selection.
  • Numbers stored as text. Blank bars where you expected values almost always mean text-formatted numbers. Convert them before charting.
  • Transposed data. Categories down the side and series across the top is correct; mixing the two gives you the wrong grouping. If it looks wrong, use Select Data > Switch Row/Column rather than rebuilding.
  • Too many series. More than about five or six series in a cluster makes the bars thin and the legend hard to follow. Consider a line chart for trends over time, or split into two charts.
  • Overlapping bars from a positive Series Overlap. This hides data silently. Set Series Overlap back to 0 percent.

Tips

  • Use contrasting colours within a cluster so each series is easy to tell apart. Click a series once, then format just that series rather than the whole chart.
  • For long category names, choose Clustered Bar instead of Clustered Column so the labels fit horizontally.
  • Keep the number of categories manageable. Beyond roughly a dozen groups in one chart, readers stop comparing and start skimming.
  • Copy the chart with Ctrl+C and paste with Ctrl+V onto a PowerPoint slide; it keeps its links so you can edit the data later.
  • Press F11 after selecting the data to create a chart on its own sheet instantly, then change the type from Chart Design > Change Chart Type.
  • Freeze the source table on a separate sheet so the chart, and the data behind it, stay organised in one workbook.

Troubleshooting

The chart shows one bar per category. Open Select Data and confirm your categories are in the left box and each series is listed in the second box. If only one entry appears in the series list, your selection missed the header row or spans a gap. Reselect the full block and rebuild.

Bars are missing or zero. Check for text-formatted numbers, hidden rows or cells with formulas returning text. Hidden rows are excluded from charts by default, so unhide them or right-click the chart and choose Select Data > Hidden and Empty Cells to control the behaviour.

The chart did not update after edits. Confirm the chart's range still covers the rows you changed. If the table grew beyond the original selection, use Select Data and drag the range handles down, or convert the source to a table so it expands automatically.

Bars overlap or sit on top of each other. In Format Data Series, set Series Overlap to 0 percent and adjust Gap Width. If you accidentally chose a stacked subtype, change the chart type back to clustered.

The legend is wrong or names show as "Series1". The header row was not included. Either retype the legend entries via Select Data > Edit, or reselect the range with the header row ticked.

Axis labels are cut off or cramped. Widen the chart, reduce the font size on the axis, or switch to horizontal bars. Rotating labels helps a little but horizontal bars usually solve it outright.

Excel crashes or the chart renders oddly. Save your work, close and reopen the workbook, update Excel to the latest version, and if it persists, copy your data into a fresh workbook and rebuild the chart there.

Frequently Asked Questions

What is the difference between a clustered chart and a stacked chart?

Clustered charts place each series beside the others within a category so you compare them directly. Stacked charts pile the series on top of one another so the total length shows a combined figure. Use clustered for comparison, stacked for composition.

Can I cluster my categories into groups on the axis?

Excel has a multi-level category axis, which appears when your selected data includes more than one label column on the left. Excel then groups the smaller labels under the larger ones, which gives a grouped look without changing anything else.

Why does my column chart show the series as categories?

Excel guesses the layout from the shape of your data. When it guesses wrong, right-click the chart, choose Select Data, and use Switch Row/Column to swap which part of the range acts as categories and which as series.

Can I build a clustered chart in the Excel mobile app?

The mobile apps can insert basic charts from a selected range, but the chart editing options are much reduced. For axis controls, overlap and gap settings, and full Select Data control, use Excel on a computer or Excel for the web.

How many series should a cluster chart hold?

As a practical guide, keep it to about five or six series and a manageable number of categories. Beyond that the bars become too thin to compare and the legend gets hard to track.

Does the chart update when I add rows?

Only if the chart's range already covers them or the source is an Excel table. Charts based on a fixed range do not expand by themselves; either extend the range in Select Data or convert the source to a table first.