无涯教程-JavaScript - PERCENTRANK.INC函数

87 阅读1分钟

描述

PERCENTRANK.INC函数返回数据集中的值的排名,作为数据集的百分比(包括0..1)。此功能可用于判断数据集中值的相对位置。

语法

PERCENTRANK.INC (array,x,[significance])

争论

Argument 描述 Required/Optional
Array The array or range of data with numeric values that defines relative standing. Required
X The value for which you want to know the rank. Required
Significance A value that identifies the number of significant digits for the returned percentage value. If omitted, PERCENTRANK.INC uses three digits (0.xxx). Optional

Notes

  • 如果x与数组中的值之一不匹配,则PERCENTRANK.INC进行插值以返回正确的百分比等级。

  • 如果数组为空,则PERCENTRANK.INC返回#NUM!。错误值。

  • If significance < 1, PERCENTRANK.INC returns the #NUM! error value.

  • 如果提供的x小于或小于提供的数组中的最大值,则PERCENTRANK.INC返回错误值#N/A。

适用性

Excel 2010,Excel 2013,Excel 2016

Example

PercentRank.Inc Function

参考链接

www.learnfk.com/javascript/…