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

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Dave Patton

Well-known Member
Joined
Feb 15, 2002
Messages
4,662
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
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?
 

Shazir

Banned - Rules violations
Joined
Jul 28, 2020
Messages
94
Office Version
  1. 365
Platform
  1. Windows
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,129,835
Messages
5,638,621
Members
417,038
Latest member
VBAstudent1977

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
Top