GESTEP function: Description, Usage, Syntax, Examples and Explanation
What is GESTEP function in Excel?
GESTEP function is one of Engineering functions in Microsoft Excel that returns 1 if number ≥ step; returns 0 (zero) otherwise. Use this function to filter a set of values. For example, by summing several GESTEP functions you calculate the count of values that exceed a threshold.
Syntax of GESTEP function
GESTEP(number, [step])
The GESTEP function syntax has the following arguments:
- Number: The value to test against step.
- Step(Optional): The threshold value. If you omit a value for step, GESTEP uses zero.
GESTEP formula explanation
If any argument is nonnumeric, GESTEP returns the #VALUE! error value.
Example of GESTEP function
Steps to follow:
1. Open a new Excel worksheet.
2. Copy data in the following table below and paste it in cell A1
Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.
You can adjust the column widths to see all the data, if need be.
Formula | Description | Result |
=GESTEP(5, 4) | Checks whether 5 is greater than or equal to the step value, 4. | 1 |
=GESTEP(5, 5) | Checks whether 5 is greater than or equal to the step value, 5. | 1 |
=GESTEP(-4, -5) | Checks whether -4 is greater than or equal to the step value, -5. | 1 |
=GESTEP(-1) | Checks whether -1 is greater than the default step value, 0. | 0 |