Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
PT PT is offline
external usenet poster
 
Posts: 17
Default Another Conditional Format Question

I've formatted a number of cells so that their contents "go blank" if the
cell value is zero, but display with their values otherwise. The "blank is
accomplished by setting the font color to "white".

Now is there either a conditional formatting or macro trick which would
enable me to only apply globally the conditional formatting when I want it?

In other words, the cells would normally show zero values, but could be
globally turned "blank" at my command.

--
PT


  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4,624
Default Another Conditional Format Question

One way would be to add a switch to your condition in the CF.

For instance:

Define HideZero as True (Insert/Name/Define). Then change the CF to

CF1: Formula is =AND(A1=0,HideZero)
Format1: <font/<backkground color

change HideZero to False (manually or by macro) to show the zero values.

OTOH, if you want to hide ALL zero values, it's probably easier to just
uncheck the Tools/Options/View/Zero Values checkbox.

In article , "PT"
wrote:

I've formatted a number of cells so that their contents "go blank" if the
cell value is zero, but display with their values otherwise. The "blank is
accomplished by setting the font color to "white".

Now is there either a conditional formatting or macro trick which would
enable me to only apply globally the conditional formatting when I want it?

In other words, the cells would normally show zero values, but could be
globally turned "blank" at my command.

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Another Conditional Format Question

Just to add to JE's reply...

change HideZero to False (manually or by macro) to show the zero values.


One way to do this would be to use a check box from the forms toolbar. Use
the linked cell as the "HideZero" switch.

Biff

"JE McGimpsey" wrote in message
...
One way would be to add a switch to your condition in the CF.

For instance:

Define HideZero as True (Insert/Name/Define). Then change the CF to

CF1: Formula is =AND(A1=0,HideZero)
Format1: <font/<backkground color

change HideZero to False (manually or by macro) to show the zero values.

OTOH, if you want to hide ALL zero values, it's probably easier to just
uncheck the Tools/Options/View/Zero Values checkbox.

In article , "PT"
wrote:

I've formatted a number of cells so that their contents "go blank" if the
cell value is zero, but display with their values otherwise. The "blank
is
accomplished by setting the font color to "white".

Now is there either a conditional formatting or macro trick which would
enable me to only apply globally the conditional formatting when I want
it?

In other words, the cells would normally show zero values, but could be
globally turned "blank" at my command.



  #4   Report Post  
Posted to microsoft.public.excel.newusers
PT PT is offline
external usenet poster
 
Posts: 17
Default Another Conditional Format Question

Beautiful - I never noticed this switch after using Excel for only14 years!

--

OTOH, if you want to hide ALL zero values, it's probably easier to just
uncheck the Tools/Options/View/Zero Values checkbox.

In article , "PT"
wrote:

I've formatted a number of cells so that their contents "go blank" if the
cell value is zero, but display with their values otherwise. The "blank
is
accomplished by setting the font color to "white".

Now is there either a conditional formatting or macro trick which would
enable me to only apply globally the conditional formatting when I want
it?

In other words, the cells would normally show zero values, but could be
globally turned "blank" at my command.



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
conditional format question Anthony Excel Worksheet Functions 4 March 8th 07 08:17 PM
Conditional Format Question Karl Excel Discussion (Misc queries) 5 January 11th 07 11:55 PM
Conditional format question Richard Excel Discussion (Misc queries) 6 September 30th 06 01:19 AM
Conditional Format Question carl Excel Worksheet Functions 3 June 28th 06 03:42 PM
Conditional format question [email protected] Excel Discussion (Misc queries) 7 September 16th 05 04:15 PM


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