Excel course · Lesson 13 of 34
Charts: choosing the right chart, combo charts and sparklines
Pick the right chart for the message, build and format column, line, bar, pie and combo charts with a secondary axis, and add sparklines.
A chart is an argument made with pictures. Before choosing a chart type, decide what the reader should see in three seconds: that sales are growing, that one region is far ahead, or that costs are eating the margin. The right chart makes that message obvious; the wrong one hides it. This lesson covers how to choose, how to build and format the common chart types, combo charts with two axes, and sparklines, the tiny charts that live inside cells.
Which chart for which message
| Message | Best chart | Avoid |
|---|---|---|
| Compare categories (sales by region) | Clustered column, or bar if labels are long | Pie with many slices |
| Trend over time (monthly revenue) | Line, or column for few periods | Bar (time should run left to right) |
| Part of a whole (share of budget) | Pie or doughnut with ≤ 5 slices; stacked bar | 3-D pie |
| Composition over time | Stacked column or stacked area | Many separate pies |
| Relationship between two measures | Scatter (XY) | Line chart with unsorted X values |
| Distribution (exam scores) | Histogram, box & whisker | Column chart of raw values |
| Contributions to a change (profit bridge) | Waterfall | Stacked column with hidden series |
| Two measures on different scales | Combo with secondary axis | Two unrelated charts side by side |
Building a chart in four steps
| A | B | C | |
|---|---|---|---|
| 1 | Month | Revenue | Margin % |
| 2 | Jan | 42000 | 0.31 |
| 3 | Feb | 45500 | 0.29 |
| 4 | Mar | 51200 | 0.33 |
| 5 | Apr | 48900 | 0.3 |
| 6 | May | 56300 | 0.34 |
| 7 | Jun | 60100 | 0.35 |
Six months of revenue and gross margin (column C formatted as %).
- Select the data including headers,
A1:B7. Excel uses the first column as category labels and the header as the series name. - Choose Insert › Charts › Insert Column or Bar Chart › Clustered Column. Or press
Alt+F1(Windows) to insert the default chart on the sheet, orF11to put it on its own chart sheet. - Use Insert › Recommended Charts if you are unsure; Excel previews suitable types for your data.
- Drag the chart to position it, and drag a corner handle to resize. Hold
Altwhile dragging to snap the chart to the cell grid.
Chart elements and formatting
Click the chart and three buttons appear at its top-right corner on Windows: Chart Elements (+), Chart Styles (brush) and Chart Filters (funnel). On Mac use Chart Design › Add Chart Element.
- Chart title: click it and type, or link it to a cell: select the title, type
=in the formula bar, click a cell, press Enter. The title then updates with the cell. - Axis titles: add when the unit is not obvious ("EUR thousands").
- Data labels: show values on the bars. Useful for few bars; clutter for many.
- Legend: delete it when there is only one series; the title explains it.
- Gridlines: keep them light grey or remove them.
- Double-click any element (or select it and press
Ctrl+1) to open the Format pane with all its options, such as gap width for columns or the axis minimum.
Changing data and type
- Chart Design › Data › Select Data adds, removes or reorders series and changes the category labels.
- Chart Design › Data › Switch Row/Column swaps what is on the axis and what is in the legend.
- Chart Design › Type › Change Chart Type switches type without rebuilding.
- If the source data is an Excel table, new rows appear in the chart automatically (Excel tables and structured references).
Combo charts and the secondary axis
Revenue is in tens of thousands and margin is a percentage around 30%. On the same axis the margin line would be flat along the bottom. A combo chart draws revenue as columns on the left axis and margin as a line on a right-hand secondary axis.
- Select
A1:C7. - Choose Insert › Charts › Insert Combo Chart › Create Custom Combo Chart (in Excel 2016+ the combo icon is in the Charts group).
- For Revenue choose Clustered Column. For Margin % choose Line with Markers and tick Secondary Axis.
- Click OK. Format the secondary axis (double-click it) with Number › Percentage, 0 decimals, and set its bounds, for example 0% to 40%.
- Add axis titles so readers know which axis belongs to which series.
The chart now shows revenue rising from 42,000 to 60,100 while the margin moves between 29% and 35%. Total revenue over the half-year is 304,000.
Sparklines: charts inside cells
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Rep | Jan | Feb | Mar | Apr | Trend |
| 2 | Anna | 18 | 21 | 19 | 25 | |
| 3 | Bruno | 22 | 20 | 17 | 15 | |
| 4 | Chen | 14 | 16 | 18 | 21 |
Monthly deals per rep. Column F will hold sparklines.
- Select
F2:F4, where the sparklines will go. - Choose Insert › Sparklines › Line (or Column, or Win/Loss).
- In Data Range enter
B2:E4and click OK. - On the Sparkline tab tick High Point and Low Point to mark the best and worst month, and choose a colour.
- Bruno's sparkline slopes down, Anna's zig-zags upward, Chen's climbs steadily: visible at a glance.
Sparklines in a group share settings. By default each sparkline has its own vertical scale, which makes a small rise look as steep as a big one. Use Sparkline › Group › Axis › Same for All Sparklines (both minimum and maximum) to compare reps fairly. Sparklines are available since Excel 2010 on Windows and Excel 2011 on Mac.
Templates and copying formats
- Right-click a finished chart and choose Save as Template (Windows) to reuse your formatting; use it under Insert › Recommended Charts › All Charts › Templates.
- To copy formatting from one chart to another, copy the first chart, select the second, and use Home › Paste › Paste Special › Formats.
- Hidden rows and empty cells: by default charts skip hidden data. Change this in Select Data › Hidden and Empty Cells.
Design principles that work
- One message per chart, stated in the title: "Revenue up 43% since January" beats "Revenue".
- Sort bars by value unless the categories have a natural order (months, age groups).
- Use one highlight colour for the point you want noticed and grey for the rest.
- Remove 3-D effects, shadows and heavy borders. They add ink but no information.
- Label lines directly at their end instead of using a distant legend when there are only a few series.
Check yourself
1. Which chart best shows monthly revenue over two years?
Trends over time read naturally as a line from left to right.
2. Revenue is in thousands and margin in percent. How do you show both in one chart?
A secondary axis gives the percentage its own scale.
3. Why set sparkline axes to 'Same for All Sparklines'?
Otherwise each sparkline is scaled to its own min and max.
4. What is the risk of a column chart whose axis starts at 40,000 instead of 0?
Bar length should be proportional to the value; a truncated axis breaks that.
5. How do you make a chart title update from a cell?
A linked title shows the cell's current text.