J
jody frazier
I have a formula that talleys up vacation time for our employees.
=IF(DATEDIF(a2,
TODAY(),"Y")<10,DATEDIF(a2,TODAY(),"M")*3.30,400+DATEDIF(DATE(YEAR(a2)+10,MONTH(a2),DAY(a2)),TODAY(),"M")*6.60)
The policy states that an employee can start accruing more time per month
after he/she has had 10 years or more of service with us. My formula above
calculates this higher accrue rate on the employee's anniversary hire date.
I need it to start on the 10th calendar year not the anniversary hire date.
Can anyone help? I'm really stuck here... :-(
=IF(DATEDIF(a2,
TODAY(),"Y")<10,DATEDIF(a2,TODAY(),"M")*3.30,400+DATEDIF(DATE(YEAR(a2)+10,MONTH(a2),DAY(a2)),TODAY(),"M")*6.60)
The policy states that an employee can start accruing more time per month
after he/she has had 10 years or more of service with us. My formula above
calculates this higher accrue rate on the employee's anniversary hire date.
I need it to start on the 10th calendar year not the anniversary hire date.
Can anyone help? I'm really stuck here... :-(