描述
GESTEP函数返回-
- 1 if number ≥ step
- 0 (zero) if number < step
您可以使用此功能来过滤一组值。如,通过汇总几个GESTEP函数,可以计算出超过阈值的值的数量。
语法
GESTEP (number, [step])
争论
| Argument | 描述 | Required/Optional |
|---|---|---|
| number | The value to test against step. | Required |
| step |
阈值。 如果省略step的值,则GESTEP使用零。 |
Optional |
Notes
- 如果数字为非数字,则GESTEP返回#VALUE!错误值。
- 如果step是非数字值,则GESTEP返回#VALUE!错误值。
适用性
Excel 2007,Excel 2010,Excel 2013,Excel 2016
Example