ThisCalculator

Everyday

Excel Get Fiscal Quarter from Date

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

To get a fiscal quarter from a date in Excel, you use a formula that combines the MONTH function with a CHOOSE or ROUNDUP calculation, adjusted for your fiscal year start month. For a standard calendar year, the formula is =CHOOSE(MONTH(date),"Q1","Q1","Q1","Q2","Q2","Q2","Q3","Q3","Q3","Q4","Q4","Q4"); for a fiscal year that starts in a month other than January, you shift the month number before applying the quarter logic.

Formula

The general formula for any fiscal year start month is:

="Q" & ROUNDUP( MOD( MONTH(date) - fiscal_start_month + 12 , 12 ) + 1 , 0 ) / 3

Where:

  • date – the cell containing the date you want to evaluate (e.g., A2).
  • fiscal_start_month – the month number (1–12) when your fiscal year begins. For example, 1 for January, 4 for April, 7 for July, 10 for October.

The MOD part shifts the month so that the fiscal start month becomes month 1. Then ROUNDUP(.../3) groups every three months into a quarter number.

Worked Example

Using the default values from the calculator: date = 2024-03-15, fiscal start month = 1 (January).

  1. Extract the month: MONTH("2024-03-15") → 3.
  2. Shift: MOD(3 - 1 + 12, 12) + 1 → MOD(14,12)+1 → 2+1 = 3.
  3. Divide by 3: 3/3 = 1.
  4. Round up: ROUNDUP(1,0) → 1.
  5. Result: “Q1”.

So March 15, 2024 falls in Q1 when the fiscal year starts in January.

How to Adapt for Different Fiscal Calendars

Many companies use a fiscal year that does not align with the calendar year. For example, a fiscal year starting in April (common in the UK and India) means April is month 1, May is month 2, etc. The same formula works by changing the fiscal_start_month to 4. For a fiscal year starting in July (common in some government and retail sectors), use 7. For October (US federal fiscal year), use 10.

Using CHOOSE for a Simpler Approach

If you only need calendar quarters, a CHOOSE formula is straightforward:

=CHOOSE(MONTH(date),"Q1","Q1","Q1","Q2","Q2","Q2","Q3","Q3","Q3","Q4","Q4","Q4")

This works because MONTH returns a number from 1 to 12, and CHOOSE picks the corresponding text. For fiscal quarters, you can use CHOOSE with a shifted month number:

=CHOOSE(MOD(MONTH(date)-fiscal_start_month+12,12)+1,"Q1","Q1","Q1","Q2","Q2","Q2","Q3","Q3","Q3","Q4","Q4","Q4")

Common Mistakes and How to Avoid Them

  • Using MONTH without adjusting for fiscal start: This gives calendar quarters, not fiscal quarters. Always shift the month first.
  • Forgetting the +12 in MOD: Without it, negative numbers appear for months before the fiscal start. The +12 ensures the result stays positive.
  • Rounding incorrectly: Use ROUNDUP, not ROUND, because month 3 must be Q1, not Q0.
  • Treating dates as text: Ensure the date cell is truly a date, not a text string. Use DATEVALUE if needed.

Returning Quarter Names or Year-Quarter Combinations

Instead of just “Q1”, you might want “FY24-Q1” or “Q1-2024”. You can combine formulas:

  • Quarter only: ="Q"&ROUNDUP(MOD(MONTH(date)-fiscal_start_month+12,12)+1,0)/3
  • Fiscal year (if fiscal year ends in June): ="FY"&YEAR(date)-IF(MONTH(date)<=6,1,0) – adjust the month threshold to your year end.
  • Full label: ="FY"&YEAR(date)-IF(MONTH(date)<=fiscal_end_month,1,0)&"-Q"&...

Frequently Asked Questions

How do I get the fiscal quarter if my fiscal year starts in July?

Set fiscal_start_month to 7. The formula =ROUNDUP(MOD(MONTH(date)-7+12,12)+1,0)/3 will return 1 for July–September, 2 for October–December, 3 for January–March, and 4 for April–June.

What if I want the quarter as a number, not text?

Simply omit the “Q” and the quotes: =ROUNDUP(MOD(MONTH(date)-fiscal_start_month+12,12)+1,0)/3. This returns 1, 2, 3, or 4 as a number.

Can I use this formula in Google Sheets?

Yes, the same functions (MONTH, MOD, ROUNDUP) work identically in Google Sheets. The only difference is the date separator in the input, but cell references work the same.

Why does my formula return an error like #VALUE?

This usually happens when the date cell contains text or an invalid date. Check that the cell is formatted as a date, or use DATEVALUE to convert text to a date. Also ensure the fiscal start month is a number between 1 and 12.

How do I get the fiscal quarter and year together?

Combine the quarter formula with a year calculation. For example, if your fiscal year ends in June, use ="FY"&YEAR(date)-IF(MONTH(date)<=6,1,0)&"-Q"&ROUNDUP(MOD(MONTH(date)-7+12,12)+1,0)/3 for a July start.

Related

Formula used
in t | Date | - | 2024-03-15 | 0
in f | Fiscal start month | - | 1 | 1
out quarter | Quarter | - | "Q"&ROUNDUP(MOD(MONTH(t)-f+12,12)+1,0)/3 | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.