View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom Peo Sjoblom is offline
external usenet poster
 
Posts: 3,268
Default Ref earlier post "Excel Time Calculation"

Try

=MAX(C2-TIME(,50,),0)


it's important that you format D2 as


hh:mm:ss

or

hh:mm

otherwise it defaults to AM/PM formatting and 0 will be returned as 12:00 AM


--


Regards,


Peo Sjoblom



"jc" wrote in message
...
For the formula in D2 "=C2-time(,50,) with no time in cell C2, can the
default value ####### be changed (to zero (0) or a blank cell)

Regards

jc