# count the casual leave

#### SUNEXCELL

##### New Member
=12-IF(COUNTIF(L12:AP12,"LT")<=2,-COUNTIF(L12:AP12,"CL"),IF(COUNTIF(L12:AP12,"LT")>=3,ROUNDDOWN(COUNTIF(L12:AP12,"LT")/3-COUNTIF(L12:AP12,"CL"),0),"CALCULATION"))i am working out to find net result of casual leave after all deduction.but casual leave is deducting from source.for every 3 Lt's 1 CS has to dected from the net casual leave but i cant work out,.please help me to solve

### Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Replies
0
Views
126
Replies
2
Views
148
Replies
3
Views
120
Replies
13
Views
364
Replies
11
Views
363

1,195,582
Messages
6,010,579
Members
441,557
Latest member
Jbest23

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back