Results 1 to 14 of 14

Occupational sick pay problem

Threaded View

mcinnes01 Occupational sick pay problem 11-25-2010, 05:31 AM
mcinnes01 Re: Occupational sick pay... 11-25-2010, 05:54 AM
mcinnes01 Re: Occupational sick pay... 11-25-2010, 06:11 AM
Richard Buttrey Re: Occupational sick pay... 11-25-2010, 06:21 AM
mcinnes01 Re: Occupational sick pay... 11-25-2010, 06:25 AM
mcinnes01 Re: Occupational sick pay... 11-25-2010, 07:14 AM
mcinnes01 Re: Occupational sick pay... 11-25-2010, 07:23 AM
mcinnes01 Re: Occupational sick pay... 11-25-2010, 07:30 AM
mcinnes01 Re: Occupational sick pay... 11-25-2010, 08:02 AM
mcinnes01 Re: Occupational sick pay... 11-25-2010, 08:16 AM
mcinnes01 Re: Occupational sick pay... 11-25-2010, 09:45 AM
mcinnes01 Re: Occupational sick pay... 11-25-2010, 11:10 AM
  1. #1
    Forum Contributor mcinnes01's Avatar
    Join Date
    05-25-2010
    Location
    Manchester
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    449

    Occupational sick pay problem

    Hi

    I have been adding many new features and testing my OSP tool, when developing the SSP part of the tool I noticed a CRITICAL issue with the way historic sick days are counted! BUMP

    Basically the way my tool currently works is that it updates the staff data everytime the tool is opened.

    Occupational sickness allowance is based on years service

    0-0.5 years = 0 full days/ 0 half days
    0.5 -1 years = 0 full days/ 10 half days
    1-2 years = 20 full days/ 20 half days
    2-3 years = 30 full days/ 30 half days
    3-4 years = 40 full days/ 40 half days
    4-5 years = 50 full days/ 50 half days
    5 years + = 60 full days/ 60 half days

    My calculation for this works fine and has a nested if based on years service.

    The 2 problems I have are related.

    If you had been employed for exactly 1 year for example. In the first 6 months you were off 5 days and received no osp, then in the second half of the year your were off 10 days. You should get paid for 10 half days, however as the tool counts the whole of the history it would only pay you for 5 half days.

    So I need to figure out a way to count only the days after the new allowance kicked in. I have made another date column on the STAFF sheet that assesses the date when your last allowance changed and need to some how use this as a cut off point for counting the days sick. Basically anything before this date should not be counted, but should still be displayed on the the input screen. Secondly this creates a problem and highlights an existing problem.

    The history is anything out of the database that has an end date within the last 365 days. The problem is, is that the sick days are all counted, when in actual fact only the last 365 days should be counted. By the last 365 days I mean the last 365 days before the start date of the new sickness line you are keying for an individual.


    I will attach an example workbook shortly and would really appreciate some help, I can't think how I can get my count to work like this.
    Last edited by mcinnes01; 11-25-2010 at 06:16 AM.

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