View Single Post
  #2   Report Post  
Niek Otten
 
Posts: n/a
Default

=B1-A1+(B1<A1)

Format as time (copy the format from A1)
If you need the time to calculate (to multiply with an hourly rate), use *24
like in your first formula.

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"JAS123" wrote in message
...
When calculating Time (H:mm:ss) using formula (B1-a1+(b1<A1))*24 how do I
get
the answer in H:MM:SS

EX: A1 = 22:54:33
B1 = 3:22:54 Using above formula I get 4.4725