ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   To have the cell blank please (https://www.excelbanter.com/excel-worksheet-functions/35464-have-cell-blank-please.html)

Steved

To have the cell blank please
 
Hello from Steved

Using the below what would I need to do to have the cell blank as at the
moment it is showing a 0 value

=SUM(B389:B413)

Thankyou.

Anne Troy

Hi, Steve. :)

=if(sum(B389:B413)=0,"",sum(B389:B413))
*******************
~Anne Troy

www.OfficeArticles.com


"Steved" wrote in message
...
Hello from Steved

Using the below what would I need to do to have the cell blank as at the
moment it is showing a 0 value

=SUM(B389:B413)

Thankyou.




Max

If what you're after is a neat, uncluttered look, think you could consider
switching off zero values display in the sheet via:
Tools Options Uncheck "Zero values" OK

This option averts the need to change existing formulas or to increase their
complexities to produce blanks: "" (null strings) via adding on error traps,
e.g.: =IF(SUM(B389:B413)=0,"",SUM(B389:B413)=0)
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Steved" wrote in message
...
Hello from Steved

Using the below what would I need to do to have the cell blank as at the
moment it is showing a 0 value

=SUM(B389:B413)

Thankyou.




Max

Typo:
e.g.: =IF(SUM(B389:B413)=0,"",SUM(B389:B413)=0)


should read:
e.g.: =IF(SUM(B389:B413)=0,"",SUM(B389:B413))

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----



Max

Another typo, sorry:
Tools Options Uncheck "Zero values" OK


should read as:
Tools Options View tab Uncheck "Zero values" OK


--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----



Steved

Thankyou Anne

"Anne Troy" wrote:

Hi, Steve. :)

=if(sum(B389:B413)=0,"",sum(B389:B413))
*******************
~Anne Troy

www.OfficeArticles.com


"Steved" wrote in message
...
Hello from Steved

Using the below what would I need to do to have the cell blank as at the
moment it is showing a 0 value

=SUM(B389:B413)

Thankyou.






All times are GMT +1. The time now is 10:51 AM.

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