+ Reply to Thread
Results 1 to 7 of 7

Calculating accrual of sick days

  1. #1
    Registered User
    Join Date
    03-31-2010
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2003
    Posts
    10

    Red face Calculating accrual of sick days

    I have a 2010 Attendance Sheet in Excel (sample attached). It's organized into five sheets: a year-to-date summary sheet, plus one sheet for each quarter. It tracks vacation, doctor's appointments, workshops, sick days, etc. On the Summary sheet there is a formula that calculates how many vacation days and sick days are left.

    Sick days accrue at a rate of .5 day per month, unless a sick day was taken in that month. So, if you take a sick day in January, you don't earn your additional .5 day.

    In column R on the Summary sheet, I have a formula to calculate the accrual of sick days. In column U, I'm trying to develop a formula that will look at each month, for each employee and calculate whether or not .5 day should accrue for that month. I have gotten myself totally confused. Before I tried to allow for months when the .5 day would not accrue, I just had to caculate the number of months elapsed to date and divide by two.

    I then created EmployeeMonth named cells, e.g., JanuarySmith, FebruarySmith and so on, to calculate IF JanuarySmith has an "i" no .5 day will accrue for employee Smith. Now I am stuck . . .

    Any suggestions would be much appreciated!
    Attached Files Attached Files
    Last edited by wbcsc; 04-07-2010 at 01:32 PM.

  2. #2
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111

    Re: Caculating accrual of sick days

    G'day

    Does this work for you ???

    It not the best but it works

    Cheers
    Attached Files Attached Files
    Have I made you happy ??? If yes, please make me happy by pressing the http://www.excelforum.com/images/buttons/reputation-40b.png Add Reputation button in my post.
    Please don't forget to do the same to other contributors of this forum.

    Thanks
    I don't void confusion, I create it

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Caculating accrual of sick days

    ps i hear Ratcat is THE guru on sickdays
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    03-31-2010
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2003
    Posts
    10

    Exclamation Re: Calculating accrual of sick days

    Thanks so much for your help. The formula achieves what I'm looking for.

    Oh dear. Spoke too soon. When I try to include all 12 months of the year, it tells me that I've included "too many arguments for this function." It let's me include arguments up to August. How do I include September to December for each employee?
    Last edited by wbcsc; 04-07-2010 at 01:33 PM. Reason: "too many arguments for this function"

  5. #5
    Registered User
    Join Date
    03-31-2010
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Calculating accrual of sick days

    bump - no response

  6. #6
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111

    Re: Calculating accrual of sick days

    Suggestion.......

    Split the formula into two cell

    Eg 6 months in one cell and the other 6 months in the other cell then total the two cells together

    or use excel 2007 and beyond.

    Cheers

    RC

  7. #7
    Registered User
    Join Date
    03-31-2010
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Calculating accrual of sick days

    I have access to Excel 2007 . . . how would I solve the problem?

+ 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