Oct 03 2023 04:39 AM
I want to calculate the total leave balance from the date of joining till today(including today's day)
2.5 leaves per month (irrespective of days in the month)
So for Dr Hazem, the correct number should be 22.75
total period: Jan to September = 9 months & 3 days in October
= (9*2.5)+(3*2.5)/30
= 22.75 days leave balance
I know the calculation but doesn't know how to apply it in the Excel
the number 22.95 is based on the
((Current Date - joining Date)/30)*2.5
Oct 03 2023 05:02 AM
Oct 03 2023 05:27 AM
Oct 03 2023 10:49 PM - edited Oct 04 2023 12:03 AM
But if I change the current date to April ,30 2023
then it doesn’t show 12.5 while it should be 10
Basically if i put any date above 15 then number goes wrong
Oct 04 2023 12:03 AM
Oct 04 2023 12:17 AM
Oct 04 2023 03:16 AM