How to make an Excel PivotChart grouped by year and month

A PivotChart lets you summarise lots of daily sales or ticket data by year and month, which a normal chart cannot do. This guide suits anyone who already has a table of dated records in Excel. You just need Excel and a data range with a date column.

YouTube video: How to Create a Pivot Chart Grouped by Year and Month in Excel

Caption availability is unknown. Check the CC control in the YouTube player.

6 chapters. Tap a step to jump to it.Chapters from the creator
Choose a chapter (6)
Video length
4 min 30 s
Time to do it
10 minutes
Difficulty
Easy
Steps
8

What you need

Steps

  1. Click any cell inside your data table so Excel knows which range to use.

  2. Go to Insert on the ribbon and choose PivotChart. A dialog box appears.

  3. Check the range and choose where to place the PivotTable, then click OK.

  4. In the PivotTable Fields pane, drag your date field into the Rows area and your value field into Values.

  5. Right-click any date in the row labels and choose Ungroup if the dates are grouped automatically.

  6. Right-click a date again, choose Group, then select Years and Months in the grouping dialog.

  7. Drag the date field into the Columns area if you want months across the chart.

  8. Select the PivotChart, open the Insert tab and pick a chart type such as a column or line chart.

Tips and common mistakes

If Excel groups dates on its own, ungroup first so you can set Years and Months yourself.

Put years in Rows and months in Columns to get a clean side-by-side comparison.

Refresh the PivotTable after adding new data, otherwise the chart will not update.

Questions

Why does my PivotChart show dates as text?

Your date column probably contains text instead of real dates. Convert it with Date Value or retype it in a date format, then refresh the PivotTable.

Can I change the chart type later?

Yes. Select the PivotChart, open the Design tab and choose Change Chart Type to switch between column, line and other styles.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Money & Office

See all