Returns `TRUE` if the first argument is strictly less than the second, and `FALSE` otherwise. Equivalent to the `<` operator. Learn more
In Google Sheets, the LT function is used to compare two values and determine if the first value is less than the second value. It returns TRUE if the first value is less, and FALSE if it is not. The function syntax is as follows:
LT(value1, value2)
"value1" is the first value or cell reference that you want to compare. "value2" is the second value or cell reference that you want to compare. Here's an example to demonstrate how to use the LT function:
Suppose you have the number 5 in cell A1 and the number 10 in cell B1. In cell C1, you can use the formula:
=LT(A1, B1)
The LT function will compare the values in cells A1 and B1. Since 5 is less than 10, the formula will return TRUE in cell C1.
If you have different values in cells A1 and B1, such as 10 and 5, the LT function will return FALSE because the first value is not less than the second value.