Suzanne Griffiths
New Member
Good Afternoon. I have enjoyed re-creating the vacation dashboard recently provided by Chandoo. I have just completed the excel school so am still learning more and more daily. In our version of the dashboard it was important to illustrate the number of vacation days available to each employee. Here is where I have run into a mental roadblock.
Each employee has a hire date. Upon hire and for the first 5 years each employee gets 15 days vacation which accrues monthly over the year. At year six they get an additional day of vacation adding an additional day each year up until they reach a maximum of 25 days.
If the employees hire date falls in month 6 then the rate of accrual would change partway through the year. I need to create a formula that would recognize this change. If I could get help with how to set this formula up please.
For example each month is numbered 1-12 below, months 1-5 would receive an accrual of 1.25 days for that month, then months 6-12 would accrue at the rate of 1.3
Attached is my workbook (all data is fictional at this time). On the Tracker page the calculation for number of years worked is provided along with a calculation of number of vacation days allowed that year based on the hire date. On the Calculations page starting at cell CX43 is where I'd like to calculate the YTD hours accrued.
I sincerely appreciate the help.
Each employee has a hire date. Upon hire and for the first 5 years each employee gets 15 days vacation which accrues monthly over the year. At year six they get an additional day of vacation adding an additional day each year up until they reach a maximum of 25 days.
If the employees hire date falls in month 6 then the rate of accrual would change partway through the year. I need to create a formula that would recognize this change. If I could get help with how to set this formula up please.
For example each month is numbered 1-12 below, months 1-5 would receive an accrual of 1.25 days for that month, then months 6-12 would accrue at the rate of 1.3
Attached is my workbook (all data is fictional at this time). On the Tracker page the calculation for number of years worked is provided along with a calculation of number of vacation days allowed that year based on the hire date. On the Calculations page starting at cell CX43 is where I'd like to calculate the YTD hours accrued.
I sincerely appreciate the help.