View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default custom format cell, if value is 0, then write "-"

General;General;_-* "-"??_-;_-@_-

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Toto Sanderson" wrote in message
...
Hi all,

How can I custom a cell of hours so that 10 is 10 and 9.5 is 9.5. If value
is 0 then it'll write '-' in the cell

Thanks in advance!