1. Check if a score qualifies for honors
| Student | Subject | Score |
| Alice | Math | 92 |
=GESTEP(92,90)Result: 1
Alice's Math score of 92 is greater than or equal to the honors threshold of 90, so GESTEP returns 1. This indicates the score qualifies.
Returns 1 if a number is greater than or equal to a step value, 0 otherwise; ideal for flagging or counting values meeting a threshold.
=GESTEP(number, [step])Describe what you need. The generator will reach for GESTEP where GESTEP is the right tool, and tell you when it is not.
| Argument | Required | Description |
|---|---|---|
| number | Required | The numeric value to test (required). Can be a cell reference, literal, or formula result. Non-numeric values return #VALUE!. |
| step | Optional | The threshold to compare against (optional; defaults to 0 if omitted). Must be numeric; text causes #VALUE!. |
A numeric value: 1 (true) or 0 (false).
Excel: All · Google Sheets: Supported
| Student | Subject | Score |
| Alice | Math | 92 |
=GESTEP(92,90)Result: 1
Alice's Math score of 92 is greater than or equal to the honors threshold of 90, so GESTEP returns 1. This indicates the score qualifies.
| Student | Subject | Score |
| David | Math | 68 |
=GESTEP(68,70)Result: 0
David's Math score of 68 is less than 70, so GESTEP returns 0. This shows the score does not meet the passing threshold.
| Student | Subject | Score |
| Alice | Math | 92 |
| Alice | Science | 78 |
| Bob | Math | 85 |
| Carol | English | 95 |
| David | Math | 68 |
=SUMPRODUCT(GESTEP(D2:D6,70))Result: 4
GESTEP returns 1 for each score >= 70 and 0 otherwise. SUMPRODUCT sums these results: 92, 78, 85, and 95 all qualify (4 scores), while 68 does not.
| Error | Why it happens | How to fix it |
|---|---|---|
| #VALUE! | The number argument is text (e.g., a student name) instead of a numeric value. | Ensure the number argument references a column with numeric scores, not text identifiers like student names. |
| #VALUE! | The step argument is text (e.g., 'excellent') rather than a numeric threshold value. | Use a number for the step parameter, such as =GESTEP(92,90) instead of =GESTEP(92,'excellent'). |
| #VALUE! | A referenced cell contains non-numeric data or a formula error that GESTEP cannot evaluate. | Use IFERROR to handle error cells, or ensure source data is clean: =IFERROR(GESTEP(D2,70),0). |
The full generator is not scoped to one function — describe any spreadsheet problem and it will pick.
Open the formula generatorReviewed 2026-09-17