hi there can anyone help me with this problem, i have attached the excel file and written the problem in it.
it is like this a person earns 5 days leave for every completed month of duty and he accumulates 30 days in half yearly basis, month is to be counted only if first date is earlier than 15 of that particular month i.e if a person joins on 10 feb it will be counted but if he joins on 16 or later date that month wont be counted. now what i am trying is:
a. if i enter date in from column the to column should automatically take last date of that part of half year i.e. in above eg it should be 30 jun.
b. the remaining rows after that date should fill dates yearwise.
it is like this a person earns 5 days leave for every completed month of duty and he accumulates 30 days in half yearly basis, month is to be counted only if first date is earlier than 15 of that particular month i.e if a person joins on 10 feb it will be counted but if he joins on 16 or later date that month wont be counted. now what i am trying is:
a. if i enter date in from column the to column should automatically take last date of that part of half year i.e. in above eg it should be 30 jun.
b. the remaining rows after that date should fill dates yearwise.