4Justme2 Posted April 25, 2012 Posted April 25, 2012 Once my enduser picks a date from a calendar popup I would like to automatically populate two fields: a fiscal year and fiscal quarter. The fiscal year runs from July one year to the end of June the next. July - Sept = fiscal quarter 1 Oct - Dec = fiscal quarter 2 Jan - Mar = fiscal quarter 3 April - Jun = fiscal quarter 4
comment Posted April 25, 2012 Posted April 25, 2012 Try: FY = Year ( SelectedDate ) - ( Month ( SelectedDate ) < 7 ) FQ = Div ( Mod ( Month ( SelectedDate ) - 7 ; 12 ) ; 3 ) + 1 Result is Number for both.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now