Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default Need help ( Hope i made it clear this time)

Hi
I am trying to do annual leave calculation what i need is an
automatic
calculation for the following
The rule is
Every employee is entitled to a fully paid annual vacation after the
completion of 3 months
1 to 5 years of consecutive service fifteen (15) days per year
5 to 10 years of consecutive service seventeen (17) days per year
10 to 15 years of consecutive service nineteen (19) days per year
Each employee has the right to keep his vacation for 2 years so the
problem occurs when the first left vacation is the 4 th and the 5 th b
it calculate total remaining of the 4th and the 5th *17 not 15 days
from the first year and 17 days from the 5 th year

The issue is that the formula that i have is calculating entitled
years wich
is 15 or 17 or 19 * starting date what i want is to calculate 15 days
for the first 5 years and 17 days for the 2snd 5 years
example :
B4= Name C4= x
B5=Staff Number C5=500
B6= Position C6=hr
B7= Starting Date C7=5/1/2003
B8= Total Working Days C8= 5.31 YEARS =+(NOW()-C7)/30/12
B9= Annual Leave
B10=TOTAL ENTITLED LEAVE =IF(TODAY()-C710*365,19,IF(TODAY()-
C75*365,17,IF(TODAY()-C70.25*365,15)))=17
B11=TOTAL DAYS TILL THIS DAY ????????????????? I usually use the
following formula
=+C8*B10 if i use it i will have this total days =90.26 but whenever
the employee reaches the 5 th years the formula will calculate wrong b
it takes the toltal days pr year only without taking into
conmsideration that difference between years
so i manually enter the following formula =5*15+(C8-5)*17 =80.27
what i need is an automatic formula that deduct them automaticly
without manually entering the formula when the employee reached his
5th,1o th or 15 th years of services

I hope that i made what i want clear this time

Tia
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Need help ( Hope i made it clear this time)

Be patient, you are getting free help here, so keep to one thread and don't
waste our time by proliferating the same question.

--
__________________________________
HTH

Bob

"Tia" wrote in message
...
Hi
I am trying to do annual leave calculation what i need is an
automatic
calculation for the following
The rule is
Every employee is entitled to a fully paid annual vacation after the
completion of 3 months
1 to 5 years of consecutive service fifteen (15) days per year
5 to 10 years of consecutive service seventeen (17) days per year
10 to 15 years of consecutive service nineteen (19) days per year
Each employee has the right to keep his vacation for 2 years so the
problem occurs when the first left vacation is the 4 th and the 5 th b
it calculate total remaining of the 4th and the 5th *17 not 15 days
from the first year and 17 days from the 5 th year

The issue is that the formula that i have is calculating entitled
years wich
is 15 or 17 or 19 * starting date what i want is to calculate 15 days
for the first 5 years and 17 days for the 2snd 5 years
example :
B4= Name C4= x
B5=Staff Number C5=500
B6= Position C6=hr
B7= Starting Date C7=5/1/2003
B8= Total Working Days C8= 5.31 YEARS =+(NOW()-C7)/30/12
B9= Annual Leave
B10=TOTAL ENTITLED LEAVE =IF(TODAY()-C710*365,19,IF(TODAY()-
C75*365,17,IF(TODAY()-C70.25*365,15)))=17
B11=TOTAL DAYS TILL THIS DAY ????????????????? I usually use the
following formula
=+C8*B10 if i use it i will have this total days =90.26 but whenever
the employee reaches the 5 th years the formula will calculate wrong b
it takes the toltal days pr year only without taking into
conmsideration that difference between years
so i manually enter the following formula =5*15+(C8-5)*17 =80.27
what i need is an automatic formula that deduct them automaticly
without manually entering the formula when the employee reached his
5th,1o th or 15 th years of services

I hope that i made what i want clear this time

Tia



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
auto update of date and time whenever changes are made to a xcel s saran Excel Worksheet Functions 2 June 24th 08 01:39 AM
auto update of date and time whenever changes are made to a xcel s saran Excel Worksheet Functions 9 June 23rd 08 02:44 PM
put date and time in cells after entry made in shared workbook robzrob Excel Worksheet Functions 2 April 10th 08 09:13 PM
Formula that will record the time and date when an entry is made on a sheet [email protected] Excel Worksheet Functions 3 October 11th 07 08:28 AM
LAST HOPE....Time is Ticking!! Miss Atlanta Excel Discussion (Misc queries) 4 March 7th 06 03:36 AM


All times are GMT +1. The time now is 04:34 PM.

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

About Us

"It's about Microsoft Excel"