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

Protecting Bookmarks

Bookmarks are a great boon in developing and working with documents—until someone deletes them. When it comes to ...

Discover More

Calculating a Geometric Standard Deviation

One of the areas in which Excel provides worksheet functions is in the arena of statistical analysis. You may want to ...

Discover More

Finding the Mouse Pointer

Tired of losing the mouse pointer on the screen? I was too, until I discovered this nifty trick for finding that elusive ...

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)

Using Go To to Jump to a Chart Sheet

Create a chart on its own worksheet, and you can display it by simply clicking the tab at the bottom of the Excel work ...

Discover More

Missing Bounds Options for a Chart

When your chart contains dates along one axis, you can set bounds on the way the chart is displayed. What causes, though, ...

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 more than 7?

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.