Zero and Null Sum Function

  • Thread starter Frustrated by Averages
  • Start date
F

Frustrated by Averages

I have the following formula in place:
=IF(SUM(I14:N14)>1,SUM(I14:N14),"")

The problem I have is when zeros are legitimately entered in the reference
fields the sum formula leaves the cell blank instead of summing the cells
across to display a zero.

In essence how do I get the field to be blank when the reference cells are
blank and display a zero when the reference fields are filled with zeros?

I am sure it is simple, but my brain is locked up!
Thanks for your help in advance.
 
D

David Biddulph

Perhaps you intended to say not
=IF(SUM(I14:N14)>1,SUM(I14:N14),"")
but
=IF(COUNT(I14:N14)>1,SUM(I14:N14),"")
or
=IF(COUNT(I14:N14)=0,"",SUM(I14:N14)) ?
 
F

Frustrated by Averages

That worked. Thanks for your help!

David Biddulph said:
Perhaps you intended to say not
=IF(SUM(I14:N14)>1,SUM(I14:N14),"")
but
=IF(COUNT(I14:N14)>1,SUM(I14:N14),"")
or
=IF(COUNT(I14:N14)=0,"",SUM(I14:N14)) ?
--
David Biddulph




.
 

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