Add Sparklines (Tiny In-Cell Charts)

Excel Formulas › Charts

2010+Sparklines

A sparkline is a tiny chart that lives inside a single cell — perfect for showing a trend right next to the numbers. Three flavors: line, column, and win/loss.


Quick formula: select the cell for the sparkline, then:
Insert → Sparklines → Line → Data range: B2:M2
Excel draws a miniature line of the 12 values inside the cell. Drag the fill handle to add a sparkline per row.

The example

Monthly sales with a trend sparkline beside each region.

AB
1RegionTrend
2East▁▃▅▇▆█
3West█▆▄▃▁▂

The formula

Sparklines are inserted, not typed — here’s the menu path:

Insert → Sparklines → Line (or Column / Win-Loss) Data Range: B2:M2 Location: N2 // one tiny chart per row

How it works

Sparklines summarize a row of numbers in one cell:

  1. Select where the sparkline should go, then Insert → Sparklines and pick Line, Column, or Win/Loss.
  2. Set the Data Range (the row of values) and the Location (the sparkline cell).
  3. Use the Sparkline ribbon tab to show the high/low points, mark the last point, or set a color.
  4. Drag the fill handle down to give every row its own sparkline from its own data.

Make them comparable: by default each sparkline scales to its own data. On the Sparkline tab, set the vertical axis Min/Max to the same fixed values across the group so trends are visually comparable row to row.

Try it: interactive demo

Live demo

Enter values; see a line sparkline.

Variations

Column sparkline

Bars instead of a line:

Insert → Sparklines → Column

Win/Loss

Up/down blocks for +/− values:

Insert → Sparklines → Win/Loss

Highlight high & low

Sparkline tab → check High Point, Low Point.

Pitfalls & errors

Independent scaling by default. Each sparkline auto-scales, so two that look similar may have very different ranges. Fix the axis Min/Max to compare.

Sparklines aren’t cell values. They’re a layer on top of the cell — you can still type in the cell, and copying the cell carries the sparkline.

2010 or later. Sparklines don’t exist in Excel 2007; the cell shows blank there.

Practice workbook

📊
Download the free Add Sparklines (Tiny In-Cell Charts) practice workbook
A data sheet ready for line/column/win-loss sparklines with instructions, plus 4 challenges with answers. No sign-up required.

Frequently asked questions

How do I add a sparkline in Excel?
Select the target cell, go to Insert → Sparklines, pick Line/Column/Win-Loss, then set the data range and location. Drag down for one per row.
How do I make sparklines comparable across rows?
On the Sparkline ribbon tab, set the vertical axis minimum and maximum to the same fixed values for the whole group, so each uses the same scale.
Why don't my sparklines appear?
Sparklines require Excel 2010 or later. In Excel 2007 the cell stays blank — use a small chart instead.

Stop fighting formulas. Learn them in a day.

This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related formulas: Win/loss sparkline · In-cell data bars · Repeat text as bars