The GT function in Google Sheets is an operator function that returns TRUE if the first argument is strictly greater than the second, and FALSE otherwise. It's equivalent to the > operator and is mainly useful when a function reference is needed instead of an inline symbol. Dive into our comprehensive guide to master its application.
Parameters
value1: The first value to compare.value2: The second value to compare.
Step-by-Step Tutorial
-
Using
GTto compare two numbers:- Example:
=GT(5, 3) - Result:
TRUE
- Example:
-
Using
GTwith cell references:- Example: If
A1is10andB1is20, then=GT(A1, B1)will returnFALSE.
- Example: If
Use Cases and Scenarios
- Data Comparison: Compare sales figures between two periods to flag growth.
- Grades Comparison: Identify students with scores higher than a threshold.
- Budgeting: Determine if expenses exceed a certain limit.
Related Functions
GTE: ReturnsTRUEif the first argument is greater than or equal to the second.LT: ReturnsTRUEif the first argument is strictly less than the second.EQ: ReturnsTRUEif two values are equal.