View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Amin Amin is offline
external usenet poster
 
Posts: 48
Default counting how many employees are scheduled to work by hour

Hi,

I am using the below formula to count how many employees are scheduled to
work by hour but it is not counting if the shift starts in the PM and ends in
the AM.

=SUMPRODUCT(($B$3:$B$24<=$A36)*($C$3:$C$24=$A37))

Thank you for your help in advance.
--
Amin