Month Sparklines
A month sparkline displays a compact calendar-style view using a 6×7 grid. Each square represents a day of the month, arranged by week (left to right) and weekday (top to bottom). This layout makes it easy to spot daily patterns over the course of a month.
Month sparklines are often used to show trends in daily activity—such as revenue, attendance, or usage—without taking up much space.
When to use month sparklines
- Tracking daily performance: Show how values change across the days of a specific month.
- Identifying recurring patterns: Visualize behaviors that repeat within a month, such as weekday spikes or weekend drops.
- Summarizing dense data: Present a full month of information in a compact format that's easy to scan and interpret.
Create a month sparkline
- On the Insert tab, select Sparklines.
- Under Calendar Sparkline, select Insert Month Sparkline. The MonthSparkline Dialog dialog opens.
- Set the parameters.
- Click Ok. The sparkline is inserted into the selected cell.
Edit a month sparkline
- Select the month sparkline in your workbook.
- On the Sparkline tab, select Settings. The MonthSparkline Dialog dialog opens.
- Adjust the parameters, then click Ok.
- Copy and paste the sparkline cell to duplicate the configuration in another location, as needed.
Month sparkline parameters
The month sparkline formula supports the following formats:
=MONTHSPARKLINE(year, month, dataRange, emptyColor, startColor, middleColor, endColor)
=MONTHSPARKLINE(year, month, dataRange, colorRange)
| Parameter | Description |
|---|---|
| Data Range | Define a range where the first column contains dates and the second column contains values, such as A1:B400. |
| Location Range | Set the cell where the sparkline appears. |
| Year | Define the year in four-digit format, such as 2024. |
| Month | Define the month as a number: 1 (January) to 12 (December). |
| Empty Color | Set the color for days with no data or a value of zero. |
| Start Color | Set the color for the minimum value in the month. |
| Middle Color | Set the color for the midpoint between the minimum and maximum values. |
| End Color | Set the color for the maximum value in the month. |
| Range Color | Define a cell range containing color values directly. |