Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Hiding null sums

I have a spreadsheet that calculates sums across a varying
number of columns. The problem is that when there is no
data in the cells, I get a display of ########. This
doesn't look too pretty on paper, and I'd like to get rid
of unused Sums, or at least hide the pound signs. Any
suggestions on how to do this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Hiding null sums


"Chris M." wrote in message
...
I have a spreadsheet that calculates sums across a varying
number of columns. The problem is that when there is no
data in the cells, I get a display of ########. This
doesn't look too pretty on paper, and I'd like to get rid
of unused Sums, or at least hide the pound signs. Any
suggestions on how to do this?


Search Excel help for # and you will see that :
A ##### error value occurs when the cell contains a number, date, or time
that is wider than the cell or when the cell contains a date and/or time
formula that produces a negative result.
If the cells are indeed blank as you say, the result should be 0.

Bob L.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Hiding null sums

You are correct. My formulas were wrong, and now they
display a "-". Any help in removing these would also be
appreciated. Thanks in advance.
-----Original Message-----

"Chris M." wrote in message
...
I have a spreadsheet that calculates sums across a

varying
number of columns. The problem is that when there is no
data in the cells, I get a display of ########. This
doesn't look too pretty on paper, and I'd like to get

rid
of unused Sums, or at least hide the pound signs. Any
suggestions on how to do this?


Search Excel help for # and you will see that :
A ##### error value occurs when the cell contains a

number, date, or time
that is wider than the cell or when the cell contains a

date and/or time
formula that produces a negative result.
If the cells are indeed blank as you say, the result

should be 0.

Bob L.


.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Hiding null sums

Chirs,
Create a custom format by right clicking on the cell and picking format
cells. Then in number tab pick custom and roll your own there (see Excel
help for more about custom formats). For example you could use this as the
custom format:

#,##0_);[Red]General;""

(It sets the format for positive numbers;negative numbers; zero. The "" is
a zero length string meaning show that when the result is zero. I think that
is what you want)

Bob L.




"Chris M." wrote in message
...
You are correct. My formulas were wrong, and now they
display a "-". Any help in removing these would also be
appreciated. Thanks in advance.
-----Original Message-----

"Chris M." wrote in message
...
I have a spreadsheet that calculates sums across a

varying
number of columns. The problem is that when there is no
data in the cells, I get a display of ########. This
doesn't look too pretty on paper, and I'd like to get

rid
of unused Sums, or at least hide the pound signs. Any
suggestions on how to do this?


Search Excel help for # and you will see that :
A ##### error value occurs when the cell contains a

number, date, or time
that is wider than the cell or when the cell contains a

date and/or time
formula that produces a negative result.
If the cells are indeed blank as you say, the result

should be 0.

Bob L.


.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to save table attributes of (null) into (null). Luca Brasi Excel Discussion (Misc queries) 2 February 4th 09 04:30 PM
How to add previous sums in a column to current sums in a column? TD Excel Worksheet Functions 1 September 30th 06 02:55 PM
Hiding a button when hiding rows fergusor Excel Discussion (Misc queries) 2 August 10th 06 02:31 PM
cell value based on null/not null in another cell spence Excel Worksheet Functions 1 February 18th 06 11:49 PM
Global hiding null rows PierreL Excel Discussion (Misc queries) 2 December 16th 04 09:49 AM


All times are GMT +1. The time now is 05:43 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"