# GESTEP Function

> Test whether a number is greater than or equal to a threshold with the GESTEP formula function of TX Sheet Control: default threshold of 0, 1 or 0 results.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > GESTEP Function
- **185 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/gestep/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/gestep/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/gestep/llms-full.txt

---

Test whether a number is greater than or equal to a threshold and return 1 if it is, or 0 if it is not. `number1` is the value to test and `number2` the threshold (0 when omitted). Text that is not a number returns `#VALUE!`.

### Syntax

```text
GESTEP(number1, number2)
```

Category: Engineering. Minimum arguments: 1. Maximum arguments: 2.

Available for supported offline calculation.

### Examples

```text
=GESTEP(2,2)
```

The formula returns 1, because 2 is equal to the threshold.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [GEOMEAN Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/geomean/llms-full.txt)
- **Next:** [GETPIVOTDATA Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/getpivotdata/llms-full.txt)
