Im having trouble trying to exclude the weekdends from my sickness occasions formula
{=SUM(IF(FREQUENCY(IF(B1:B365>=(A1-365),IF(D1:D365="Sick",ROW(D1:D365))),IF(B1:B365>=(A1-365),IF(D1:D365<>"Sick",ROW(D1:D365)))),1))}
Sick database looks like
Date
01/01/19 Sick
02/01/19 Sick
03/01/19 Sick
04/01/19 Sick
05/01/19 Sick
Can covering it in an IF, tried Networkdays but none work
{=SUM(IF(FREQUENCY(IF(B1:B365>=(A1-365),IF(D1:D365="Sick",ROW(D1:D365))),IF(B1:B365>=(A1-365),IF(D1:D365<>"Sick",ROW(D1:D365)))),1))}
Sick database looks like
Date
01/01/19 Sick
02/01/19 Sick
03/01/19 Sick
04/01/19 Sick
05/01/19 Sick
Can covering it in an IF, tried Networkdays but none work