acknak wrote:I would like a summary of total amount for each month and each quarter.
You can group by month and year, then in the displayed table drag the year to the column fields. Or you can group by quarter and year. When I group by month, quarter, and year, I don't get separate totals for the quarters, but it is simple to change the grouping between month/year and quarter/year. You can also create two pivot tables, one for each format. The additional sheet in my attachment was created with Data → Data Pilot → Start → Current selection → More → Results to →
- new sheet -. Putting the pivot table in a separate sheet avoids three problems:
• If it's below the data, it gets buried far below
• if it's above the data, refreshes of the pivot table could overlay the data
• If it's to the left or right of the data, data filtering can hide the pivot table.
Villeroy wrote:call menu:Data>Grop&Outline>Group...
Or press F12.
I find it difficult to describe what can be accomplished by dragging categories in the displayed pivot table, but the process is fairly intuitive once you learn it. I believe some table layouts are not possible to create in the pivot table dialog and must be done by dragging fields after creation.
It's clumsy, but it is possible to get totals by month and quarter in the same table. Group by month, quarter, and year, move year to the column fields, move Quarter to the right of Date, then create the quarterly totals with Data → Subtotals → Group by → Quarter → Subtotals by → {all but date/Quarter}. Calc will get the formatting wrong for the subtotals but that can be fixed by reapplying style DataPilot Value. However, the subtotals are lost with Data → Data Pilot → Refresh so this isn't a good idea unless the data is static.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).