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

Keeping the Flash Drive Occupied

Working on a document stored on a flash drive can have some unintended consequences. Here's some help in understanding ...

Discover More

Removing All Macros

Macros are stored as part of a workbook so that they are always available when you have the workbook open. If you want to ...

Discover More

Clean Up Your Macro List

Got a workbook cluttered with all sorts of macros? Delete them and you'll make your workbook easier to manage.

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies 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

Adding Data Labels to Your Chart

Adding labels to a chart can make the information presented in the chart more understandable. Excel allows you to add ...

Discover More

Changing Text in Text Boxes on a Chart

Macros allow you to make changes to virtually anything you can see in Excel. This tip examines how to make changes (even ...

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 2 + 2?

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.