How to add sparklines in Excel (mini charts in a cell)
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.
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
- Click the empty cell beside your row of numbers.
- Insert > Sparklines > Line (or Column / Win/Loss).
- Select the data range for that row > OK.
Fill down a column
- Select the sparkline cell and drag the fill handle down.
- Each row should point at its own data range.
- If ranges shift wrong, edit Sparkline > Edit Data.
Style and clear
- Select sparklines > Sparkline tab > Markers / colours / axis options.
- Group sparklines when comparing series on one scale.
- 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.