View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default Hide Negative Numbers or Display as Zero

Try this:

=IF(D10="","",IF(ISTEXT(C10),D10,D10-C10)*24)

will display a blank if D10 is blank.

Hope this helps.

Pete

On Oct 24, 1:34 am, Me wrote:
I'm using Excel 2007 and can't figure out how to hide Negative Numbers or
dispay them as Zero. I'm making a timesheet and this is the formula I'm
using: =IF(ISTEXT(C10),D10,D10-C10)*24. When C10 is not text and I enter
8:00, F10 shows as -8.00. How can I hide this or display it as Zero until I
enter a value in D10?