=LTE(value1, value2)One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
| Parameter | Required | Description |
|---|---|---|
| value1 | Yes | The value being tested. |
| value2 | Yes | The maximum that value1 may reach. |
LTE is the function form of the <= comparison operator in Google Sheets. It takes two values and returns TRUE if the first value is less than or equal to the second, and FALSE otherwise. Writing =LTE(A2, B2) gives exactly the same result as writing =A2<=B2.
Most people reach for the operator because it is shorter, but the function form has its place. It reads clearly when you are nesting logic, it can be easier to explain to colleagues who are not comfortable with symbols, and it is what Sheets itself uses internally when it describes the operator in help tooltips and error messages.
<= OperatorGoogle Sheets maps each comparison operator to a named function:
| Function | Operator | Returns TRUE when |
|---|---|---|
| EQ | = | value1 equals value2 |
| NE | <> | value1 does not equal value2 |
| GT | > | value1 is greater than value2 |
| GTE | >= | value1 is greater than or equal to value2 |
| LT | < | value1 is less than value2 |
| LTE | <= | value1 is less than or equal to value2 |
There is no difference in behaviour between LTE and <=: same type rules, same blank handling, same results. Pick whichever makes the formula easier to read.
=LTE(B2, 40)Returns TRUE when hours worked are 40 or fewer.
=LTE(C2, D2)Returns TRUE when spend is at or under budget.
=LTE(A2, TODAY())Returns TRUE for dates up to and including today.
The comparison functions follow exactly the same rules as their operators, so it helps to know them:
"apple" and "APPLE" are treated as equal."100" typed with a leading apostrophe or imported from a CSV) can produce a surprising answer.0 in a numeric comparison and like an empty string "" in a text comparison.#N/A, the result is that error.Like the operator, LTE works element by element when wrapped in ARRAYFORMULA, which is handy for producing a whole column of TRUE/FALSE flags at once:
=ARRAYFORMULA(LTE(B2:B100, C2:C100))The result can feed straight into FILTER, COUNTIF-style logic via SUMPRODUCT, or conditional formatting.
LTE(A2, DATE(2026,10,26)) is FALSE for 26 Oct at 3pm. Compare INT(A2) instead.LTE(a, b) equals NOT(GT(a, b)) and GTE(b, a).=AND(LTE(A2, B2), C2<>"").EQ, NE, GT, GTE, LT, ISBETWEEN and IF. For counting or summing based on comparisons across a range, use COUNTIF or SUMIF with an operator criterion such as "<=100".
A project manager logs weekly hours per contractor. =LTE(B2, 40) in column C confirms which contractors stayed within the 40-hour cap, and anyone showing FALSE is reviewed for overtime approval.
Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.
Browse our complete library of Google Sheets formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.