Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conditional blank cell with a sum 2

Status
Not open for further replies.

Hacim

Technical User
Sep 5, 2002
63
US
Using Excel 2002 sp3

I am trying to create a formula that will keep the cell with the range total, blank until a number has been input into the cell that is been summed.
This is what I have tried with no sucess.
=IFSUM(B28)=" "," ",SUM(B17:B28)
Thanks for any help.
 
=IF(SUM(B17:B28)=0,"",SUM(B17:B28))

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
Now I am getting a #VALUE in the cell when I try this formula =IF(SUM(J28)=0,"",SUM(J17:J28))/1000
 
You can't divide ""/1000. That is like dividing cat/1000. It just doesn't make sense.

Instead of returning "", return 0.

Also, if you are only testing a single cell, there is no need for the SUM.

Try this:

=IF(J28=0,0,SUM(J17:J28))/1000

What is in J28? Is that a formula summing J17:J28?

[tt]_____
[blue]-John[/blue][/tt]
[tab][red]The plural of anecdote is not data[/red]

Help us help you. Please read FAQ181-2886 before posting.
 
=IF(SUM(J17:J28)=0,"",SUM(J17:J28)/1000)

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
Since I was only evaluating one cell as anotherhiggins mentioned, I used his formula =IF(J28=0,0,SUM(J17:J28))/1000
and went to the tools-options- view tab and unchecked "zero values" so any cell with a zero value would be blank. (which is what my anal boss requested) Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top