Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Toto Sanderson
 
Posts: n/a
Default custom format cell, if value is 0, then write "-"

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!

  #2   Report Post  
Posted to microsoft.public.excel.misc
Sloth
 
Posts: n/a
Default custom format cell, if value is 0, then write "-"

General;-General;-

"Toto Sanderson" wrote:

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!

  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default custom format cell, if value is 0, then write "-"

See answer in .programming

--
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!



  #4   Report Post  
Posted to microsoft.public.excel.misc
Cutter
 
Posts: n/a
Default custom format cell, if value is 0, then write "-"


Try a custom format of:

General;General;'-'


--
Cutter
------------------------------------------------------------------------
Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848
View this thread: http://www.excelforum.com/showthread...hreadid=516185

  #5   Report Post  
Posted to microsoft.public.excel.misc
Toto Sanderson
 
Posts: n/a
Default custom format cell, if value is 0, then write "-"

Thanks! It works!

"Sloth" wrote:

General;-General;-

"Toto Sanderson" wrote:

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!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - cell format switches to custom when switching language louisp Excel Discussion (Misc queries) 0 February 10th 06 07:23 PM
Cell data format falloutx Excel Discussion (Misc queries) 1 February 10th 06 02:46 PM
Format a cell with a custom number format Armor Excel Worksheet Functions 4 January 30th 06 12:25 AM
Why does Custom Format not control Cell Display? Dennis Excel Discussion (Misc queries) 1 June 11th 05 01:28 AM
How can I write an if-then formula for 0 or less than 0 in cell t. Baz1 Excel Worksheet Functions 1 November 30th 04 05:33 PM


All times are GMT +1. The time now is 03:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"