The Excel Gestep function tests whether a supplied number is greater than a supplied step size and returns:
where the function arguments are:
|number||-||The number to be tested|
|[step]||-||If [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.