View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default Ref earlier post "Excel Time Calculation"

Sorry, bracket missing from the end of my formula:

=IF(C2=0,0,C2-time(,50,))

Pete

On Nov 7, 7:03 pm, Pete_UK wrote:
Try this:

=IF(C2=0,0,C2-time(,50,)

Change the second 0 to "" if you want it to appear blank.

Hope this helps.

Pete

On Nov 7, 6:14 pm, jc wrote:



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- Hide quoted text -


- Show quoted text -