NOT EQUAL (!=)

The following section describes the syntax and usage of the NOT EQUAL (!=) function in ActivityInfo.

Description

The NOT EQUAL (!=) function is used to compare whether two values are unequal.

Syntax

value1 != value2

Argument Required Description
value1 Yes The first value you wish to compare.
value2 Yes The second value you wish to compare.

Result

  • TRUE if both values are unequal, or of different types.
  • FALSE if the values are equal.

Example

We will be using the NOT EQUAL (!=) function to evaluate whether two values are unequal, and using the IF function to return a value.

Arguments

We will be using the Quantity Field "Age" with Field code "AGE".

Formula

IF(AGE != 21,1,0)

Results