FYQ ( Start ; theDate )
Fiscal year and quarter of a given date
Average rating: 4.0 (43 votes) Log in to vote
Matt Wills - Show more from this author
FYQ ( 10 ; 1/15/08 )
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Returns the fiscal year and quarter of a given date, considering the starting month of the fiscal year and observing the convention that the year is named for the year in which it ends (e.g., the US Government's fiscal year beginning October 1, 2007 and ending September 30, 2008 is FY 2008).
Start is the first month of the fiscal year
theDate is the date to be processed
With thanks to Mike Zarin for a suggestion that pulled it all together.
If you want the full four-character year (2008 rather than 08), change the last part of the concatenation to read
"Q" & If ( Start = 1 ; Year ( theDate ) ; Year ( theDate ) + 1 )
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.