Excel Formula

Shazir

Banned - Rules violations
Joined
Jul 28, 2020
Messages
94
Office Version
  1. 365
Platform
  1. Windows
Hi team,

I have been looking for a formula that will calculate prorated leave

my company is allowing 15 leaves per year to each employee.
If i want to offer prorated leaves as per the joining date then how to calculate the prorated leaves.

For example an employee come at 1st of April then after 6 months i have to offer 3 months leave to the employee.

any help would be highly appreciated.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
T202009a.xlsm
BCD
1StartEndLeave
21-Apr-201-Oct-207.520548
5c
Cell Formulas
RangeFormula
C2C2=EDATE(B2,6)
D2D2=(C2-B2)/365*15


Please clarify
1."For example an employee come at 1st of April then after 6 months i have to offer 3 months leave to the employee."?
2. accrual by months or days?
3. minimum accrual?
4. rounding?
 
Upvote 0
Dave Patton

Thank you so much Sir, i was looking for same solution.

Please clarify..
Sir i was looking for an idea to make it further and you gave me thanks alot.
 
Upvote 0

Forum statistics

Threads
1,215,028
Messages
6,122,749
Members
449,094
Latest member
dsharae57

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