knewt99 Posted February 28, 2006 Posted February 28, 2006 Please help if you know a way to do this. In a newspaper publication file I have a number field for the issue number - 125, 126, 127 etc. I need a calculation to convert these numbers into the issue month and year. Issue 125 = Feb 06, Issue 126 = Mar 06 Issue 127 = Apr 06 etc. As new issues are added the calculation will need to continue on into future years. The further catch is that there are only 11 issues per year. They don't publish in July. Thanks for any ideas.
comment Posted February 28, 2006 Posted February 28, 2006 Try: Let ( [ y = Div ( Issue - 3 ; 11 ) + 1995 ; m = Mod ( Issue - 3 ; 11 ) + 1 ] ; Date ( m + (m > 6) ; 1 ; y ) ) The result is date. Format the field to display as mmm yy.
knewt99 Posted February 28, 2006 Author Posted February 28, 2006 Works perfectly! Thanks for the help.
Recommended Posts
This topic is 6906 days old. Please don't post here. Open a new topic instead.
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