ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Conditional Formatting (https://www.excelbanter.com/excel-discussion-misc-queries/205689-conditional-formatting.html)

ck

Conditional Formatting
 
I have created a spreadsheet with 2 columns that I've created forumlas to
come up with percentages and basic production numbers. The error #DIV/0!
appears in the cell with the formula when no information is input into the
other cells that make up that formula. I want to hide that when no
information is available to complete the formula and unhide it when the
information is available automatically without changing formatting,
conditional or otherwise.

I figured out how to create the conditional format to show the text as white
when an error occurs, but I cant figure out how to turn that text back to
black (automatic) when there are numbers input to complete the formula.

Sheeloo[_2_]

Conditional Formatting
 
Try
=IF(ISERROR(A1),"",A1)

replace A1 by your formula in both instances

"CK" wrote:

I have created a spreadsheet with 2 columns that I've created forumlas to
come up with percentages and basic production numbers. The error #DIV/0!
appears in the cell with the formula when no information is input into the
other cells that make up that formula. I want to hide that when no
information is available to complete the formula and unhide it when the
information is available automatically without changing formatting,
conditional or otherwise.

I figured out how to create the conditional format to show the text as white
when an error occurs, but I cant figure out how to turn that text back to
black (automatic) when there are numbers input to complete the formula.


ck

Conditional Formatting
 
Oddly enough the very next topic in the Help Section pointed me in this exact
direction. Thanks for your input.

"Sheeloo" wrote:

Try
=IF(ISERROR(A1),"",A1)

replace A1 by your formula in both instances

"CK" wrote:

I have created a spreadsheet with 2 columns that I've created forumlas to
come up with percentages and basic production numbers. The error #DIV/0!
appears in the cell with the formula when no information is input into the
other cells that make up that formula. I want to hide that when no
information is available to complete the formula and unhide it when the
information is available automatically without changing formatting,
conditional or otherwise.

I figured out how to create the conditional format to show the text as white
when an error occurs, but I cant figure out how to turn that text back to
black (automatic) when there are numbers input to complete the formula.



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com