Reference Updated April 8, 2026

GT (>)

Category: Logical functions

Overview

Description

If the matching row on the first input is greater than the matching row in the second input, true (1) is returned, false (0) otherwise. Undefined values are treated as false (0).

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

Syntax

  • GT('Node1', 'Node2')

  • 'Node1' > 'Node2'

Parameters

  • Node1: First input node, specified using the node name in single quotes (e.g. 'Profit').

  • Node2: Second input node.


Examples

Checking whether one input is greater than another

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

Input node: A

YearValue
2025400
2026700
2027850
2028500

Input node: B

YearValue
2025350
2026400
2027850
2028600

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

Year→ GT Result
20251
20261
20270
20280

FunctionWhen to use instead
GTE (>=)When equality should also count as a match instead of requiring the first input to be strictly greater.
LT (<)When you need to check whether one input is less than another instead of checking for equality.
EQ (=)When you want to check for exact matches instead of a greater-than condition.
Was this page helpful?