View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default An if statment tat returns a true blank

You could use a custom number format for just that one cell instead of
suppressing 0's for the entire worksheet.

Format/Cells/Custom
#,###;(#,###);

The order for the formatting codes is Positive;Negative;Zero;Text. Then you
don't need IF's in your subsequent formulae.

Also, you could change your formula to
=MAX(0,-A4)



"D" wrote:

I need an if statment to return a true blank. I currently have
=IF(C129<0,C129*-1,"") as a formula, when fales it returns an empty cell
that returns #value when used in calcuations. I do not want it to return a
zero value, nor can I turn on the option to leave a cell blank for a
calculated zero value, due to other calculations that I need to return zero.

Thanks is advance