Spread Sparklines
Spread sparklines are compact charts that display how data points are distributed along a scale. Each mark or dot represents a single value along a horizontal (or vertical) axis. These sparklines help reveal concentration, gaps, and variability in a dataset.
When to use spread sparklines
- Visualizing data variation: Show how values are distributed across a range to identify trends, outliers, or gaps.
- Comparing high and low ranges: Highlight the spread between minimum and maximum values to assess consistency or volatility.
- Tracking performance by category: Display value distributions across groups or time periods in a compact format.
Create a spread sparkline
- On the Insert tab, select Sparklines.
- Under Scatter Sparkline, select Insert Spread Sparkline. The Create Sparklines dialog opens.
- In Data Range, select a continuous range of cells (in the same row or column).
- In Location Range, select the cell where the sparkline will appear.
- Click Ok. The sparkline is inserted into the selected cell.
Edit a spread sparkline
- Select the spread sparkline in your workbook.
- On the Sparkline tab, select Settings. The SpreadSparkline Setting dialog opens.
- Set the parameters, then click Ok.
- Copy and paste the sparkline cell to duplicate the configuration in another location, as needed.
Spread sparkline parameters
The spread sparkline formula supports the following format:
=SPREADSPARKLINE(points, showAverage?, scaleStart?, scaleEnd?, style?, colorScheme?, vertical?)
| Parameter | Description |
|---|---|
| Points | Defines the range of cells containing values, such as A1:A4. Invalid or empty values are treated as 0. |
| Style | Defines the visual style of the sparkline. Options include:
|
| ScaleStart | (Optional) Sets the minimum boundary, such as 8 or A7. If omitted, the minimum value in the dataset is used. |
| ScaleEnd | (Optional) Sets the maximum boundary, such as 9 or A8. If omitted, the maximum value in the dataset is used. |
| ColorScheme | Sets the color of the sparkline marks. Default is #646464. |
| ShowAverage | (Optional) Displays a marker for the average value when selected. |
| Vertical | (Optional) Display the sparkline vertically when selected. |