Can result of formula not display if =0

  • Thread starter Formula Result to Read No Value-Not Zero
  • Start date
F

Formula Result to Read No Value-Not Zero

My formula reads: =SUM(B6+B22+B42+B57)
The Result reads: "0" because there are no values in Cells B6, B22, B42 and
B57 yet.
How can I write the formula so the cell shows no value if it equals zero?
 
D

dkinn

you can try something like the following

=IF(SUM(B6+B22+B42+B57)=0,"",SUM(B6+B22+B42+B57))

if the sum = 0 it puts a blank otherwise it puts the sum total.

it's one workaround

David
 
B

Bob Phillips

You don't need SUM and +, either

=SUM(B6,B22,B42,B57)

or

=B6+B22+B42+B57



--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Formula Result to Read No Value-Not Zero" <Formula Result to Read No
Value-Not (e-mail address removed)> wrote in message
news:[email protected]...
 
K

KLamm

DKINN: Thank you. This works!

dkinn said:
you can try something like the following

=IF(SUM(B6+B22+B42+B57)=0,"",SUM(B6+B22+B42+B57))

if the sum = 0 it puts a blank otherwise it puts the sum total.

it's one workaround

David
 

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