다음을 통해 공유


WorksheetFunction.GeStep Method (Excel)

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

.GeStep(Arg1, Arg2)

A variable that represents a WorksheetFunction object.

Parameters

Name

Required/Optional

Data Type

Description

Arg1

필수

Variant

Number - the value to test against step.

Arg2

선택

Variant

Step - the threshold value. If you omit a value for step, GESTEP uses zero.

Return Value

Double

Remarks

If any argument is nonnumeric, GESTEP returns the #VALUE! error value.

참고 항목

개념

WorksheetFunction Object Members

WorksheetFunction Object