IF Formulas

  • Thread starter Thread starter MrReeLady
  • Start date Start date
M

MrReeLady

I'm still relatively new to the formulas - can't do anything too complex yet
so this should be an easy one for all you experts out there.

I have cells that have basic Sum formula. If there is no value in any of
the preceding cells, the total cell shows $0.

I believe I can create a formula that says if the value is 0 then leave
blank. I don't want to see the $0.

Thanks!
 
This says that if the sum of cells A1 through A10 equals zero, then return
nothing ( "" ), else return the sum of A1 through A10.

=IF(SUM(A1:A10)=0,"",SUM(A1:A10))

HTH,
Paul
 
hi
replace your basic sum formaulas with this..
=if(Sum(A2:A10)=0,"",Sum(A2:A10))
or
=if(A9=0,"",A9)

lots of variations on this.

Regards
FSt1
 
If it is merely a display of the value "0" that you want to eliminate but
don't care if the content of the cell is "0" then under Tools\Options\View
uncheck the Zero values box
 

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

Similar Threads

Excel formula, sum the value cell and if empty cell left blank 0
Excel Need Countifs Formula Help 0
Blanks ("") by Formula 2
Formulas 1
formulas 4
Formatting 0 values to show blank cells 4
sum if 3
need help with formula 7

Back
Top