View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
annem annem is offline
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).