As per the link in my previous post, you can calculate the # employees on a given day with:
=SUMPRODUCT((D2:K2<>0)/COUNTIF(D2:K2,D2:K2))-(COUNTIF(D2:K2,"Nobody on Duty")<>0)*1
in L2 and copied down as far as needed.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|