The Excel GESTEP Function

Related Function:
DELTA Function

Function Description

The Excel Gestep function tests whether a supplied number is greater than a supplied step size and returns:

or

The syntax of the function is:

GESTEP( number, [step] )

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.


Gestep Function Examples

The spreadsheets below show four examples of the Excel Gestep function.

 Formulas:
  A
1 =GESTEP( 1.2, 0.001 )
2 =GESTEP( 0.05, 0.05 )
3 =GESTEP( -0.00001, 0 )
4 =GESTEP( -0.00001 )
 Results:
  A
1 1
2 1
3 0
4 0

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.


Excel Gestep Function Error

If you get an error from the Excel Gestep function this is likely to be the #VALUE! error:

Common Error
#VALUE! - Occurs if one or both of the supplied arguments are non-numeric.