formula not to return 0

ndendrinos

Well-known Member
Joined
Jan 17, 2003
Messages
1,694
How can I change this : =SUM(B17*E17)

And this : =SUM((G17)*(-$G$36))-(-G17)

not to show zero if referenced cells are blank (empty) using a similar formula : =IF(ISBLANK(A3),"",A3)
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Thank you VoG
While waiting for help I discovered that if I do this:
Tools/Option/View & I uncheck "zero values" then the problem is solved.

Is there a down side doing it this way ?

Well it does not work so I'll use the formula offered here instead
 
Last edited:
Upvote 0
The downside would be if you wanted to see if a particular cell contained 0.
 
Upvote 0
This is not an issue here but might as well learn something today so I will try to apply your suggestion to this :
=SUM((G17)*(-$G$36))-(-G17)

Please do not further help for now.
Give me a week to try to figure it out ... then if you feel like please help.
Thank you again
 
Upvote 0
I know...I know so it took less time than I thought ...

=IF(OR(G17="",$G$36=""),"",((G17)*(-$G$36))-(-G17))
 
Upvote 0

Forum statistics

Threads
1,214,840
Messages
6,121,895
Members
449,058
Latest member
Guy Boot

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top