View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
iamtaranicole iamtaranicole is offline
external usenet poster
 
Posts: 3
Default calculating time, overtime in excel [h]:mm format

=IF(D36$D$1,D36-$D$1," ")
Thanks everyone This formula worked also where $d$1=40:00

"iamtaranicole" wrote:

I am trying to complete a spreadsheet in hour and minute format that will
calculate the overtime for each employee over 40 hours. If I have someone
with 45:30 hours and want to have excel calculate the hours of overtime in
the next column What formula would I use?
=MAX(0,D35-40) doesn't work
=IF($D3540,SUM($D35,-40)," ") doesn't work