Dear All,
Kindly ignore earlier attachment and please consider the revised one.
sorry for the inconvenience caused.
the attached calculator calculates gratuity only for completed years of service.
if person works for 240 days in last year then that should be considered as completed year.
e.g. if person works for 4 years and 240 days of 5th year then his working should be considered as 5 years.
in calculation of continuous service consider Actual working+Weekly Offs+ Compensatory offs+Paid Holiday+ Paid Leaves