Need formula to accrue vacation time

Stephanie8707

New Member
Joined
Jul 20, 2017
Messages
1
I need help with a formula to accrue vacation time for numerous employees.
This is the cells I currently have built. If you think I need other ones please advise.
[TABLE="width: 1105"]
<tbody>[TR]
[TD]Employee Names[/TD]
[TD]Start Date[/TD]
[TD]Today[/TD]
[TD](MPC) Vacation Accrued[/TD]
[TD](Rollo) Vacation Accrued
[/TD]
[/TR]
</tbody>[/TABLE]
For MPC Vacation time employees get 1 week paid vacation or 40 hours once they make 5 years with the company.
For Rollo Vacation Time Employees get 1 week paid vacation or 40 hours once they make 1 year with the company.

I know this would end up being two different formulas. Please help =)
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Assuming start date is in B2 and Today's date is in C2
and that you want MPC Vac to either be 40 or 0 depending on whether the employee has 5 or more years or not:

=IF(DATEDIF(B2,C2,"Y")>=5,40,0)

for Rollo change the 5 to 1
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top