Calculating Accrued Vacation

Jim Fox

New Member
Joined
Mar 27, 2002
Messages
2
Hello,
I'm new to Excel, so please bear with me.
I want to calculate the accrual of vacation time, which accrues every 14 days at a rate of 4 hours per pay period (the pay period is every 14 days). I have two columns of data; column A contains pay period 1 thru 26, and col B contains the pay period ending date (26 of those, 01/06/02 thru 12/22/02). I want to determine the current pay period based on the date, and post that pay period number (such as pay period 6)to a specific cell. Can anyone tell me how to go about this?...Hope this was not too confusing.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
I guess it is a bit confusing. I can't figure out whether you want to calculate the vacation accrual days or if you want to put the pay period in a cell.

Tell us where you want to calculate the accrual days or tell us what the dates covered by pay period 1.

I think that ought to help us sort it out.
 
Upvote 0
Thanks for the response.
I actually want to "examine" the list of pay period dates (in Excel), determine which is the current pay period, then calculate the vacation accrual from that information for each employee.The first pay period end date was 01/06/02, the second was 01/20/02, and continues every 14 days until it reaches 12/22/02 which is the last pay period end date in 2002. Each employee will accrue vacation at a different rate dependent upon how may years of service he/she has with the company.
 
Upvote 0
You could create a table of rates and
edit a formula that captures relevant information and completes the calc.

accrual starts A1
User Defined Function Weeks calcs # of weeks
(see post I made a few days ago).

Could probably use countif or ...
A4 person's name
D1 date person started
rRates range of rates
Lookup determines relevant column
Vlookup determines relevant rate

weeks*rate = amount

=Weeks(A1,TODAY())*VLOOKUP(A4,rRates,LOOKUP(DATEDIF(D1,TODAY(),"y"),{0,5,10;0,2,3}),1)
 
Upvote 0

Forum statistics

Threads
1,214,576
Messages
6,120,350
Members
448,956
Latest member
Adamsxl

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