+ Reply to Thread
Results 1 to 5 of 5

Eligle Vacation Hours Based On Hire Date

  1. #1
    Forum Contributor Gtrtim112's Avatar
    Join Date
    04-12-2013
    Location
    Alabama, USA
    MS-Off Ver
    Excel 2016
    Posts
    335

    Eligle Vacation Hours Based On Hire Date

    I'm looking for a formula that will figure the amount vacation hours an employee is eligble for based on his/her hire date and going by the current days date. It would keep me from manually figuring an employee's vacation time that they are due every time their anniversary date rolls around.

    Here are the parameters that my company uses in order to award vacation time:

    1) After the 1st year of employment, full time employees get 40 hours.

    2) After the 2nd year of employment, Full time employees get 80 hours.

    3) After the 9th year of employment, full time employees get 120 hours.

    4) After the 16th year of employment, full time employees get 160 hours
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,698

    Re: Eligle Vacation Hours Based On Hire Date

    Is it always zero for part-time employees? If so try this formula in E3 copied down

    =IF(D3="F",LOOKUP(DATEDIF(C3,TODAY(),"y"),{0,1,2,9,16;0,40,80,120,160}),0)
    Audere est facere

  3. #3
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Eligle Vacation Hours Based On Hire Date

    d3 cell =
    =VLOOKUP((TODAY()-C3)/365,{1,40;2,80;9,120;16,160},2,TRUE)*(D3="F")

    then drag down
    Appreciate the help? CLICK *

  4. #4
    Forum Contributor Gtrtim112's Avatar
    Join Date
    04-12-2013
    Location
    Alabama, USA
    MS-Off Ver
    Excel 2016
    Posts
    335

    Re: Eligle Vacation Hours Based On Hire Date

    Quote Originally Posted by daddylonglegs View Post
    Is it always zero for part-time employees? If so try this formula in E3 copied down

    =IF(D3="F",LOOKUP(DATEDIF(C3,TODAY(),"y"),{0,1,2,9,16;0,40,80,120,160}),0)
    Quote Originally Posted by AZ-XL View Post
    d3 cell =
    =VLOOKUP((TODAY()-C3)/365,{1,40;2,80;9,120;16,160},2,TRUE)*(D3="F")

    then drag down


    Thanks guys! Will let ya know how these work!

  5. #5
    Forum Contributor Gtrtim112's Avatar
    Join Date
    04-12-2013
    Location
    Alabama, USA
    MS-Off Ver
    Excel 2016
    Posts
    335

    Re: Eligle Vacation Hours Based On Hire Date

    They both worked like a charm... Thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1