View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
D D is offline
external usenet poster
 
Posts: 121
Default An if statment tat returns a true blank

Thank you all for the suggestions, I think that the quickest way to
accomplish what I need is simply to sort the data then delete the zero
values, what I have been doing all along! I need the process to be as simple
as possible since other users will be copying down the formula and
manipulating the data.

"JMB" wrote:

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