I'm hoping someone can help me figure out a problem I need to solve.
At our company, plans are reviewed every 3 years after a plan is created, i.e. a plan created in 2011 would be reviewed in 2014. Most plans were created in either 2010, 2011, or 2012 however new plans can be created, albeit infrequently.
What I need to know is given the current year the plans due to be reviewed this year, the plans due to be reviewed next year, and the plans due to be reviewed in two years.
My first thought was to do some sort of math calculation, i.e. CURR YEAR / PLAN YR. Where the result is a whole number it would equal CURRENT YEAR, a result of *.66 would be NEXT YEAR, and a result of *.33 would be TWO YEARS. How I would code this, though, is beyond me.
Of course I might be overlooking a much simpler solution, and I'd appreciate suggestions.
At our company, plans are reviewed every 3 years after a plan is created, i.e. a plan created in 2011 would be reviewed in 2014. Most plans were created in either 2010, 2011, or 2012 however new plans can be created, albeit infrequently.
What I need to know is given the current year the plans due to be reviewed this year, the plans due to be reviewed next year, and the plans due to be reviewed in two years.
My first thought was to do some sort of math calculation, i.e. CURR YEAR / PLAN YR. Where the result is a whole number it would equal CURRENT YEAR, a result of *.66 would be NEXT YEAR, and a result of *.33 would be TWO YEARS. How I would code this, though, is beyond me.
Of course I might be overlooking a much simpler solution, and I'd appreciate suggestions.