View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Lucy Lucy is offline
external usenet poster
 
Posts: 37
Default How do i subtract a half hour from a time when 8 hrs.

I want a spread sheet that will calculate the hours and min between two times
and when the hours worked are greater than 8 i want to subtract a half hour.
I have =IF(((INT(B6-A6)*24)).*),(INT((B6-A6*24)-0.5),(INT((B6-A6*24)))
when B6 is the finish time and A6 is the start time
the formula i have now only shows me the hours worked and i need the exact
hours and min.