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 Total Gratuity Leave Please help

I am trying to calculate the end of service gratuity.
The Rules are as follows:
Employee:
If the employee resigns under total years of service from 1 till 3
years his gratuity pay will be 7 days for each year
For each working day
If the employee resigns under total years of service from 3 till 5 his
gratuity will be 14 days
If the employee resigns from 5 years till infinity years his gratuity
pay will be 21 days for each year for each
working day
Total day Years Gratuity $ to be paid
150 1 7 1050
150 2 7 2100
150 3 14 6300
150 4 14 8400
150 5 21 15750
150 6 21 18900
150 7 21 22050


If the employers terminate the employee under total years of service
from 1 till 5 years his gratuity pay will be 21 days for each
year for each working day+ Ticket.
from 5 till infinity years his gratuity pay will be 30 days for each
year for each working day+ Ticket.


What I am looking for is a formula for F1 that allows me to get total
gratuity days to pay
Total Per Day Years Gratuity Total To be paid
150 1 21 3,150.00
150 2 21 6,300.00
150 3 21 9,450.00
150 4 21 12,600.00
150 5 21 15,750.00
150 6 30 27,000.00
150 7 30 31,500.00
150 8 30 36,000.00


A1: Employee Name
B1: Total Package per day
C1: Starting Date
D1: Total Years so far
E1: Termination/ Resignation
F1: Total Gratuity days to be paid


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default Total Gratuity Leave Please help

In the sentence "If the employee resigns from 5 years till infinity years
his gratuity
pay will be 21 days for each year for each working day" what does "for each
working day" mean at the end?
Please explain the table at the end of your message. What it 'total 150',
what is 'day'

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Tia" wrote in message
...
I am trying to calculate the end of service gratuity.
The Rules are as follows:
Employee:
If the employee resigns under total years of service from 1 till 3
years his gratuity pay will be 7 days for each year
For each working day
If the employee resigns under total years of service from 3 till 5 his
gratuity will be 14 days
If the employee resigns from 5 years till infinity years his gratuity
pay will be 21 days for each year for each
working day
Total day Years Gratuity $ to be paid
150 1 7 1050
150 2 7 2100
150 3 14 6300
150 4 14 8400
150 5 21 15750
150 6 21 18900
150 7 21 22050


If the employers terminate the employee under total years of service
from 1 till 5 years his gratuity pay will be 21 days for each
year for each working day+ Ticket.
from 5 till infinity years his gratuity pay will be 30 days for each
year for each working day+ Ticket.


What I am looking for is a formula for F1 that allows me to get total
gratuity days to pay
Total Per Day Years Gratuity Total To be paid
150 1 21 3,150.00
150 2 21 6,300.00
150 3 21 9,450.00
150 4 21 12,600.00
150 5 21 15,750.00
150 6 30 27,000.00
150 7 30 31,500.00
150 8 30 36,000.00


A1: Employee Name
B1: Total Package per day
C1: Starting Date
D1: Total Years so far
E1: Termination/ Resignation
F1: Total Gratuity days to be paid



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 42
Default Total Gratuity Leave Please help

please put this formula in F1.
=IF(E1="r",IF(D1<3,7,IF(D1<5,14,21)),IF(D1<6,21,30 ))
I persume that in E1 it is the T or R. T for termination and R for
resignation. and in D1 it is number of years of service which is rounded off
to nearest number.

Thanks
Vijay


"Bernard Liengme" wrote:

In the sentence "If the employee resigns from 5 years till infinity years
his gratuity
pay will be 21 days for each year for each working day" what does "for each
working day" mean at the end?
Please explain the table at the end of your message. What it 'total 150',
what is 'day'

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Tia" wrote in message
...
I am trying to calculate the end of service gratuity.
The Rules are as follows:
Employee:
If the employee resigns under total years of service from 1 till 3
years his gratuity pay will be 7 days for each year
For each working day
If the employee resigns under total years of service from 3 till 5 his
gratuity will be 14 days
If the employee resigns from 5 years till infinity years his gratuity
pay will be 21 days for each year for each
working day
Total day Years Gratuity $ to be paid
150 1 7 1050
150 2 7 2100
150 3 14 6300
150 4 14 8400
150 5 21 15750
150 6 21 18900
150 7 21 22050


If the employers terminate the employee under total years of service
from 1 till 5 years his gratuity pay will be 21 days for each
year for each working day+ Ticket.
from 5 till infinity years his gratuity pay will be 30 days for each
year for each working day+ Ticket.


What I am looking for is a formula for F1 that allows me to get total
gratuity days to pay
Total Per Day Years Gratuity Total To be paid
150 1 21 3,150.00
150 2 21 6,300.00
150 3 21 9,450.00
150 4 21 12,600.00
150 5 21 15,750.00
150 6 30 27,000.00
150 7 30 31,500.00
150 8 30 36,000.00


A1: Employee Name
B1: Total Package per day
C1: Starting Date
D1: Total Years so far
E1: Termination/ Resignation
F1: Total Gratuity days to be paid




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 39
Default Total Gratuity Leave Please help

I suggest you use the LOOKUP function. On another sheet, create a table
similar to this:

Sheet2
Col A Col B
1 0 0
2 1 7
3 3 14
4 5 21

On your original sheet, enter this on F2 (assuming this is the 1st record):

=B1*lookup(D1,Sheet2!$A$1:$B4) - then copy down

Keep Col A in ascending order for the formula to work properly.

The above formula assumes the rule:
From 0 to <1yr = 0
From =1yr to <3yrs = 7
From =3yr to <5yrs = 14
From =5yr to infinity = 21

The formula need to be modified (entirely maybe?) should the rule be:
From 0 to <1yr = 0
From =1yr to <=3yrs = 7
From 3yr to <=5yrs = 14
From 5yr and above to infinity = 21

Hope this helps.

Tia wrote:
I am trying to calculate the end of service gratuity.
The Rules are as follows:
Employee:
If the employee resigns under total years of service from 1 till 3
years his gratuity pay will be 7 days for each year
For each working day
If the employee resigns under total years of service from 3 till 5 his
gratuity will be 14 days
If the employee resigns from 5 years till infinity years his gratuity
pay will be 21 days for each year for each
working day
Total day Years Gratuity $ to be paid
150 1 7 1050
150 2 7 2100
150 3 14 6300
150 4 14 8400
150 5 21 15750
150 6 21 18900
150 7 21 22050

If the employers terminate the employee under total years of service
from 1 till 5 years his gratuity pay will be 21 days for each
year for each working day+ Ticket.
from 5 till infinity years his gratuity pay will be 30 days for each
year for each working day+ Ticket.

What I am looking for is a formula for F1 that allows me to get total
gratuity days to pay
Total Per Day Years Gratuity Total To be paid
150 1 21 3,150.00
150 2 21 6,300.00
150 3 21 9,450.00
150 4 21 12,600.00
150 5 21 15,750.00
150 6 30 27,000.00
150 7 30 31,500.00
150 8 30 36,000.00

A1: Employee Name
B1: Total Package per day
C1: Starting Date
D1: Total Years so far
E1: Termination/ Resignation
F1: Total Gratuity days to be paid


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200909/1

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
Total Gratuity days to pay Tia[_3_] Excel Worksheet Functions 2 August 31st 09 04:43 PM
Total Leave Tia[_3_] Excel Worksheet Functions 6 January 15th 09 10:24 AM
Duplicate Running Total Grand Total In Pivot Table Mathew P Bennett[_2_] Excel Discussion (Misc queries) 1 August 17th 08 03:13 AM
set up absolute for 10% discount, then add in 22% gratuity Sue Excel Worksheet Functions 1 May 31st 08 11:27 PM
Excel 2002 : Any single button to get sub total and grand total ? Mr. Low Excel Discussion (Misc queries) 2 May 22nd 07 08:46 AM


All times are GMT +1. The time now is 06:22 AM.

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"