Create sparklines

Sparklines are small charts that fit inside individual cells in a sheet. Because of their condensed size, sparklines can reveal patterns in large data sets in a concise and highly visual way. Use sparklines to show trends in a series of values, such as seasonal increases or decreases, economic cycles, or to highlight maximum and minimum values. A sparkline has the greatest effect when it's positioned near the data that it represents. To create sparklines, you must select the data range that you want to analyze, and then select where you want to put the sparklines.

The data range for the sparklines

Sparklines column

The location for the sparklines

Sparklines column step 2

Column sparklines that display year-to-date sales for Portland, San Francisco, and New York

Sparklines column result

Do any of the following:

ShowCreate sparklines

  1. Select the data range for the sparklines.
  2. On the Charts tab, under Insert Sparklines, click the kind of sparkline that you want.

Charts tab, Insert Sparkline group

In the Insert Sparklines dialog box, notice that the first box is already filled based on your selection in step 1.

  1. On the sheet, select the cell or the range of cells where you want to put the sparklines.

 Important   When you select this area, make sure that you select dimensions that are suitable for the data range. Otherwise, Excel displays errors to indicate that the ranges are not consistent. For example, if the data range has three columns and one row, you should select an adjacent column and the same row.

  1. Click OK.

 Tip   When you change the data on the sheet, sparklines update automatically.

ShowMark data points on sparklines

You can distinguish specific data points, such as high or low values, by using markers.

Sparkline markers

  1. Click a sparkline.
  2. On the Sparklines tab, under Markers, select the markers that you want.

ShowChange the style of sparklines

  1. Click a sparkline.
  2. On the Sparklines tab, under Format, click the style that you want.

Sparklines tab, Format group

To see more styles, point to a style, and then click More Down Arrow.

 Tip   To immediately undo a style that you applied, press COMMAND + Z .

ShowHandle empty or zero value cells

  1. Click a sparkline.
  2. On the Sparklines tab, under Data, click the arrow next to Edit, point to Hidden and Empty Cells, and then click the option that you want.

Sparklines tab, Data group

ShowDelete sparklines

  1. Click the sparkline that you want to delete.
  2. On the Sparklines tab, under Edit, click the arrow next to Clear, and then click the option that you want.

Sparklines tab, Edit group

See also

About sparklines

Sparkline axes

 
 
Applies to:
Excel for Mac 2011