How to add sparklines in Excel (mini charts in a cell)

Updated · DeskHowTo

In Excel for Microsoft 365 / Excel 2021–2024 (verified 2026-10-24), select the cell where the mini chart should appear, open Insert > Sparklines, choose Line, Column or Win/Loss, pick the data range, and click OK.

Use the Sparkline contextual tab to show markers, set colours and group related sparklines so they share a scale.

Jump to

Applies to Excel for Microsoft 365, Excel 2021/2024 and Excel for Mac. Excel for the web has limited sparkline support. Google Sheets uses the SPARKLINE function instead.

Insert and style sparklines

Create a sparkline

  1. Click the empty cell beside your row of numbers.
  2. Insert > Sparklines > Line (or Column / Win/Loss).
  3. Select the data range for that row > OK.

Fill down a column

  1. Select the sparkline cell and drag the fill handle down.
  2. Each row should point at its own data range.
  3. If ranges shift wrong, edit Sparkline > Edit Data.

Style and clear

  1. Select sparklines > Sparkline tab > Markers / colours / axis options.
  2. Group sparklines when comparing series on one scale.
  3. Sparkline > Clear to remove without deleting your numbers.

Our take: trends without chart clutter

Sparklines are perfect in KPI tables where a full chart would dominate. Prefer Line for continuous metrics and Win/Loss for up/down sequences. For presentation slides, a normal chart is still clearer.

If it fails

  • Sparkline blank: data range is empty or text — coerce to numbers.
  • Scale looks wrong: ungroup and set Same for All Sparklines / axis options.
  • Web missing features: open in desktop Excel.
  • Need Sheets: use =SPARKLINE(range) — see Sheets guides.

Frequently asked questions

What is an Excel sparkline?

A tiny chart that lives inside one cell to show a trend.

Which sparkline types exist?

Line, Column and Win/Loss.

Can sparklines print?

Yes — they print with the sheet like other cell content.

Do sparklines update?

Yes — they refresh when the source numbers change.

Sparklines vs charts?

Sparklines are compact in-grid; charts are better for presentations.

Sources checked: Microsoft Support: Sparklines. Verified October 2026.