Don't Want Zero

P

Pam

I have a formula as follows:

=A28*0.8 in cell B28

If I do not enter anything in cell B28, I want B28 to be
empty instead of a zero.

ANY help would be greatly appreciated
 
J

John Wilson

Pam,

Did you mean A28????

If so, in cell B28, try the following:
=IF(A28=0,"",A28*0.08)

Another option:
Tools/Options/View and uncheck "Zero values"

John

John
 
J

John Wilson

Thomas,

Sometimes better to use
IF(A28=0)
which will evaluate to True for both a zero and a blank cell.
instead of
IF(A28="")
Which will evaluate to True only for a blank cell (not a zero)

John
 
T

Thomas

John said:
Thomas,

Sometimes better to use
IF(A28=0)
which will evaluate to True for both a zero and a blank cell.
instead of
IF(A28="")
Which will evaluate to True only for a blank cell (not a zero)

If A28 has a formula that returns "" it will evalulate to True.
I see your point though.
 
R

Random

Did you mean something like:

=If(a28<=0,"",a28*.80)

If that is entered into b28 then it will remain blank until
a value greater than 0 is entered into a28.
 
J

John Wilson

Thomas,
If A28 has a formula that returns "" it will evalulate to True.
Okay, I see your point too.

Maybe????:
=IF(OR(A28=0,A28=""),"Blank/Zero","Not Blank/Zero")

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top