Creating Sparklines

Written by Allen Wyatt (last updated September 30, 2023)
This tip applies to Excel 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021


1

Excel 2010 introduced a new feature referred to as sparklines. They are nothing more than miniature charts that can appear inside a single cell. The graphs aren't as varied and full-featured as regular Excel charts, but they are pretty cool, nonetheless. They are especially good for showing, at a glance, the general trend of the numbers in a range of cells.

To create a sparkline, follow these steps:

  1. Select the cell where you want the sparkline to appear.
  2. Display the Insert tab of the ribbon.
  3. In the Sparklines group, click whichever type of sparkline you want to appear: Line, Column, or Win/Loss. (Each of these represents a different type of chart.) Excel displays the Create Sparklines dialog box. (See Figure 1.)
  4. Figure 1. The Create Sparkline dialog box.

  5. Specify, in the Data Range box, the range you want charted in the sparkline.
  6. Click OK.

You should see your sparkline appear immediately in the cell you specified in step 1.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12588) applies to Microsoft Excel 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Selecting a Language

Need to format a paragraph (or some selected text) so that it is a language other than English? You can do so easily by ...

Discover More

Applying Bold Italics

Applying bold and italics formatting to text is easy in Word. If you want to apply bold and italics simultaneously, you ...

Discover More

Two-Line Headings in a TOC

If you use the TC field to mark what goes in a TOC, you may wonder why if you mark two lines together with the field, ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (ribbon)

Exporting Black and White Charts

Excel's charts are normally created in color, but you can print them in black and white. You may be looking for a way to ...

Discover More

Unselecting a Chart Item

When formatting a chart, you select elements and then change the properties of those elements until everything looks just ...

Discover More

Locking Graphic Annotations to Chart Data Points

Sometimes it is helpful to add annotations to your charts in order to explain the data displayed. This tip provides ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 - 0?

2023-10-04 12:54:55

Dave S

Sparklines can be useful, for the reason given above. But if the end user's requirements require more than one line (for example, to show trend relative to some target value) remember that you can create your own 'sparkline' by placing a normal chart into a cell. Create the chart, delete everything apart from the lines, then snap fit chart area to a cell and finally snap fit the plot area to the cell. As it is a real chart you can change line type, thickness and colour as required.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.