Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • How to use Excel FORMULATEXT function
  • Count rows with at least n matching values
  • Two-column Lookup in Excel
  • MATCH function: Description, Usage, Syntax, Examples and Explanation
  • INDEX function: Description, Usage, Syntax, Examples and Explanation

Data Analysis Examples

  • Remove Duplicates Example in Excel
  • Create Scatter Chart in Excel
  • Excel Bar Chart
  • Get column name from index in Excel Table
  • How To Create Pareto Chart in Excel

Data Validation Examples

  • Excel Data validation no punctuation
  • Excel Data validation exists in list
  • Prevent invalid data entering in specific cells
  • Excel Data validation must contain specific text
  • How To Create Drop-down List in Excel

Get fiscal quarter from date in Excel

by

This tutorial show how to Get fiscal quarter from date in Excel.

If you want to calculate the fiscal quarter from a date, and the fiscal quarter starts in a month other than January, you can use a formula based on the CHOOSE function.

Formula

=CHOOSE(MONTH(date),1,1,1,2,2,2,3,3,3,4,4,4)

>

Explanation

Note: if you just need to calculate a “normal” quarter based on a quarter system that starts in January, you can use this simpler formula.

Worked Example:   Excel VLOOKUP and HLOOKUP functions Examples

In the example shown, the formula in cell D5 is:

=CHOOSE(MONTH(B5),4,4,4,1,1,1,2,2,2,3,3,3)

This formula returns a number, 1-4 that corresponds to a quarter system that begins in April and ends in March.

How this formula works

The choose function uses the first argument to “select” remaining elements. For example, in a scheme where 1 = small, 2 = medium, and 3 = large, this formula will “map” the number 2 to “medium”.

=CHOOSE(2,"small","medium","large")

In the case of fiscal quarters, we can use this same idea to map any incoming month (1-12) to one of 4 quarter values. We just need to use the MONTH function to get the month number as the first argument, then provide 12 numbers (one for each month of the year) that are carefully ordered to reflect the fiscal year desired:

=CHOOSE(MONTH(B5),1,1,1,2,2,2,3,3,3,4,4,4) // Jan start
=CHOOSE(MONTH(B5),4,4,4,1,1,1,2,2,2,3,3,3) // Apr start
=CHOOSE(MONTH(B5),3,3,3,4,4,4,1,1,1,2,2,2) // Jul start
=CHOOSE(MONTH(B5),2,2,2,3,3,3,4,4,4,1,1,1) // Oct start

Adding a Q and year

If you want the quarter number to include a “Q” with a year value, you can concatenate:

="Q"&CHOOSE(MONTH(date),1,1,1,2,2,2,3,3,3,4,4,4)&" - "&YEAR(date)

Will return values like: “Q1 – 2016”, “Q2 – 2016”, etc. This works for fiscal years with a January start. If the starting month is different from January, you can use an expression like this to calculate the fiscal year:

=YEAR(date)+(MONTH(date)>=startmonth)
Worked Example:   CHOOSE function: Description, Usage, Syntax, Examples and Explanation

Post navigation

Previous Post:

Get fiscal year from date in Excel

Next Post:

Get first Monday before any date in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others
  • Split dimensions into two parts in Excel Worksheet
  • REPLACE, REPLACEB functions: Description, Usage, Syntax, Examples and Explanation
  • How to translate letters to numbers in Excel
  • Count Number of Words in Excel
  • How to extract last two words from text string in Excel
  • Convert date to Julian format in Excel
  • Add decimal hours to time in Excel
  • Two ways to sum time over 30 minutes in Excel
  • Generate series of dates by weekends in Excel
  • Convert decimal minutes to Excel time
  • Calculate periods for annuity in Excel
  • How to calculate principal for given period in Excel
  • DURATION function: Description, Usage, Syntax, Examples and Explanation
  • RECEIVED function: Description, Usage, Syntax, Examples and Explanation
  • How to Calculate Tax Rates in Excel
Acronyms, Abbreviations, Initialism & What They Stand For
© 2022 xlsoffice . All Right Reserved. | Teal Smiles