View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
S in AZ S in AZ is offline
external usenet poster
 
Posts: 6
Default mod formula used with midnight

We have a few employees who work an overnight shift. They work (4) 10 hours
shifts. Their shift begins at 630p and ends at 530am. Here is the formula I
am using to calculate the work week for our other employees who work duing
the day time hours, but I need help in adjusting it for our overnight shift.

=SUM((MOD(COLUMN(C4:P4),2)=0)*C4:P4)-SUM(((MOD(COLUMN(C4:P4),2)=1)*C4:P4))-SUM(--(IF(MOD(COLUMN(D4:Q4),2)=0,D4:Q4)-IF(MOD(COLUMN(C4:P4),2)=1,C4:P4)0.25))/48

(shift+ctrl+enter)

My current result is ####