无涯教程-JavaScript - MINA函数

69 阅读1分钟

描述

MINA函数返回参数列表中的最小值。

语法

MINA (value1, [value2] ...)

争论

Argument 描述 Required/Optional
Value1, value2, ... 1 to 255 values for which you want to find the smallest value. Value1 is required, subsequent values are optional.

Notes

  • 争论 can be the following −

    • 数字

    • 包含数字的名称,数组或引用

    • 数字的文本表示形式

    • 参考中的
    • 逻辑值,如TRUE和FALSE

  • 如果参数是数组或引用,则仅使用该数组或引用中的值。数组或引用中的空单元格和文本值将被忽略。

  • 争论 that contain TRUE evaluate as 1. 争论 that contain text or FALSE evaluate as 0 (zero).

  • 争论 that are error values or text that cannot be translated into numbers cause errors.

  • 如果参数不包含任何值,则MINA返回0。

  • If you do not want to include logical values and 数字的文字表示 in a reference as part of the calculation, use the MIN function.

  • 如果直接提供给Mina函数的任何值都是非数字的,则MINA返回#VALUE!错误。

适用性

Excel 2007,Excel 2010,Excel 2013,Excel 2016

Example

Mina Function

参考链接

www.learnfk.com/javascript/…