Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Calculating occupational sick pay entitlement

Hi People,

I'd like some help with automaticall working out at what rate an
emplyee is due occupational sick pay (currently I am doing this
manually).
An employee is entitled to occupational sick pay of 2 months at Full
pay and a further 2 months at Half pay and then Nill pay in a rolling
12 months.
Assume that the employee works 7.5 hours a day for 37.5 hours a week.

I'd like help with IF, AND, OR (nested)formulae (or any other VBA
solution) that I can use to automatically notify me when the employee
is due full/half/nill pay given the day and number of hours off sick.

Example:
On 01 Feb 2012 Laura had 3 occasions when she'd been sick:
01 Jan 2011 to 31 Mar 2011
01 Apr 2011 to 15 May 2011
01 Nov 2011 to 31 Jan 2012

In this instance she was due
Full pay for 2 month (1st month 01 Jan 2011 to 31 Jan; and second
month 01 Feb to 28 Feb 2011)
Half pay for 2 month (1st month 01 Mar 2011 to 31 Mar 2011; and second
month 01 Apr 2011 to 30 Apr 2011)
Nill pay for the rest until the 01 Jan 2012
then back to full pay from 02 Jan 2012 to 31 Jan 2012 (new rolling
year)

The data provided is in this format:
Name Unique ID Date Hrs Sick
Laura 1234 Sat 01/01/2011 00:00:00
Laura 1234 Sun 02/01/2011 07:30:00
Laura 1234 Mon 03/01/2011 07:30:00
Laura 1234 Tue 04/01/2011 07:30:00
Laura 1234 Wed 05/01/2011 07:30:00
Laura 1234 Thu 06/01/2011 07:30:00
Laura 1234 Fri 07/01/2011 00:00:00
Laura 1234 Sat 08/01/2011 00:00:00
Laura 1234 Sun 09/01/2011 07:30:00
Laura 1234 Mon 10/01/2011 07:30:00
Laura 1234 Tue 11/01/2011 07:30:00
Laura 1234 Wed 12/01/2011 07:30:00
Laura 1234 Thu 13/01/2011 07:30:00
Laura 1234 Fri 14/01/2011 00:00:00
Laura 1234 Sat 15/01/2011 00:00:00
Laura 1234 Sun 16/01/2011 07:30:00
Laura 1234 Mon 17/01/2011 07:30:00
Laura 1234 Tue 18/01/2011 07:30:00
Laura 1234 Wed 19/01/2011 07:30:00
Laura 1234 Thu 20/01/2011 07:30:00

I'd like the raw data (which will be cumulative as the occassions
happen) on one tab and the results on another indicating a date of
eligibility and rate.

Thanks
Reply
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
calculating Sick pay entitlement Odin[_2_] Excel Programming 2 September 11th 11 07:07 PM
Establishing Annual Leave Entitlement Jo Launder Excel Discussion (Misc queries) 2 January 29th 08 11:00 PM
Various OT Entitlement tigermoth Excel Discussion (Misc queries) 3 August 8th 07 04:54 AM
Sick time accumulation Clueless Excel Worksheet Functions 3 January 9th 07 07:18 AM
IF,or IF--so sick of IF's heathercor Excel Worksheet Functions 4 June 21st 06 06:01 PM


All times are GMT +1. The time now is 01:13 PM.

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

About Us

"It's about Microsoft Excel"