Sub topic 3
Series, categories, and values
This chapter assumes you can select ranges and insert a chart from the ribbon. It also assumes your data has a header row, as laid out in the previous chapter. Here you will learn how Excel splits a range into the three parts every chart uses, and how to fix it when it splits the range wrongly.
The three parts of a chart's data
- A series is one set of related values, such as sales for one year. It appears as one set of columns, one line, or one pie.
- Categories are the labels that name each point in a series, such as region names. They run along the category axis.
- Values are the numbers Excel measures and draws.
Take this range:
Region Sales
North 120
South 95
East 140
West 80Excel reads it like this:
| Part | Source cells | Role |
|---|---|---|
| Series name | B1 | "Sales" appears in the legend |
| Categories | A2:A5 | North, South, East, West |
| Values | B2:B5 | 120, 95, 140, 80 |
How Excel decides
When you select a range and insert a chart, Excel applies these rules:
- Text in the first column becomes categories.
- Text in the first row becomes series names.
- Numeric cells become values.
- If the range has more rows than columns, each column becomes a series. Otherwise, each row becomes a series.
With more than one value column, each column becomes its own series:
Region 2024 2025
North 120 135
South 95 110
East 140 128
West 80 92Excel draws two series, 2024 and 2025, across four regional categories. In a column chart, you see two columns per region.
Switching rows and columns
If Excel groups the data the wrong way, select the chart and choose Chart Design > Switch Row/Column. The series become the categories, and the categories become the series. In the table above, the result would be four series (one per region) across two categories (the years). Use this when the legend shows what you wanted on the axis.
Seeing the structure: the SERIES formula
Click any series in the chart. The formula bar shows a formula in this form:
=SERIES(Sheet1!$B$1,Sheet1!$A$2:$A$5,Sheet1!$B$2:$B$5,1)The four arguments are the series name, the category range, the value range, and the plot order. This formula is what Excel actually stores. Editing it changes the chart directly.
Common errors
- Years plotted as a series. If the first column holds numbers such as 2024 and 2025, Excel treats it as values, not categories. Fix it in Select Data by moving the numbers into the category labels, or by storing the years as text.
- Blank top-left cell. A blank corner cell in a range with headers usually helps Excel detect both header row and header column. Filling it with text can change the detection.
- Totals included in the selection. A Total row becomes one more category and distorts the scale. Select only the rows you want to plot.
- Mixed units in one range. Sales in dollars and a percentage column share one axis, so the smaller values look flat. The combination chart chapter covers this case.
Exercise
A range has the headers Month, Revenue, and Costs in row 1, and 12 months of data below. You select A1:C13 and insert a column chart. How many series does the chart have, and what are the categories?
Show answer
There are two series, Revenue and Costs, with names taken from B1 and C1. The categories are the 12 month labels in A2:A13, and the values are the numbers in columns B and C.