ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Data tools
  3. Sparklines in Excel: Tiny Charts Inside Cells

Sparklines in Excel: Tiny Charts Inside Cells

By ExcelReady Team·Updated November 2, 2026·6 min read

The short answer

Sparklines are tiny charts that sit inside a single cell and show the trend of one row of data. To add them in Excel, select the data, choose Insert > Sparklines > Line, Column or Win/Loss, and pick the cells where they should go. Then use the Sparkline tab to mark high and low points and set the axis.

Key takeaways

  • A sparkline is a mini chart in one cell that shows the shape of one row or column of numbers.
  • Insert them with Insert > Sparklines, then choose a Data Range and a Location Range.
  • Line shows a trend, Column compares sizes, and Win/Loss shows only up or down.
  • Set the vertical axis to Same for All Sparklines when you want rows to be comparable.
  • The Delete key doesn't remove sparklines; use Clear on the Sparkline tab.
On this page+
  1. What are sparklines in Excel?
  2. How to insert sparklines
  3. How to show high and low points
  4. How to make sparklines comparable
  5. When to use Win/Loss sparklines
  6. How to change, group and remove sparklines
  7. Sparklines vs charts, data bars and REPT bars
  8. Practise it

Sparklines in Excel are tiny charts that live inside a single cell. Each one shows the shape of one row of numbers, so a column of sparklines next to a table lets you see at a glance which products are rising, falling or bouncing around. This guide shows how to insert them, which type to choose, how to make rows comparable, and how to remove them, all on one small sales table.

What are sparklines in Excel?#

A sparkline is a mini chart drawn in the background of a cell. Unlike a normal chart, it has no title, legend or axis labels. It shows only the trend. Sparklines arrived in Excel 2010 and are in every later version, including Microsoft 365 and Excel for Mac.

There are three types:

TypeWhat it showsGood for
LineA small line through each valueTrends over time, such as monthly sales
ColumnA small bar for each valueComparing the size of each period
Win/LossEqual-size blocks up for positive, down for negativeOnly whether each value was up or down

All examples use this quarterly sales table in A1:E5, with sparklines going in column F:

ABCDEF
1ProductQ1Q2Q3Q4Trend
2Laptops120135128160
3Monitors809511090
4Keyboards60557065
5Mice45504038

Sparklines need one row (or column) of numbers per item. If your data is a long list of individual sales, summarise it first into a table like this one. The summary table lesson shows how to build one with SUMIFS.

How to insert sparklines#

You can add a whole column of sparklines in one step:

  1. Select the numbers, B2:E5. Don't include the headers or product names.
  2. Go to Insert > Sparklines and click Line.
  3. In the Create Sparklines box, the Data Range already shows B2:E5.
  4. Click in Location Range and select F2:F5.
  5. Click OK.

Each cell in F2:F5 now holds a small line for its row. Laptops rise with a dip in Q3, Monitors peak in Q3, and Mice drift down. Widen column F and make the rows taller to see the shapes more clearly, because a sparkline always fills its cell.

You can also make one sparkline and fill it down. Create it in F2 from B2:E2, then drag the fill handle to F5. Like a formula, the data range moves down one row for each cell.

How to show high and low points#

A plain line shows the shape but not the details. When you click a sparkline, the Sparkline tab appears (in older versions it is called Sparkline Tools > Design). Its Show group has checkboxes that add markers:

  • High Point and Low Point: mark the biggest and smallest value.
  • First Point and Last Point: mark where the row starts and ends.
  • Negative Points: mark values below zero.
  • Markers: put a dot on every value (Line sparklines only).

Ticking High Point on the Monitors sparkline puts a dot on Q3. You can find the same thing with a formula, which is useful when you need the answer as text in a report:

Excel formula
=INDEX(B1:E1,MATCH(MAX(B3:E3),B3:E3,0))

MAX finds 110, MATCH finds that it is the 3rd value, and INDEX returns the 3rd header: Q3. Use Sparkline Color and Marker Color on the same tab to change the colours. A darker marker colour on a lighter line makes the high point easy to spot.

How to make sparklines comparable#

By default, each sparkline is scaled on its own. That means the Mice line, which moves between 38 and 50, fills its cell just as fully as Laptops, which move between 120 and 160. The shapes are right, but the sizes can't be compared.

To fix it, click a sparkline in the group, then on the Sparkline tab choose Axis:

  1. Under Vertical Axis Minimum Value Options, choose Same for All Sparklines.
  2. Under Vertical Axis Maximum Value Options, choose Same for All Sparklines.

Now every sparkline uses the same scale, so Laptops sit high in their cells and Mice sit low. Use this whenever readers will compare rows. Keep the default when only the shape of each row matters.

This setting matters most for Column sparklines. With automatic scaling, the smallest bar in each row can look almost empty even when the value is large.

When to use Win/Loss sparklines#

Win/Loss sparklines ignore size and show only the sign: a block up for a positive number, a block down for a negative one. They suit data such as month-on-month change, wins and losses, or budget over and under.

For Win/Loss, you need numbers that can be negative. Work out the change from each quarter to the next first. For Mice, the changes from Q1 to Q4 are +5, -10 and -2, so the Win/Loss sparkline shows one block up and two down. A Line sparkline on the raw sales would hide how often the product fell.

How to change, group and remove sparklines#

Sparklines made in one step form a group. Changing the type, colour or markers on one changes them all. To style one differently, select it and click Ungroup on the Sparkline tab.

Other useful buttons on the Sparkline tab:

  • Edit Data changes the data range or location. Its Hidden & Empty Cells option chooses whether gaps show as gaps, as zero, or as a joined line.
  • Line, Column and Win/Loss switch the type.
  • Clear removes the selected sparklines.

Pressing Delete does not remove a sparkline, because it is not cell content. Use Clear, or delete the row or column it sits in.

Sparklines vs charts, data bars and REPT bars#

Sparklines are one of several ways to show data visually inside a sheet. Pick by what the reader needs:

  • A full chart shows exact values, labels and several series together. See how to make a chart in Excel or a bar chart in Excel.
  • Data bars shade each cell by its own value, which compares one number per row. The guide to data bars and colour scales explains them, and they are part of conditional formatting in Excel.
  • REPT bars build a text bar with a formula, which works anywhere, including in files where formatting is lost. See simple in-cell bar charts with REPT.
  • Sparklines show the trend of a whole row in one cell.

A common dashboard pattern uses all three: the latest number, a data bar for its size and a sparkline for its trend.

Practise it#

Try the exercise on this page: one formula finds the high point a sparkline would mark. Then practise conditional formatting in a live spreadsheet, where you type each rule and it checks it instantly, and build the summary tables that sparklines need in the summary table lesson.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

A sparkline can mark the high point of a row. Find it with a formula: in G3, return the quarter (from B1:E1) in which Monitors (B3:E3) sold the most. Use INDEX, MATCH and MAX.

fx
ABCDEFGH
1
Product
Q1
Q2
Q3
Q4
2
Laptops
120
135
128
160
3
Monitors
80
95
110
90
Best quarter
4
Keyboards
60
55
70
65
5
Mice
45
50
40
38
6
7
8

Tip: MAX(B3:E3) finds the highest number. MATCH(...,B3:E3,0) finds its position. INDEX(B1:E1, position) returns the quarter name.

Practise this in a lesson

LessonConditional formattingMake important numbers stand out: highlight values over a limit, duplicate IDs and the top 3, then color whole rows with a formula rule and a $ on the column.LessonPivot-style summary with formulasBuild a summary table like a pivot table with formulas: a sorted UNIQUE list of categories, then SUMIFS and COUNTIFS filled down beside it.

Frequently asked questions

How do I add sparklines in Excel?

+

Select the numbers for one or more rows, go to Insert > Sparklines and choose Line, Column or Win/Loss. In the dialog, check the Data Range, choose the Location Range where the sparklines should appear, and click OK.

Why can't I delete a sparkline?

+

Pressing Delete clears cell contents, but a sparkline is not cell content. Select the cell, then use Clear on the Sparkline tab, or delete the whole row or column.

How do I make sparklines comparable between rows?

+

On the Sparkline tab, open Axis and set both the vertical axis minimum and maximum to Same for All Sparklines. Otherwise each row is scaled on its own, so a small product can look as big as a large one.

Which versions of Excel have sparklines?

+

Sparklines were added in Excel 2010 for Windows and are in every later version, including Microsoft 365. Excel for Mac has them too.

Can I make a sparkline bigger?

+

Yes. A sparkline fills its cell, so make the column wider or the row taller. You can also merge cells and place the sparkline in the merged area.

Sources

  • Create a chart from start to finish - Microsoft Support
  • Use conditional formatting to highlight information - Microsoft Support

Written and checked by the ExcelReady Team. First published November 2, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What are sparklines in Excel?
  2. How to insert sparklines
  3. How to show high and low points
  4. How to make sparklines comparable
  5. When to use Win/Loss sparklines
  6. How to change, group and remove sparklines
  7. Sparklines vs charts, data bars and REPT bars
  8. Practise it

Keep reading

Data tools· 5 min read

Make a Chart in Excel: Column, Bar, Line and Pie

To make a chart in Excel, select your data including the headers, go to Insert and pick a chart, or click Recommended Charts to let Excel suggest one. Use a column or bar chart to compare categories, a line chart for a trend over time, and a pie chart only for a few parts of one whole.

Data tools· 5 min read

Data Bars, Color Scales and Icon Sets in Excel

To add data bars in Excel, select the numbers, go to Home > Conditional Formatting > Data Bars and pick a colour. Each cell gets a bar whose length shows its size compared with the others. Color Scales shade cells from low to high, and Icon Sets add arrows or traffic lights. Manage Rules sets your own thresholds.

Text· 6 min read

REPT in Excel: Simple In-Cell Bar Charts

REPT repeats text a number of times: =REPT("|",5) returns |||||. To draw an in-cell bar chart, repeat a character in proportion to each value, such as =REPT("|",B2/1000) for one bar per 1,000. Scale long bars with =REPT("|",ROUND(B2/MAX($B$2:$B$7)*20,0)) so the largest value gets 20 characters.

More on data tools

  • Structured References in Excel Tables, Explained
  • SUBTOTAL in Excel: Totals That Ignore Filtered Rows
  • How to Sum the Same Cell Across Sheets in Excel
  • Summarize Data Without a Pivot Table
  • Excel Tables (Ctrl+T): Why and How to Use Them
  • Make a Waterfall Chart in Excel to Explain a Change
All data tools articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free