LT (<)

LT('Node1', 'Node2')

'Node1' < 'Node2'

In Logical functions

The LT function checks whether the matching row on the first input is less than the matching row in the second input; true (1) is returned, false (0) otherwise. Undefined values are treated as false (0).

Use this function when you need a 1/0 flag to mark where one input is less than another.

Parameters

Node1Node referenceRequired
First input node, specified using the node name in single quotes (e.g. 'Profit').
Node2Node referenceRequired
Second input node.

Example

Checking whether one input is less than another

This example compares two input nodes row by row. The result returns 1 where the first input is less than the second and 0 otherwise.

Input node: 'A'

YearValue
2025400
2026700
2027850
2028500

Input node: 'B'

YearValue
2025350
2026400
2027850
2028600

Formula: LT('A', 'B')

YearLT Result
20250
20260
20270
20281

See also

LTE (<=)
When equality should also count as a match instead of requiring the first input to be strictly less.
NEQ (!=)
When you want to check for any mismatch instead of specifically testing whether one input is smaller than another.
Was this page helpful?