Hi all,
I am creating an absent tracker for my department and have stumbled across an issue. I would like to keep track of the total amount of sick leave, dependency leave and compassionate leave days for the year. I would also like to include half days (AM/PM).
I have tried the following formula
=COUNTIF(C2:G2,"S")+((COUNTIF(C2:G2,"SAM")+COUNTIF(C2:G2,"SPM")+COUNTIF(C2:G2,"DL")+COUNTIF(C2:G2,"DL-AM")+COUNTIF(C2:G2,"DL-PM")+COUNTIF(C2:G2,"CL")+COUNTIF(C2:G2,"CL-AM")+COUNTIF(C2:G2,"CL-PM"))/2)
This formula reports some of the entries as 1 and 0.5. However, a few just show as 0.5 instead of 1 or vice versa?
Please find the sample worksheet link below
https://docs.google.com/spreadsheets/d/1vNkLueL-OSFgbkpsr7yPaedM55-HFqCUoKw9X4LENTg/edit?usp=sharing
Any help would be much appreciated
Thank you
I am creating an absent tracker for my department and have stumbled across an issue. I would like to keep track of the total amount of sick leave, dependency leave and compassionate leave days for the year. I would also like to include half days (AM/PM).
I have tried the following formula
=COUNTIF(C2:G2,"S")+((COUNTIF(C2:G2,"SAM")+COUNTIF(C2:G2,"SPM")+COUNTIF(C2:G2,"DL")+COUNTIF(C2:G2,"DL-AM")+COUNTIF(C2:G2,"DL-PM")+COUNTIF(C2:G2,"CL")+COUNTIF(C2:G2,"CL-AM")+COUNTIF(C2:G2,"CL-PM"))/2)
This formula reports some of the entries as 1 and 0.5. However, a few just show as 0.5 instead of 1 or vice versa?
Please find the sample worksheet link below
https://docs.google.com/spreadsheets/d/1vNkLueL-OSFgbkpsr7yPaedM55-HFqCUoKw9X4LENTg/edit?usp=sharing
Any help would be much appreciated
Thank you