Cell empty if value is 0?????

  • Thread starter Thread starter hoyos
  • Start date Start date
H

hoyos

I have the following formula in cell "F160"
=IF($C160,C160,0)

If I wish cell "F160" to be empty if cell "C160" = 0
How do add to the formula
 
If you have a formula in F160 then it can't be empty (=ISBLANK(F160) returns
FALSE).

=IF(C160=0;"";C160) in F160 will display nothing.

Regards,
Stefi

„hoyos†ezt írta:
 
F160 can never be empty (since it contains the formula). But you can make it
look blank.

=if($c160=0,"",c160)

or maybe...

=if($c160="","",c160)

Is there a reason you used that $ in one portion, but not the other???
 
PhilosophersSage's formula will work if you are testing for the text string
"0".
Most other contributors to the thread assumed that by 0 you meant the number
0.
 
Back
Top