Hello Sir,
Yes, you are right manual calculation not seems correct.
There should be met other condition.
Example -1 from my spreadsheet
Employee code :- A2
Employee Name :- BB
His Leave record in a year
Opening Balance = 10
Annual entitlement = 33
Approved Leave = 03
There should be manual calculation (10+33-3-8=32) (Approved leave include in one third deduction)
Example -2 from my spreadsheet
Employee code :- A12
Employee record :- MS
His Leave record in a year
Opening Balance = 66
Annual entitlement = 33
Approved Leave = 15
There should be manual calculation (66+33-15=84)
There should not deduct from entitlement because he has taken more than 11.
Shanu