LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Need Formula for Calculating Accrued Vacation Time


Using Excel 2003. i have hire date and today(). i have a formula that
calculates time employed in years, months, days. i need a formula that
can help me figure out the number to vacation days accrued starting on
1/1/09. Policy: after 1 year of service = 5 days or 40 hours. after 2
years of service = 10 days or 80 hours. after 8 years of service = 15
days or 120 hours. Accrual is based on hire date; however we are
starting 1/1/09 on a yearly schedule for vacation. Therefore the formula
is not that simple. i need to know how many days each person will have
according to their start date on 1/1/09. days are not rolled. here is
what i have:
Worksheet:
Header Row
A1: Employee
B1: Address
C1: Hire Date
D1: Today()
E1: Time in Service
=YEAR(D2)-YEAR(C2)-IF(OR(MONTH(D2)<MONTH(C2),AND(MONTH(D2)=MONTH(C2),
DAY(D2)<DAY(C2))),1,0)&" years, "&MONTH(D2)-MONTH(C2)+IF(AND(MONTH(D2)
<=MONTH(C2),DAY(D2)<DAY(C2)),11,IF(AND(MONTH(D2)<M ONTH(C2),DAY(D2)
=DAY(C2)),12,IF(AND(MONTH(D2)MONTH(C2),DAY(D2)<D AY(C2)),-1)))&"

months,
"&D2-DATE(YEAR(D2),MONTH(D2)-IF(DAY(D2)<DAY(C2),1,0),DAY(C2))&" days"


--
jd_dps
------------------------------------------------------------------------
jd_dps's Profile: http://www.thecodecage.com/forumz/member.php?userid=71
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=44345

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vacation Accrued SilviaG Excel Discussion (Misc queries) 4 June 5th 08 03:08 PM
Earned Vacation time Formula Savage666 Excel Discussion (Misc queries) 2 May 29th 08 03:54 AM
How do I add "accrued vacation days" column to the Employee Attend Jam Excel Worksheet Functions 4 February 5th 08 06:06 AM
Calculating Vacation Time by Month Steve Excel Discussion (Misc queries) 0 July 5th 07 03:30 PM
Accrued Vacation Kim Campbell via OfficeKB.com Excel Worksheet Functions 8 January 12th 05 03:01 PM


All times are GMT +1. The time now is 06:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"