The Excel Gestep function tests whether a supplied number is greater than a supplied step size and returns:
|-||TRUE if number ≥ step size|
|-||FALSE if number < step size|
The syntax of the function is :
where the function arguments are:
|number||-||The number to be tested|
An optional argument, that defines the step size that the number is to be compared toIf [step] is omitted, the default value 0 is used
The spreadsheets below show four examples of the Excel Gestep function.
The formulas are shown in the spreadsheet on the left and the results are shown in the spreadsheet on the right.
Note that the function in cell A4 is the same as that in cell A3 as, if the [step] argument is omitted, it uses the default value 0.
Further examples of the Excel Gestep function can be found on the Microsoft Office website.
If you get an error from the Excel Gestep function this is likely to be one of the following :
|#VALUE!||-||Occurs if any of the supplied arguments are non-numeric|
Occurs when Analysis ToolPak add-in is not enabled in your Excel.