» 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:
- The McGraw-Hill Guide to Writing a High-Impact Business Plan: A Proven Blueprint for First-Time Entrepreneurs
- Excel Charts
- Successful Business Planning in 30 Days: A Step-By-Step Guide for Writing a Business Plan and Starting Your Own Business
- The Basics of Finance: Financial Tools for Non Financial Managers
- Good to Great: Why Some Companies Make the Leap... and Others Don't
- Treason: Liberal Treachery from the Cold War to the War on Terrorism
No comments have been submitted.

