ID: Q173216
The information in this article applies to:
In Microsoft Excel 97, if you apply conditional formatting to a range of cells, the conditional formatting may unexpectedly be displayed in cells in the range that contain text.
This problem may occur if you apply a conditional format that uses "greater than," "greater than or equal to," "not equal to," or "not between." For example:
Cell Value Is greater than 5
Cell Value Is greater than or equal to 5
Cell Value Is not equal to 5
Cell Value Is not between 5 and 12
Specifically, the problem occurs because any text string has a value
greater than any number in Microsoft Excel. Microsoft Excel 97 does not
account for this fact when you use conditional formatting.
To prevent this problem from occurring, use "between" instead of "greater than" or "greater than or equal to" when you apply a conditional format to a range of cells.
When you use "between," you must enter two values:
Original Condition New Condition
-------------------------------------------------------------------
Cell Value Is Cell Value Is between 5.00000001 and 9.99E+307
greater than 5
Cell Value Is Cell Value Is between 5 and 9.99E+307
greater than or
equal to 5
When you do this, the conditional formatting is not displayed in cells that
contain text.
To prevent this problem from occurring, do not apply conditional formatting that uses either "not equal to" or "not between" to a cell that contains text.
This behavior is by design of Microsoft Excel 97.
In Microsoft Excel 97, you can use conditional formatting to force cells within a range to use specific formatting if certain conditions are true. For example, you can use conditional formatting to force all cells whose values are greater than 100 to appear in a bold, red font. To apply conditional formatting to a range of cells, select the range of cells, and click Conditional Formatting on the Format menu.
Additional query words: XL97
Keywords : xlformat
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: November 2, 1998