I need formula to count number of full sick leave days based on balance remaining in ( Feb-2019 - D2) - for example: Code 3762 have remaining balance of full sick leave days is = 8 days , In case if I fill out "S" in Row 2 , It must be count number of sick leave days on F2 and not exceed the number of remaining balance in D2 .
Solved by Z. S. in 26 mins