The Excel Gestep function tests whether a supplied number is greater than a supplied step size and returns:
The syntax of the function is:
where the function arguments are:
number | - | The number to be tested. |
[step] | - |
An optional argument, that defines the step size that the supplied number is to be compared to. If [step] is omitted, the default value 0 is used. |
The spreadsheets below show four examples of the Excel Gestep function.
Formulas:
|
Results:
|
Note that in cell A4, the [step] argument is omitted from the function and therefore uses the default value 0. Therefore, this function is the same as the function in cell A3.
Further examples of the Excel Gestep function are provided on the Microsoft Office website.
If you get an error from the Excel Gestep function this is likely to be the #VALUE! error:
#VALUE! | - | Occurs if one or both of the supplied arguments are non-numeric. |