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

Smart Quotes with Dragon Naturally Speaking

Dragon Naturally Speaking is a very popular transcription tool that converts speech into text. When using the program ...

Discover More

Getting the Name of the Parent Workbook

If you need to insert into a cell the name of the workbook in which a worksheet is contained, you can use the CELL ...

Discover More

Date Last Edited

You can insert several dynamic dates into your document. One you may want is to add the date when the last edit was ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (ribbon)

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

Making Sure that Data Accompanies a Chart

When sending a chart to someone else, it can be frustrating for the other person to open the workbook and see errors ...

Discover More

RGB Values for Automatic Colors

When you create a chart, Excel automatically assigns different colors to the various data series in the chart. At some ...

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 two less than 9?

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.