ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Conditional Formatting : Numbers & Texts Conflict (https://www.excelbanter.com/excel-worksheet-functions/103708-conditional-formatting-numbers-texts-conflict.html)

nayinky

Conditional Formatting : Numbers & Texts Conflict
 

Hi

I have put 2 conditional formats in a range of cells (A1:C5), i.e:

Condition 1: Cell Value Is greater than 10, blue pattern.
Condition 2: Cell Value Is less than 50, red font colour.

When i put number 5, it changed to red; 30 blue pattern. But why if I
put a text (e.g : N), it'll change to blue pattern also?

Kindly help me to solve this confussion :confused: .
Thanks


--
nayinky
------------------------------------------------------------------------
nayinky's Profile: http://www.excelforum.com/member.php...o&userid=37215
View this thread: http://www.excelforum.com/showthread...hreadid=569307


Biff

Conditional Formatting : Numbers & Texts Conflict
 
When i put number 5, it changed to red; 30 blue pattern. But why if I
put a text (e.g : N), it'll change to blue pattern also?


Because TEXT evaluates to be greater than ANY numeric value. Why is it like
that? I don't know, ask the programmers why they did that!

What you can do is use the Formula Is option and use something like this:

=AND(ISNUMBER(A1),A110)

Biff

"nayinky" wrote in
message ...

Hi

I have put 2 conditional formats in a range of cells (A1:C5), i.e:

Condition 1: Cell Value Is greater than 10, blue pattern.
Condition 2: Cell Value Is less than 50, red font colour.

When i put number 5, it changed to red; 30 blue pattern. But why if I
put a text (e.g : N), it'll change to blue pattern also?

Kindly help me to solve this confussion :confused: .
Thanks


--
nayinky
------------------------------------------------------------------------
nayinky's Profile:
http://www.excelforum.com/member.php...o&userid=37215
View this thread: http://www.excelforum.com/showthread...hreadid=569307




nayinky

Conditional Formatting : Numbers & Texts Conflict
 

Thanks for your help. Done for now ;)


--
nayinky
------------------------------------------------------------------------
nayinky's Profile: http://www.excelforum.com/member.php...o&userid=37215
View this thread: http://www.excelforum.com/showthread...hreadid=569307


Biff

Conditional Formatting : Numbers & Texts Conflict
 
You're welcome!

Biff

"nayinky" wrote in
message ...

Thanks for your help. Done for now ;)


--
nayinky
------------------------------------------------------------------------
nayinky's Profile:
http://www.excelforum.com/member.php...o&userid=37215
View this thread: http://www.excelforum.com/showthread...hreadid=569307





All times are GMT +1. The time now is 07:17 PM.

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