ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   conditional formatting with numbers and text (https://www.excelbanter.com/excel-worksheet-functions/50842-conditional-formatting-numbers-text.html)

Daniel

conditional formatting with numbers and text
 
I have a cell in a worksheet that is will have two types of inputs: numeric
range from 3,000 to 150,000, and also the word "hourly"

I have conditionally formatted this cell to highlight when the value is
10,000 or greater. the conditional formatting also extends to other cells in
the same row to be highlighted as well.

my problem is that when i enter the text "hourly", the conditional
formatting is triggered and all the cells are highlited. i do not want that
to happen.

any ideas are greatly appreciated.

i think excel is evaluating the word to large number, but i am not sure.

Peo Sjoblom

conditional formatting with numbers and text
 
You need to edit the conditions, use formula is as opposed to cell value and
then test for number

as an example

=AND(ISNUMBER(A1),A110000)

that is because text is always greater than a number in Excel
the above will not trigger since the first condtion will be false

Regards,

Peo Sjoblom

"Daniel" wrote in message
...
I have a cell in a worksheet that is will have two types of inputs:

numeric
range from 3,000 to 150,000, and also the word "hourly"

I have conditionally formatted this cell to highlight when the value is
10,000 or greater. the conditional formatting also extends to other cells

in
the same row to be highlighted as well.

my problem is that when i enter the text "hourly", the conditional
formatting is triggered and all the cells are highlited. i do not want

that
to happen.

any ideas are greatly appreciated.

i think excel is evaluating the word to large number, but i am not sure.





All times are GMT +1. The time now is 05:27 PM.

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