GTE in Google Sheets: Inclusive Targets and Minimum Quantities
Use GTE in Google Sheets to include equality in target and minimum-quantity checks, with fixed-threshold examples and clear boundary troubleshooting.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: =GTE(25,25) has expected result TRUE. GTE tests whether its first value is greater than or equal to its second, so hitting the threshold counts as success.
Syntax and parameters
=GTE(value1, value2)
Both values are required; there are no optional parameters or defaults. The Google GTE reference documents the equivalence to >=.
For numeric values, =GTE(B2,C2) and =B2>=C2 ask the same question. Put the amount being evaluated first and the threshold second. GTE returns a Boolean, not a difference, rank or completion percentage.
Worked example: meet a packing minimum
Enter the following in A1:C5:
| Row | A: Batch | B: Packed units | C: Required units |
|---|---|---|---|
| 1 | Batch | Packed units | Required units |
| 2 | A | 18 | 20 |
| 3 | B | 20 | 20 |
| 4 | C | 23 | 20 |
| 5 | D | 30 | 30 |
Enter Minimum met in D1. Fill this formula from D2 to D5:
=GTE(B2,C2)
Expected results: FALSE, TRUE, TRUE, TRUE. Batch B meets the minimum exactly. Batch C exceeds it. Both pass this particular condition, although the distinction may matter elsewhere.
To produce a readable action label, use:
=IF(GTE(B2,C2),"Ready","Pack more")
Expected labels are Pack more, Ready, Ready, Ready. “Ready” here means only that the quantity minimum is met. It does not verify quality checks, shipping approval or any other condition absent from the formula.
Calculate the remaining quantity
A separate formula can report how many more units are required:
=IF(GTE(B2,C2),0,C2-B2)
Expected values for rows 2 through 5: 2, 0, 0, 0. This rule caps the remaining quantity at zero after the target is met. If an excess quantity matters, calculate =B2-C2 in a different column rather than discarding its sign.
This example illustrates the difference between testing a condition and measuring it. A TRUE result alone cannot distinguish an exact match from a large surplus.
Advanced application: an adjustable minimum
Place 12 in F1 as a minimum item count. Enter 8, 12, 15 in F3:F5. In G3, enter and fill down:
=GTE(F3,$F$1)
Expected results: FALSE, TRUE, TRUE. If the minimum becomes 15, changing F1 to 15 gives FALSE, FALSE, TRUE without editing each comparison. Locking both the threshold row and column prevents a copied formula from drifting to an unintended cell.
When a rule has several bands, order the thresholds carefully. With a numeric score in H2:
=IF(GTE(H2,90),"High",IF(GTE(H2,70),"Standard","Below standard"))
For independent H2 inputs 69, 70, 89, 90, expected labels are Below standard, Standard, Standard, High. Check the higher threshold first; otherwise a score of 90 would already satisfy the 70 branch. These are illustrative internal labels, not an external grading standard.
Greater than or greater than or equal?
| Input comparison | GTE result | Strict greater-than result |
|---|---|---|
| 19 compared with 20 | FALSE | FALSE |
| 20 compared with 20 | TRUE | FALSE |
| 21 compared with 20 | TRUE | TRUE |
Google’s GT reference describes the strict version. Choose GTE for “at least,” “minimum reached” and other rules that include the boundary. Choose a strict comparison only when the wording actually excludes it.
Errors and troubleshooting
- Verify which argument is the threshold.
=GTE(20,18)and=GTE(18,20)have different results. - Check stored precision if a rounded display seems to meet the threshold but the test fails.
- Compare like units and distinguish numeric quantities from imported text.
- Inspect the copied cell references and any source errors.
- Keep Boolean results separate from text labels when later calculations need the logical values.
The reviewed reference does not enumerate all native error tokens, blank and text conversions, or array behavior. This guide does not generalize the scalar examples into an unverified coercion contract.
Availability and verification
GTE appears in the current rolling Google Sheets documentation. Original introduction date, first supported release and last functioning numbered version were not established. No compatibility claim for a different spreadsheet application is implied by the familiar operator.
NOT_TESTED_IN_GOOGLE_SHEETS. Google’s individual GTE and GT pages were inspected on October 17, 2026. Numeric comparisons and decision labels were independently checked, without a Sheets session or screenshots.