Data Validation Conditional Operators

Conditional operators in the data validation rule builder can include these types of comparisons:

Rules can compare cells with different data types, for example, text and Smart List. The data type of the cell is honored if the referenced value always comes from one cell. This is the case when using Current Cell Value and Cross Dim Member to refer to a cell value. In cases where the value being compared comes from multiple cells (such as row value, column value, and cell value), the data type is defaulted to double.

Note these considerations when comparing values for these data types:

Table 58.  Examples of Results for Starts With, Ends With, and Contains

OperatorCompare Value Compare To Value
Starts With2.02
 1234.012.0
 101.010
 2.02.0
 2.52.
 YearTotalYear
Ends With 2.02.0
 2.02
 2.55
 2.5.5
 YearTotalal
 YearTotalTotal
Contains2.02.0
 2.02
 2.55
 2.5.5
 2.52.5
 23.5673.5
 23.56767
 23.56723.
 23.567.56
 YearTotalal