Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Custom format show < +/-500 as zero not blank

With custom format to display in thousands, how do I get <500 and -500 to
display as zero instead of blank?
I am currently using #,###,_);(#,###,);0_) which shows 0 if value is zero,
but not if value 0 and <500.
I tried conditions, such as [=500]#,###,;[<=-500](#,###,) but can't figure
out what to do for (<500 and -500).

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Custom format show < +/-500 as zero not blank

One way:

[<=-500](#,##0,);[<500]\0_);#,##0,_)

Note, however, that negative values greater than -500 will display as -0.



In article ,
AnneM wrote:

With custom format to display in thousands, how do I get <500 and -500 to
display as zero instead of blank?
I am currently using #,###,_);(#,###,);0_) which shows 0 if value is zero,
but not if value 0 and <500.
I tried conditions, such as [=500]#,###,;[<=-500](#,###,) but can't figure
out what to do for (<500 and -500).

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Custom format show < +/-500 as zero not blank

Thanks! Building on that, I realized that ##,##0,_);(#,##0,);0_) will do
what I want. I just had to replace the last # with a 0.

"JE McGimpsey" wrote:

One way:

[<=-500](#,##0,);[<500]\0_);#,##0,_)

Note, however, that negative values greater than -500 will display as -0.



In article ,
AnneM wrote:

With custom format to display in thousands, how do I get <500 and -500 to
display as zero instead of blank?
I am currently using #,###,_);(#,###,);0_) which shows 0 if value is zero,
but not if value 0 and <500.
I tried conditions, such as [=500]#,###,;[<=-500](#,###,) but can't figure
out what to do for (<500 and -500).


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
How do I custom format $11 to show $11,000,000? Norine Excel Discussion (Misc queries) 4 May 10th 07 03:38 AM
I need a custom format of this number 70226 to show it 02/26/07. Forklift guy Excel Worksheet Functions 1 February 19th 07 06:18 PM
Using Date & Time Custom Cell - Need to show blank! JDB Excel Discussion (Misc queries) 3 July 12th 06 01:34 PM
Custom Format - show as decimal Heidi Excel Discussion (Misc queries) 4 June 30th 06 06:57 PM
how do I custom format .0040 to show as 40 ? rwtuning Excel Discussion (Misc queries) 3 June 18th 06 11:41 PM


All times are GMT +1. The time now is 09:42 PM.

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

About Us

"It's about Microsoft Excel"