Employee A , aged 62 is in a pension plan, the rules of which in 2015 were: Payout = 1/2 of Salary or 15000 whichever is less, in 2019, the rules changed payout = 1/2 of Salary or Social Security limit whichever is less
but if Employee A is above the age of 62, the rule has always been payout = 1/2 of Salary or $30,000 whichever is less
I need to create 2 if's statement showing that if i have the age, salary and social security limit i can derive the payout number for years 2015 and then one for 2019 for employee above and below the age of 62.
Additional question:
Can there be if possible only one if statement for the age and the different year rules?
Any help would be greatly appreciated.
but if Employee A is above the age of 62, the rule has always been payout = 1/2 of Salary or $30,000 whichever is less
I need to create 2 if's statement showing that if i have the age, salary and social security limit i can derive the payout number for years 2015 and then one for 2019 for employee above and below the age of 62.
Additional question:
Can there be if possible only one if statement for the age and the different year rules?
Any help would be greatly appreciated.