I am looking to see if there is a way to exclude weekends from a employee attendance register, it all works perfect, except in the visual calendar.
It use conditional formatting to color on a calendar what type of leave it is, no one works weekends.
If you input single days all fine, but when say enter 2 weeks it colors the weekends as well. Is there a way this can not occur.
This is the formula for for the conditional formatting.
=(MONTH(H9)=MONTH($C9))*(COUNTIFS(lstEmpNames,valSelEmployee,lstSdates,"<="&H9,lstEDates,">="&H9,lstHTypes,Settings!$C$2)>0)
Capture.PNG
It colors it different depending on type of leave this all works fine, just wondering if there is a way so the Saturday & Sunday don't get colored.
Bookmarks