Forum Discussion

SBiebaut86's avatar
SBiebaut86
Copper Contributor
May 07, 2019
Solved

Pivot Table - Date - Group by Month does not work

Dear all,

I am working on my departments budget, and wish to show the costs per month. However, invoices are registered across the month (on 02/01/2019, 05/01/2019, 13/01/2019, ...). Now, the aim is to show per month the costs and not per date it is registered.

- I triple checked that the date field is indeed a date (I can change the date to any date format I'd like)

- I even can use a 'date' timeline

However, when I click on group like here: https://support.office.com/en-us/article/group-or-ungroup-data-in-a-pivottable-c9d1ddd0-6580-47d1-82bc-c84a5a340725

either

- When I select one date, I see "cannot group"

- when I select all dates, it just group the dates

 

* I restarted Excel

* I verified that the group is date

* I updated to the latest version of excel

10 Replies

    • SBiebaut86's avatar
      SBiebaut86
      Copper Contributor

      Detlef_Lewin I was trying to apply your solution, when suddenly the pivot table itself divided my date into months: 

       

      The problem is, I have no idea how I did this. the original table only has 'Date' (not months). He added the field 'month' himself. It is perfect, because this is exactly what I need. (with this, I don't need to group). However, how did I do this? how do I replicate this?

      • Wyn Hopkins's avatar
        Wyn Hopkins
        MVP
        If you right click on the months in the column of your pivot table is Ungroup and option?
    • SBiebaut86's avatar
      SBiebaut86
      Copper Contributor

      Wyn Hopkins I get the group option, but once I click it, it tells me 'cannot group that selection'

       

       

      • Yvonne1515's avatar
        Yvonne1515
        Copper Contributor

        SBiebaut86 I was having the exact same issue and suddenly it started working after I changed my date format to M, so I guess that's the work around.

Resources