Contents

# 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.

To access this command...

#### From the menu bar:

Choose Format - Conditional - Condition.

#### From the tabbed interface:

Choose Home - Conditional - Condition.

#### From toolbars:

Conditional Format

## Conditions for Text and Numbers

Condition | Description
--- | ---
is equal to | The 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 to | The 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 with | The cell contents begins with the text or number defined in the text box on the right.
ends with | The cell contents ends with the text or number defined in the right text box.
contains | The cell contents contains the text or number defined in the right text box.
does not contain | The 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

Condition | Description
--- | ---
is less than | The cell value is strictly less than the user defined value in the text box in the right.
is greater than | The cell value is strictly greater than the user defined value in the text box in the right.
is less than or equal to | The cell value is less than or equal to the user defined value in the text box in the right.
is greater than or equal to | The cell value is greater than or equal to the user defined value in the text box in the right.
is between | The 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 between | The 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 duplicate | The cell and at least one other cell in the range have equal contents.
is not duplicate | The cell contents is unique in the range.
is in top N elements | The 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 elements | The 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 percent | The 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 percent | The 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 average | The cell value is strictly greater than the average of the cell range values. See note below.
is below average | The cell value is strictly less than the average of the cell range values. See note below.
is above or equal average | The cell value is greater or equal than the average of the cell range values. See note below.
is below or equal average | The cell value is less or equal than the average of the cell range values. See note below.

This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.

## Conditions on Errors in Cells.

Condition | Description
--- | ---
is error | The cell is in the error condition defined in the text box on the right. See List of Calc errors.
is not error | The 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.

Related Topics

Conditional Formatting

Please support us!