Leave entitlement

ambz123

Board Regular
Joined
Aug 27, 2020
Messages
53
Office Version
  1. 2019
Platform
  1. Windows
Hi,

I am task to create a leave management that auto calculates he pro-rated leave entitlement based on the following condition.

If the employee is SUP he will be entitled to 10 days of annual leave but it has to be pro-rated in accordance to his join date and every additional year he work we will add 1 day till max is 14 days.
While if the employee is NONSUP he will be entitled to 7 days of annual leave but same thing, the 7 days will be pro-rated in accordance to his join date when he first join the company. Every additional year he work with us, we will add 1 day leave till max is 14 days. Hope this clarifies the explanation.

Need some help in this.

Thank you.

Quote Reply
Report
 
ok, that clarified a bit.
what if someone joined 2 months ago, the leave this year should be 7*4/12 = 2 days?
 
Upvote 0

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
one more go

Book1
ABCDE
1Join dateStatusAnnual leave @31/12/2020
216/08/2019NONSUP77.57.33
302/11/2018NONSUP788.08
412/08/2014SUP101414.00
513/07/2018NONSUP78.58.42
630/04/2011NONSUP71414.00
707/07/2020NONSUP732.92
824/11/2017SUP101212.08
905/11/2015NONSUP71111.08
1019/05/2013SUP101414.00
1131/10/2018NONSUP788.17
1230/10/2020NONSUP700.00
Sheet1
Cell Formulas
RangeFormula
D1D1=DATE(YEAR(TODAY()),12,31)
D2:D12D2=MROUND(IF(DATEDIF(A2,$D$1,"M")<3,0,IF(DATEDIF(A2,$D$1,"Y")=0,C2*MOD(DATEDIF(A2,$D$1,"M"),12)/12,MIN(14,(C2+DATEDIF(A2,$D$1,"Y")-1+MOD(DATEDIF(A2,$D$1,"M"),12)/12)))),0.5)
E2:E12E2=IF(DATEDIF(A2,$D$1,"M")<3,0,IF(DATEDIF(A2,$D$1,"Y")=0,C2*MOD(DATEDIF(A2,$D$1,"M"),12)/12,MIN(14,(C2+DATEDIF(A2,$D$1,"Y")-1+MOD(DATEDIF(A2,$D$1,"M"),12)/12))))
 
Upvote 0
ok, that clarified a bit.
what if someone joined 2 months ago, the leave this year should be 7*4/12 = 2 days?
Hi Alan, for any one who joined less than 3 months are not entitled to any leave. But once they are more then 3 months then we will start to pro rate their leave. And continue to add up their leave but pro rated calculation
 
Upvote 0
Hi, I need some help over here. There is a set of new requirements for the following where my leave system has to follow. The condition is as follow:
Now we have to differential via their position for their leave entitlement.
leave.PNG
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top