LT
The LT function in Google Sheets returns TRUE if the first argument is strictly less than the second, and FALSE otherwise. It is equivalent to the < operator. Use this function to compare values and determine if one is less than another.
Function Syntax and Parameters
Syntax: LT(value1, value2)
Parameters:
value1: The first value to compare.value2: The second value to compare.
Step-by-Step Tutorial
To use the LT function, follow these steps:
-
Provide the values to compare:
- Example:
=LT(5, 10) - Result:
TRUE
- Example:
-
Compare cell values:
- Example: If
A1has the value5andB1has the value10, then=LT(A1, B1)will returnTRUE.
- Example: If
Use Cases and Scenarios
Here are some use cases and scenarios where the LT function can be useful:
- Numeric Comparisons: Compare two numerical values to determine the smaller one.
- Conditional Formatting: Use the
LTfunction in conditional formatting rules to highlight cells that meet a specific condition. - Data Validation: Employ the
LTfunction in data validation rules to set restrictions on values based on their relationship.
Related Functions
LTE: ReturnsTRUEif the first argument is less than or equal to the second, andFALSEotherwise.GT: ReturnsTRUEif the first argument is strictly greater than the second, andFALSEotherwise.GTE: ReturnsTRUEif the first argument is greater than or equal to the second, andFALSEotherwise.