I am trying to change a calculation every 6 years if a variable is true. Here is what I have. (see the comments after If nInflYear = 5 Then)
There is a test function below using the arguments. The correct answer will be 5000,5000,5000,5000,5000,5796.37. So every 6th year the calc changes...