Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 48
Default Formatting Worksheets

Is there anyway I can set up an entire worksheet that would display all zero
cells as dashes without writing a formula for each cell?
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Formatting Worksheets

Hi,
go to excel general options, advance , display options for this worksheet,
uncheck the one that says show a zero in cell that have zero value

if this helps please click yes, thanks

"Janie" wrote:

Is there anyway I can set up an entire worksheet that would display all zero
cells as dashes without writing a formula for each cell?
Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default Formatting Worksheets

Writing a formula in each cell wouldn't work because you would never be able
to enter your data without overwriting the formula. If you are not using any
Cell Formats on your worksheet, then you can try this Custom Cell Format...

0;-0;"-"

which, as written, assumes integer numbers in your cells. If you could have
floating point numbers, then you would need to change the zeroes to
something like this...

0.###;-0.###;"-"

where the number of # signs would equal the number of places to round your
values to (but note that whole numbers would display a trailing decimal
point). There is also a VB solution if you would like to consider that.

--
Rick (MVP - Excel)


"Janie" wrote in message
...
Is there anyway I can set up an entire worksheet that would display all
zero
cells as dashes without writing a formula for each cell?
Thanks


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
Formatting several worksheets the same heater Excel Discussion (Misc queries) 1 February 22nd 08 10:18 PM
Formatting Worksheets RBG Excel Discussion (Misc queries) 0 February 8th 08 03:08 PM
formatting in worksheets Vj Excel Worksheet Functions 0 October 13th 07 03:16 PM
Formatting worksheets Julie44265 Excel Discussion (Misc queries) 1 June 6th 07 10:32 PM
Formatting b/w Worksheets Beard Excel Worksheet Functions 1 July 30th 06 10:27 PM


All times are GMT +1. The time now is 10:09 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"