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

Kolonne med minidiagrammer

The location for the sparklines

Kolonne med minidiagrammer, trin 2

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

Resultat for kolonne med minidiagrammer

Do any of the following:

Create 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.

    Fanen Diagrammer, gruppen Indsæt minidiagram

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

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

    Vigtigt: 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.

  4. Click OK.

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

Mark data points on sparklines

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

Markører i minidiagram

  1. Click a sparkline.

  2. On the Sparklines tab, under Markers, select the markers that you want.

Change the style of sparklines

  1. Click a sparkline.

  2. On the Sparklines tab, under Format, click the style that you want.

    Fanen Minidiagrammer, grupppen Formater

    To see more styles, point to a style, and then click Nedadgående pil Mere .

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

Handle 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.

    Fanen SmartArt i Excel, gruppen Nulstil

Delete 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.

    Fanen Minidiagrammer, Rediger Gruppe

See also

About sparklines

Sparkline axes

Del Facebook Facebook Twitter Twitter Mail Mail

Var disse oplysninger nyttige?

Fantastisk! Har du mere feedback?

Hvordan kan vi forbedre det?

Tak for din feedback!

×