If your fiscal year doesn’t start in January, calendar quarters won’t line up. A small offset formula maps any date to the right fiscal year and fiscal quarter.
The example
A July–June fiscal calendar. August 2025 falls in FY2026, Q1.
| A | B | C | |
|---|---|---|---|
| 1 | Date | Fiscal year | Quarter |
| 2 | 8/15/2025 | FY2026 | Q1 |
| 3 | 1/10/2026 | FY2026 | Q3 |
| 4 | 6/30/2026 | FY2026 | Q4 |
The formula
Fiscal year and quarter for a July start:
How it works
The trick is shifting the month so your fiscal start becomes “month 1”:
- For the year, add 1 once the month reaches the start month:
YEAR(A2) + (MONTH(A2)>=7). The comparison returns TRUE (1) or FALSE (0). - For the quarter, subtract the start month and wrap with MOD so months 7–9 become Q1, 10–12 become Q2, and so on.
INT((MONTH-7+12)/3)gives 0,1,2,3 across the fiscal year;MOD(…,4)+1turns that into Q1–Q4.- Swap the
7for your fiscal start month (e.g.4for an April start) in both formulas.
Calendar quarters are simpler: if your year starts in January, just use ="Q"&ROUNDUP(MONTH(A2)/3,0). The offset version above is only needed for non-January fiscal years.
Try it: interactive demo
Pick a date and a fiscal start month.
Variations
Calendar quarter
For a January fiscal start:
April fiscal start
Change the offset to 4:
Fiscal period (month 1-12)
Month within the fiscal year:
Pitfalls & errors
Match the offset in both formulas. If you change the fiscal start month, update it in the year and the quarter formula, or they’ll disagree.
FY naming conventions differ. Some firms label the July 2025–June 2026 year “FY2026” (end year), others “FY2025”. Adjust the +1 to match your convention.
Text dates won’t compute. MONTH/YEAR need real date values. Convert text dates with DATEVALUE first.
Practice workbook
Frequently asked questions
How do I get the fiscal year from a date in Excel?
How do I calculate a fiscal quarter?
What if my fiscal year starts in January?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class