Skip & xlhelp,
Thanks for all your help today and in the past....
I am very interested in what formula you would suggest for my scenereo.
I tried earlier not to add in additional information that I thought would be useless information. I tried to get to the point. I thought that I had all the information to calculate this request, but for the life of me couldn't figure it out.
I am putting together a sheet to auto calculate each employees vacations based on their years of service and other parameters (see below). Although this is fairly simple on the surface, if an employee uses >12 days (288 hrs)of sick time in the calendar year(usually from an injury, illness, surgery, etc) their following years vacations are reduced by a pro-rated value based on years of service and typical vacations that would have been earned.
If an employee would typically earn 9 - 24hr shifts for their 2010 vacations, but was off 384 hrs(16 shifts) during the 2009 calendar year, then their vacations would calculate based on a typical work year of 122 (24hr)days/shifts per year. This gives us a daily vacation earned of .074 days. So if this employee used 384hrs - which is 96hrs over the 288 as mentioned above. 96hrs/24hrs = 4 days; 4 days x .074 = .296 (.30). This .30 represents .30 days of pro-rated reduction from the 9 days of vacation he would have had. I have all this done to this point, however my end result was 8.70 days of vacation, I needed to convert that to days and hours.
I hope you made it through all that, as mentioned above, I would love to see your formula for my scenereo.
Thanks Chris