MIN 函数

应用对象
SharePoint Server 2019 SharePoint Server 2016 SharePoint Server 2013 SharePoint Server 2013 企业版 SharePoint Foundation 2010 SharePoint Server 2010 Windows SharePoint Services 3.0

返回一组值中的最小值。

语法

MIN (number1,number2,...)

number1, number2,... 是 1 到 30 个数字,需要为其查找最小值。

备注

  • 可以指定为数字、空、逻辑值或数字的文本表示形式的参数。 如果参数为错误值或为不能转换为数字的文本,将会导致错误。
  • 如果参数是列引用,则仅使用数字。 如果逻辑值和文本不能忽略,请改用 MINA。
  • 如果参数不包含任何数字,则 MIN 返回 0。

示例

col1 col2 col3 col4 col5 公式 说明 (结果)
10 7 9 27 2 =MIN ([Col1],[Col2],[Col3],[Col4],[Col5]) 最小的数字 (2)
10 7 9 27 2 =MIN ([Col1],[Col2],[Col3],[Col4],[Col5],0) 最小的数字,0 (0)