Excel Time Duration Formula

  • Thread starter Thread starter RudeRam
  • Start date Start date
R

RudeRam

I am using the following formula to get a time duration, however it wil
not work wihen time starts before midnight and ends after midnight.
need to keep the results the same i.e. Duration is 1.8

=IF(OR(A1="",B1=""),"",HOUR(B1-A1)+MINUTE(B1-A1)/60)

Thanks for any hel
 
Back
Top