ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Can result of formula not display if =0 (https://www.excelbanter.com/excel-programming/383258-can-result-formula-not-display-if-%3D0.html)

Formula Result to Read No Value-Not Zero

Can result of formula not display if =0
 
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?

dkinn

Can result of formula not display if =0
 
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

"Formula Result to Read No Value-Not Zero" wrote:

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?


Bob Phillips

Can result of formula not display if =0
 
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 wrote in message
...
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?




KLamm

Can result of formula not display if =0
 
DKINN: Thank you. This works!

"dkinn" wrote:

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

"Formula Result to Read No Value-Not Zero" wrote:

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?



All times are GMT +1. The time now is 09:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com