LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default dISPLAYING ZEROS

I misread your question initially and told you to do exactly what you're
doing now.

You have a couple of options for toggling the viewing of zero values without
going through Tools | Options.

Easiest way is to probably record 2 macros; 1 recording while using Tools |
Options to hide zero values and a second one to display them. Assign
shortcuts to them and use those shortcuts to toggle zero value display when
you want to.

Another, more complex, way would be to designate a cell to hold a "flag"
value (0 or 1) and use that as part of an IF(AND()) formula to hide/display
zero values.

Let's say you choose cell A1 as the 'flag' cell: when it has a 0 in it, you
do not want to see zero values, when it has something other than 0 in it, it
means you do want to see them.

Now, down in another cell you have a formula like =D5+D6 which may or may
not have a result of zero. If you set up the formula like this in that cell:
=IF(AND(A1=0,D5+D6=0),"",D5+D6)
But as I said, that's a little more complex and requires you to change all
existing formulas and to remember to 'wrap' any future formulas with the
IF(AND()) trap.

"Deb" wrote:

Is it possible to to change the default in excel so 0 values do not display
unless desired. As it is now EVERYZTIME I have to go into Windows/excel
options and unclick the display zero values...'

--
dbutcher

 
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
when i megre cells that begin with zeros , I lose the zeros RDC Excel Discussion (Misc queries) 1 November 16th 07 03:31 PM
Essbase: Text zeros to number zeros santhu Excel Discussion (Misc queries) 1 March 23rd 07 01:01 PM
not displaying zeros in a pivottable K. Gwynn Charts and Charting in Excel 1 May 14th 05 11:03 AM
save text field w/ leading zeros in .csv format & not lose zeros? Ques Excel Discussion (Misc queries) 1 May 4th 05 06:21 PM
Displaying leading zeros in an Excel spreadsheet marianthelibrarian Excel Discussion (Misc queries) 1 January 25th 05 02:08 PM


All times are GMT +1. The time now is 02:22 AM.

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

About Us

"It's about Microsoft Excel"