+ Reply to Thread
Results 1 to 8 of 8

Formula fix (today)-(month/day of hire) for vacation accrual

  1. #1
    Registered User
    Join Date
    02-01-2010
    Location
    Colorado
    MS-Off Ver
    Excel 2007
    Posts
    13

    Formula fix (today)-(month/day of hire) for vacation accrual

    In the attached worksheet, I'm trying to create a formula in Col D that will give me the difference of (Todays) Month/Date and (Date of Hire). The shaded rows at the end do not provide a correct answer. How do I make the Column formula eliminate the 1 (due to hire mnth/day falling between 1/1 and current mnth/day). I've put about 30 hours in this formula, tried it many different ways. . . and realize I just can't get it.

    I'm all for redoing the whole spreadsheet if you have a better way of doing vacation accruals! Hint!
    Thanks for looking at this! I hope to hear from any of you, soon!

    - Daphne
    Last edited by Daphne; 02-10-2010 at 12:10 AM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Formula fix (today)-(month/day of hire) for vacation accrual

    Hi Daphne,

    welcome to the forum. The attachment didn't quite make it. Quite understandable, if I calculate the time of day for your time zone
    You can upload a file by clicking "Go Advanced" below the Quick Reply box and then the paper clip icon.

  3. #3
    Registered User
    Join Date
    02-01-2010
    Location
    Colorado
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Formula fix (today)-(month/day of hire) for vacation accrual

    Thank you!
    Attached Files Attached Files

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Formula fix (today)-(month/day of hire) for vacation accrual

    how 'bout this for column D:

    =MOD(($C$1-C3)/365.25,1)

    it basically takes your column E value and hacks off any number in front of the decimal point.

  5. #5
    Registered User
    Join Date
    02-01-2010
    Location
    Colorado
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Formula fix (today)-(month/day of hire) for vacation accrual

    It WORKED!!! Thank you!

    You don't know how much time I spent on this between midnight and 7 am!!!!

    I REALLY appreciate you!!!!!! Now I can go to bed!!!

    I can't say thanks enough!!!! Wow!!
    - Daphne

  6. #6
    Registered User
    Join Date
    02-01-2010
    Location
    Colorado
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Formula fix (today)-(month/day of hire) for vacation accrual

    Now, how do I close or mark this post SOLVED!

    And let other users know I am Majorly Happy about Teylyn!

    !!!!!!!!!!
    Daphne

  7. #7
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Formula fix (today)-(month/day of hire) for vacation accrual

    Now I can go to bed, too!

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  8. #8
    Registered User
    Join Date
    10-08-2012
    Location
    Veero Beach, Florida
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Formula fix (today)-(month/day of hire) for vacation accrual

    I'm working on something similar to this but would like to ask; for column F, how are you arriving at the vacation level number?
    Thanks,
    Elaine

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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