» Grouping a Date Field by Quarters in a Fiscal Reporting Year in Excel 2007
CATEGORY - Excel Pivot Tables
VERSION - Microsoft Excel 2007
1. Insert a new column to the source data (column C in the screenshot), and type a title for the column: Fiscal Year Quarter Number and enter the formula below to calculate the quarter number for the fiscal year:
="Q"&(MOD(CEILING(22+MONTH(F2)-9-1,3)/3,4)+1)
2. Insert another column to the source data (column D in the screenshot), and type a title for the column: Fiscal Year, Year Number, and insert the formula below to calculate the fiscal year number:
=IF(MONTH(F2)=9,YEAR(F2),YEAR(F2)+1)
3. Refresh the PivotTable, and drag the two new fields to an area in the PivotTable report.
Note:
The number 9 in the formulas is for the fiscal year month end number, which is for September in the example presented.
Book Store:
Recommended Books:
- Financial Statement Analysis: A Practitioner's Guide, 3rd Edition
- Excel 2002 Power Programming with VBA
- Marketing Plan: A Handbook with Marketing Plan
- The Fall of Advertising and the Rise of PR
- The Intelligent Investor: The Definitive Book On Value Investing, Revised Edition
- The Basics of Finance: Financial Tools for Non Financial Managers
No comments have been submitted.

