Conditional Formatting - Cell value is/text/scalc/01/05120100.xhp
Condition - Cell value is
Applies a cell style on the cell or cell range controlled by the condition set in the drop down list. The formatting is applied to each cell individually and the condition may depend on other cells values of the selected range.
Conditions for Text and Numbers
ConditionDescriptionis equal toThe cell value equals the user defined value in text box in the right. Use text inside quotes if you compare text values.is not equal toThe cell value is not equal (different) to the user defined value in the text box in the right. Use text inside quotes if you compare text values.begins withThe cell contents begins with the text or number defined in the text box on the right.ends withThe cell contents ends with the text or number defined in the right text box.containsThe cell contents contains the text or number defined in the right text box.does not containThe cell content does not contain the text or number defined in the text box on the right.
The condition applies to the internal text conversion of the cell contents. Numeric values are compared with their equivalent text representation. Numeric cell formats (currency, scientific, user-defined ... ) are not considered for comparisons.
Conditions on Numbers only
ConditionDescriptionis less thanThe cell value is strictly less than the user defined value in the text box in the right.is greater thanThe cell value is strictly greater than the user defined value in the text box in the right.is less than or equal toThe cell value is less than or equal to the user defined value in the text box in the right.is greater than or equal toThe cell value is greater than or equal to the user defined value in the text box in the right.is betweenThe cell value is between the two values defined in the text boxes on the right - lower and upper values - including the boundary values themselves.is not betweenThe cell value is not between the two values defined in the text boxes on the right - lower and upper values - including the boundary values themselves.is duplicateThe cell and at least one other cell in the range have equal contents.is not duplicateThe cell contents is unique in the range.is in top N elementsThe cell value is between the maximum value in the range and the Nth greater element of the same. Enter the value of N in the text box on the right.is in bottom N elementsThe cell value is between the minimum value in the range and the Nth lower element of the same. Enter the value of N in the text box on the right.is in top N percentThe cell range index value is in the top N percent of the number of cells in the range. For example, in a 20 cells range and N equals 20, the style is applied to the 4 last cells of the range. Enter the value of N in the text box on the right.is in bottom N percentThe cell range index value is in the bottom N percent of the number of cells in the range. For example, in a 20 cells range and N equals 20, the style is applied to the 4 first cells of the range. Enter the value of N in the text box on the right.is above averageThe cell value is strictly greater than the average of the cell range values.See note below.is below averageThe cell value is strictly less than the average of the cell range values.is above or equal averageThe cell value is greater or equal than the average of the cell range values.is below or equal averageThe cell value is less or equal than the average of the cell range values.
Conditions on Errors in Cells.
ConditionDescriptionis errorThe cell is in the error condition defined in the text box on the right. See List of Calc errors.is not errorThe cell is not in the error condition defined in the text box on the right. See List of Calc errors
A cell that references another cell with an error condition is not in error itself.