Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11
Default Conditional formatting

I am putting together a spread sheet with many formulas that track employee
performance. Not all formulas have values. Is there a way to Hide the formula
in a cell when there is not data for it to calculate?

Currently what is showing is "#DIV/0!". I would like to be able to print the
spread sheet out at any given time for a presentation and not have to read
arount the display that I am recieving when there is no data to calculate.

thank you
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4,624
Default Conditional formatting

One way:

If your formula giving you #DIV/0 is of the form

=A1/B1

then use

=IF(B1=0,"",A1/B1)





In article ,
THFish wrote:

I am putting together a spread sheet with many formulas that track employee
performance. Not all formulas have values. Is there a way to Hide the formula
in a cell when there is not data for it to calculate?

Currently what is showing is "#DIV/0!". I would like to be able to print the
spread sheet out at any given time for a presentation and not have to read
arount the display that I am recieving when there is no data to calculate.

thank you

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default Conditional formatting

You can use CF to change the font to match the background color using

FormatCFFormula is: =ISERROR(cellref)

I would prefer to trap the error in cell and leave the cell looking blank until
a number is entered.

=IF(B1="","",A1/B1) would trap for B1 having no value and return nothing.


Gord Dibben MS Excel MVP

On Tue, 9 Oct 2007 12:03:01 -0700, THFish
wrote:

I am putting together a spread sheet with many formulas that track employee
performance. Not all formulas have values. Is there a way to Hide the formula
in a cell when there is not data for it to calculate?

Currently what is showing is "#DIV/0!". I would like to be able to print the
spread sheet out at any given time for a presentation and not have to read
arount the display that I am recieving when there is no data to calculate.

thank you


  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11
Default Conditional formatting

Thank you for the suggestion. That took care of my issue.

"Gord Dibben" wrote:

You can use CF to change the font to match the background color using

FormatCFFormula is: =ISERROR(cellref)

I would prefer to trap the error in cell and leave the cell looking blank until
a number is entered.

=IF(B1="","",A1/B1) would trap for B1 having no value and return nothing.


Gord Dibben MS Excel MVP

On Tue, 9 Oct 2007 12:03:01 -0700, THFish
wrote:

I am putting together a spread sheet with many formulas that track employee
performance. Not all formulas have values. Is there a way to Hide the formula
in a cell when there is not data for it to calculate?

Currently what is showing is "#DIV/0!". I would like to be able to print the
spread sheet out at any given time for a presentation and not have to read
arount the display that I am recieving when there is no data to calculate.

thank you



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 Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
conditional formatting nishapurohit Excel Discussion (Misc queries) 1 January 30th 06 08:19 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM
Conditional formatting Gingosh Excel Discussion (Misc queries) 7 June 14th 05 04:21 PM


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