ExcelBanter

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

LorrieM

Conditional Formatting - 2 conditions
 
Excel 2003
The cell to conditionally format is a reference name. The reference name
will not always be valid
I would like to format on 2 conditions, one as an error (to format as blank)
when the reference name does not exist, and second to format without the
error.
I am successful on the first condition with the following:
Formula Is =ISERROR(#NAME?) with font color of white
I can not get the second condition to work. Nothing I have tried overrides
the first condition. (The referenced name is valid, but formatting does not
change.)
Any suggestions on what the second condition would like?
--
Appreciate your help!

Sheeloo

Conditional Formatting - 2 conditions
 
Assuming you are trying to highlight cell A1
=ISERROR(#NAME?)
is always true hence your second condition is not being evaluated
use
=ISERROR(A1)
it will be true if A1 has #NAME? error, false otherwise

"LorrieM" wrote:

Excel 2003
The cell to conditionally format is a reference name. The reference name
will not always be valid
I would like to format on 2 conditions, one as an error (to format as blank)
when the reference name does not exist, and second to format without the
error.
I am successful on the first condition with the following:
Formula Is =ISERROR(#NAME?) with font color of white
I can not get the second condition to work. Nothing I have tried overrides
the first condition. (The referenced name is valid, but formatting does not
change.)
Any suggestions on what the second condition would like?
--
Appreciate your help!


LorrieM

Conditional Formatting - 2 conditions
 
Worked Great - Thanks
--
Appreciate your help!


"Sheeloo" wrote:

Assuming you are trying to highlight cell A1
=ISERROR(#NAME?)
is always true hence your second condition is not being evaluated
use
=ISERROR(A1)
it will be true if A1 has #NAME? error, false otherwise

"LorrieM" wrote:

Excel 2003
The cell to conditionally format is a reference name. The reference name
will not always be valid
I would like to format on 2 conditions, one as an error (to format as blank)
when the reference name does not exist, and second to format without the
error.
I am successful on the first condition with the following:
Formula Is =ISERROR(#NAME?) with font color of white
I can not get the second condition to work. Nothing I have tried overrides
the first condition. (The referenced name is valid, but formatting does not
change.)
Any suggestions on what the second condition would like?
--
Appreciate your help!



All times are GMT +1. The time now is 07:00 AM.

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